{"uid":"cap_Vegf51rWsyUcZ0uZRVMk3","slug":"agentdiet-mcp-audit-endpoint-c5d528eb","name":"AgentDiet MCP Audit Endpoint","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/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_FAM6SQvMZHWdkY8Ho1NVQ","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 retrieves compression/distillation performance metrics for the AgentDiet context-window reduction service, returning ROI proof including compression ratio statistics.","exampleAgentPrompt":"Can you audit my AgentDiet context distillation session and show me the compression ratio and ROI proof — I want to see how much token reduction I actually achieved?","exampleUseCases":[{"title":"Verify token savings after compression run","prompt":"I just ran my RAG pipeline through AgentDiet — can you pull the audit report and tell me what compression ratio I got and whether the ROI proof checks out?"},{"title":"Monitor A2A context efficiency metrics","prompt":"Check the AgentDiet audit endpoint for my current context window distillation stats — I need to know the compression percentage to decide whether to keep using it in my agent workflow."},{"title":"Validate context de-bloating before cost reporting","prompt":"I need to report on LLM token cost savings this week — can you grab the AgentDiet audit data showing the compression ratio so I can include the ROI proof in my report?"}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing audit details, and a roi_proof object that includes compression_ratio_pct (e.g. 91.4%) demonstrating the token reduction achieved by the context distillation service.","failureModes":["Missing or malformed 'input' object returns validation error","Invalid HTTP method enum value rejected","Payment not settled in USDC on Base results in 402 Payment Required","Upstream distillation node unavailable returns 5xx error","Empty query params when query is expected may return partial or empty audit data"],"whenToPreferThis":"Use this endpoint when you need to audit, verify, or retrieve compression performance metrics from the AgentDiet context distillation service — particularly to obtain ROI proof (compression_ratio_pct) after running context through the de-bloating pipeline. Prefer this over generic analytics endpoints when working within an A2A/MCP agent architecture that uses AgentDiet for token reduction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:01.368Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-audit-endpoint-c5d528eb"}