{"uid":"cap_dNXxfEyPMjtLVcac9PMhH","slug":"agentdiet-context-bloat-eliminator-e1022fe9","name":"AgentDiet Context Bloat Eliminator","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/context-bloat-eliminator?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":{"url":{"type":"string"},"mode":{"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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kVLt_tcmaPvdIepzFyiHM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses and strips unnecessary context/bloat from a given URL's content, returning a compact data payload with a compression ratio proof.","exampleAgentPrompt":"Can you run the context bloat eliminator on https://example.com/some-long-article using GET mode so I get a compressed, bloat-free version of its content?","exampleUseCases":[{"title":"Reduce token cost for long pages","prompt":"I need to fetch https://docs.example.com/api-reference and strip all the bloat before sending it to my LLM — can you compress it with the context bloat eliminator using GET mode?"},{"title":"Agent pipeline content trimming","prompt":"Before passing this webpage https://news.ycombinator.com/item?id=12345 into my agent's context, run it through the bloat eliminator in GET mode so we only keep the essential content."},{"title":"Verify compression savings on a URL","prompt":"Run the context bloat eliminator on https://en.wikipedia.org/wiki/Artificial_intelligence via GET and tell me what compression ratio we get back."}],"resultDescription":"A JSON object containing a 'data' field with the compressed content, a 'status' field ('ok' on success), and a 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%).","failureModes":["Invalid or unreachable URL returns an error status","Missing required 'input' object returns a 400-level validation error","Unsupported HTTP method in the enum returns a schema validation error","Payment not settled in USDC on Base results in 402 payment required","Target URL returns non-200 response, resulting in failed extraction"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to fetch external web content but wants to minimize token consumption and LLM context window usage. Ideal for agentic pipelines where raw web pages are too verbose and need deterministic compression before processing. Prefer this over generic web scraping when a quantifiable compression ratio proof is needed to validate efficiency gains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:37.545Z","isFirstParty":false,"canonicalSlug":"agentdiet-context-bloat-eliminator-e1022fe9"}