{"uid":"cap_O-bGzCVmnEaU18HmQ-gh1","slug":"wallet-allowance-policy-analyzer-1212e80b","name":"Wallet Allowance Policy Analyzer","description":"Hosted wallet allowance policy for autonomous agents: token allowance risk, approval exposure, curated spender watchlist, revoke/cap guidance, and autopay spend-control policy from fresh D1 wallet snapshots plus live allowance reads. Price 0.25 USDC on Base via x402. Demo: https://wallet-portfolio-history-mcp.mtree.workers.dev/demo/tools/wallet_allowance_policy. Contact: https://wallet-portfolio-history-mcp.mtree.workers.dev/contact.","url":"https://wallet-portfolio-history-mcp.mtree.workers.dev/tools/wallet_allowance_policy","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.250000","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.250000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9TW8U8SliVOIYVVsRQBm4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes token allowance risk and approval exposure for a wallet, providing revoke/cap guidance and autopay spend-control policy from live allowance reads and D1 snapshots","exampleAgentPrompt":"Can you audit the token allowance risk for wallet 0xABC...123 on Base — I want to know which spenders have dangerous approval exposure, whether any should be revoked or capped, and what autopay spend-control policy you'd recommend for it?","exampleUseCases":[{"title":"Audit risky DeFi token approvals","prompt":"Can you run a full token allowance audit on my wallet 0xDEF...456 on Base? I want to see which DeFi contracts have approval to my tokens, flag any unlimited or dangerous approvals, and tell me which ones I should revoke immediately."},{"title":"Set up agent wallet spend controls","prompt":"I'm onboarding wallet 0x789...ABC into an autonomous agent commerce workflow on Base — can you pull the current allowance exposure, give me a curated watchlist of risky spenders, and recommend an autopay spend-control policy I can enforce going forward?"},{"title":"Check wallet approval hygiene before DeFi","prompt":"Before I start using this wallet 0x321...FED for DeFi on Base, can you audit its token approval hygiene — which contracts currently have access to my tokens, are any approvals dangerously high, and what caps or revokes would you recommend to reduce my exposure?"}],"resultDescription":"Returns a structured allowance policy report including token-by-token approval exposure, risk scores, a curated spender watchlist with risk flags, specific revoke and cap recommendations, and an autopay spend-control policy derived from fresh D1 wallet snapshots and live on-chain allowance reads","failureModes":["Invalid or non-existent wallet address returns error","Wallet with no token approvals may return empty allowance list","Network errors or D1 snapshot staleness may affect freshness of data","Rate limiting or payment failure (x402) may block the request","Non-Base EVM addresses may not be supported"],"whenToPreferThis":"Use this endpoint when you need a comprehensive token allowance risk audit for a Base wallet — specifically when you need curated spender watchlist data, revoke/cap guidance, and autopay spend-control policy in a single call. Prefer this over generic approval checkers when operating an autonomous agent that needs to enforce spend controls or when onboarding a wallet into an agent commerce workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:30:43.500Z","isFirstParty":false}