{"uid":"cap_FvORX6qhuCZHhRhyg2aa_","slug":"agentdiet-mcp-gateway-ai-context-window-distiller-161fc7f4","name":"AgentDiet MCP Gateway — AI Context Window Distiller","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/v1/mcp-gateway?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_f2nvurRx-NHAYKetV-RzT","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":"Compresses and distills AI agent context windows, reducing token usage by up to 91% via a paid MCP-compatible gateway endpoint","exampleAgentPrompt":"Can you run my current context window through AgentDiet's MCP gateway to compress it — I want to see the compression ratio and get the de-bloated version back before I send it to the LLM?","exampleUseCases":[{"title":"Reduce LLM inference cost for long sessions","prompt":"My chat history is getting really long and I'm burning tokens. Can you send the current context through AgentDiet to compress it down before passing it to the model — I want to see how much it shrinks it?"},{"title":"Optimize context before A2A agent handoff","prompt":"Before handing off to the next agent in my pipeline, compress the accumulated context using AgentDiet's distiller so the receiving agent doesn't blow its token budget."},{"title":"Check compression ROI on a large payload","prompt":"I've got a big system prompt and conversation history — can you run it through AgentDiet and tell me the compression ratio I get back so I know if it's worth using in production?"}],"resultDescription":"Returns a JSON object with a 'status' field ('ok'), a 'data' object containing the compressed/distilled context, and an 'roi_proof' object that includes the compression_ratio_pct (e.g. 91.4) showing how much the context was reduced.","failureModes":["Missing required 'input' field or 'type'/'method' sub-fields returns a validation error","Payment not settled in USDC on Base results in 402 Payment Required before content is returned","Passing an unsupported HTTP method (not GET or POST) in the method enum causes rejection","Empty or malformed query content may return a low compression ratio or empty data object","Network or node unavailability at status.agentdiet.dev results in a timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline is accumulating large context windows and you need to reduce token count before an LLM inference call. It is especially useful in long-running agentic sessions, A2A handoffs, or MCP tool chains where context bloat is a cost and latency concern. It suits workflows that can tolerate a $0.01 USDC micropayment per compression call settled on Base, and where a deterministic, measurable compression ratio (with ROI proof) is valuable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:55.792Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-gateway-ai-context-window-distiller-161fc7f4"}