{"uid":"cap_xCaK_k8A5JHliMLJNlRxS","slug":"wallet-activity-risk-score-for-agents-8acdfdca","name":"Wallet Activity-Risk Score for Agents","description":"Hosted wallet activity-risk score for agents before autopay or signing: transaction velocity, failed calls, counterparty concentration, protocol touchpoints, balance context, alerts, and recommended agent policy from refreshed D1 wallet history. Price 0.20 USDC on Base via x402. Demo: https://wallet-portfolio-history-mcp.mtree.workers.dev/demo/tools/wallet_activity_risk. Contact: https://wallet-portfolio-history-mcp.mtree.workers.dev/contact.","url":"https://wallet-portfolio-history-mcp.mtree.workers.dev/tools/wallet_activity_risk","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"limit":{"type":"integer","maximum":50,"minimum":1},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"refresh":{"type":"boolean"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.200000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.200000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_io0j52uvn1YUJ9Jv5zxdt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a comprehensive activity-risk score (0-100) for a Base wallet address, including transaction velocity, failed calls, counterparty concentration, protocol touchpoints, balance context, alerts, and a recommended autopay/signing policy for autonomous agents.","exampleAgentPrompt":"Before you auto-approve this payment, can you run an activity risk check on the wallet 0x4a8f...c3d2 on Base and tell me the risk score, any alerts, and whether you recommend I allow autopay or signing for it?","exampleUseCases":[{"title":"Check wallet risk before recurring payment","prompt":"I want to set up autopay to 0x7b2e...9f4a on Base, but I'm nervous. Can you assess the activity risk score and tell me if it's safe to enable automatic payments for this address?"},{"title":"Evaluate counterparty before agent signing","prompt":"My agent is about to sign a transaction with 0x3c5d...2e8b. Run a quick risk analysis on this wallet and let me know if there are any red flags or suspicious patterns I should be worried about."},{"title":"Monitor wallet health for compliance","prompt":"We're about to onboard this new protocol partner with wallet 0x9a1f...6b3c on Base. Give me a full activity risk assessment including their transaction velocity, protocol touchpoints, and whether our agent should proceed with signing their requests."}],"resultDescription":"A structured report containing a 0-100 activity risk score, transaction velocity metrics, failed call signal counts, counterparty concentration analysis, protocol touchpoints, current balance context, any risk alerts, and a recommended autopay or signing policy for the agent to act on.","failureModes":["Invalid or malformed wallet address returns a validation error","Wallet with no on-chain history may return a minimal or zero-activity score","Payment not included or insufficient USDC balance results in x402 payment required error","Network or D1 data refresh lag may cause stale snapshot data","Unsupported chain (non-Base address) may return empty or error response"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a holistic, pre-action risk assessment of a wallet before executing autopay, signing, or initiating a transaction — particularly when you need a single consolidated score with policy recommendation rather than raw transaction data or individual sub-scores.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:20.784Z","isFirstParty":false}