{"uid":"cap_DiAJtJUPeFmjz0zlKCbic","slug":"agentdiet-tool-broker-a2a-context-window-distiller-41d8452d","name":"AgentDiet Tool Broker — A2A 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/tool-broker?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_yKyXiEExydNJ2cGoHrF4Q","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":"Distills and compresses AI agent context windows to reduce token usage by up to 85-91%, brokering tool calls via x402 micropayments on Base.","exampleAgentPrompt":"Run my agent context payload through AgentDiet's context distiller to compress it and cut token usage — send it as a GET request with my query and show me the compression ratio you achieved.","exampleUseCases":[{"title":"Cut LLM inference costs for long conversations","prompt":"My conversation history is getting huge and my GPT-4 API bills are exploding — can you compress the context window using AgentDiet's distiller before each LLM call and tell me what compression ratio we're getting?"},{"title":"Fit context within strict token limits","prompt":"I need to squeeze my agent's full tool-call history into a 4k token window — use AgentDiet to distill and debloat the context so it fits without losing the key information."},{"title":"Benchmark context compression ROI","prompt":"Run a sample agent context through AgentDiet's tool broker and report back the compression ratio percentage so I can decide whether it's worth integrating into my pipeline."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled/compressed context output, a 'status' field confirming success ('ok'), and a 'roi_proof' object showing the achieved compression ratio percentage (e.g. compression_ratio_pct: 91.4).","failureModes":["Missing or malformed 'input' object returns validation error","Payment failure (insufficient USDC balance on Base) results in 402 response","Invalid HTTP method enum value (not GET or POST) causes schema rejection","Empty or null query string may produce no useful compression","Service node unavailability returns non-200 status"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to reduce context window size before LLM inference calls, especially when operating under tight token limits or optimizing for inference cost reduction. Ideal for A2A pipelines, MCP-compatible agent workflows, and any system that needs deterministic context compression with verifiable ROI proof. Best suited for agents that can pay per-call via x402 micropayments in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:41.772Z","isFirstParty":false,"canonicalSlug":"agentdiet-tool-broker-a2a-context-window-distiller-41d8452d"}