{"uid":"cap_ZItBahusBeWq2hTwmt8o5","slug":"agentdiet-proxy-upgrade-risk-checker-f922dbd4","name":"AgentDiet Proxy Upgrade Risk Checker","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/proxy-upgrade-risk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"address":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g1a9JvqVx6Cm0FybhoQPh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the upgrade risk of a proxy contract address, returning a risk assessment and compression proof for agent context efficiency.","exampleAgentPrompt":"Can you check the proxy upgrade risk for the contract at address 0x1234...abcd and tell me if it's safe to upgrade?","exampleUseCases":[{"title":"Pre-upgrade smart contract safety check","prompt":"Before I upgrade this proxy contract at 0xAbCd1234...5678 on Base, can you check the upgrade risk and let me know if there are any red flags?"},{"title":"DeFi protocol governance due diligence","prompt":"I need to vote on a governance proposal to upgrade the proxy contract 0xDeFi...9999 — can you pull the proxy upgrade risk assessment so I know what I'm approving?"},{"title":"Automated contract monitoring pipeline","prompt":"Run a proxy upgrade risk check on address 0xDead...Beef and give me the risk score so my agent can decide whether to proceed with the upgrade automatically."}],"resultDescription":"Returns a JSON object with a status field, a data payload containing risk assessment details for the queried proxy contract address, and an roi_proof object including a compression_ratio_pct indicating how efficiently the context was compressed (e.g. 91.4% compression ratio).","failureModes":["Missing or invalid 'address' query parameter returns an error or empty data","Invalid contract address format causes a failed lookup","Network or RPC issues on Base may cause upstream failures","Payment not settled in USDC results in 402 Payment Required response","Non-proxy contract addresses may return no meaningful risk data"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic risk assessment for a specific proxy contract upgrade on Base/Ethereum, especially in agentic workflows where context compression (token efficiency) matters. Prefer this over manual contract audits when you need a quick automated risk signal before proceeding with an upgrade decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:19.442Z","isFirstParty":false,"canonicalSlug":"agentdiet-proxy-upgrade-risk-checker-f922dbd4"}