{"uid":"cap_ybbkL3xcnIrWmjpD_X6S-","slug":"agentdiet-mcp-audit-endpoint-5b3eff79","name":"AgentDiet MCP Audit Endpoint","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/api/mcp/audit?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":{"query":{"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_6uoQqoEj6S-WQoFIF3BsF","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":"Audits and distills AI context windows, returning compression ratio proof and de-bloated output via a paid MCP-compatible HTTP node","exampleAgentPrompt":"Run an AgentDiet audit on my current context window using a GET request and tell me the compression ratio — I want to see how bloated it is and what the ROI proof looks like.","exampleUseCases":[{"title":"Token budget audit before LLM call","prompt":"Before I send this big context to GPT-4, can you run it through AgentDiet's audit endpoint and tell me what the compression ratio is? I want to know how many tokens I'm wasting."},{"title":"MCP node health and compression check","prompt":"Check the AgentDiet MCP audit status for my node and return the ROI proof — I need to verify the context distiller is actually hitting that 85% token diet claim."},{"title":"A2A pipeline efficiency validation","prompt":"I'm building an A2A pipeline and want to make sure my context windows aren't bloated — can you hit the AgentDiet audit endpoint and show me the compression ratio and current status?"}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing audit results, and an roi_proof object showing compression_ratio_pct (e.g. 91.4%) — confirming how much the context was compressed.","failureModes":["Missing or malformed 'input' object with required 'type' and 'method' fields returns a validation error","Payment not settled in USDC on Base causes a 402 Payment Required response","Query param 'query' absent may result in empty or default audit output","Service node offline returns non-200 status with no data","Invalid HTTP method enum value (not GET or POST) causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need to audit or compress AI agent context windows before passing them downstream, especially in cost-sensitive LLM pipelines where token usage directly maps to spend. It is particularly suited for A2A, MCP, and B2A agent architectures paying via x402/L402 micro-payments in USDC on Base. Prefer it over generic summarization APIs when you need a machine-verifiable compression ratio proof (roi_proof) and deterministic, auditable de-bloating behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:35.900Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-audit-endpoint-5b3eff79"}