{"uid":"cap_XecxqMd4i1FKz8zZZYazk","slug":"agentdiet-x402-broker-mcp-meta-router-25126ce1","name":"AgentDiet X402-Broker MCP Meta-Router","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/x402-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_X8RXI7WkbJqnTpZPGoUAF","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":"Routes agent queries across 500+ MCP servers and A2A tools via a single connection with token compression and prompt-guard firewall","exampleAgentPrompt":"Search across all available MCP servers and A2A tools to find something that can check live stock prices — route my query through the broker and return the best matching tool's result.","exampleUseCases":[{"title":"Discovering tools for a new agent workflow","prompt":"I'm building an agent workflow and need to find which MCP tools are available that can send emails — search the broker for anything email-related and tell me what's out there."},{"title":"Single-connection proxy for multiple tool calls","prompt":"Instead of connecting to a dozen different MCP servers, can you route all my tool queries through the AgentDiet broker? I want to look up weather data, currency conversion, and web search results in one shot."},{"title":"Token-efficient swarm routing for cost savings","prompt":"I need to fan out queries to multiple A2A agents but I'm worried about token costs — use the X402-Broker to compress and route my requests so I get answers from multiple sources without burning my context window."}],"resultDescription":"Returns a JSON object with a status field, a data object containing the routed tool's response, and an roi_proof object showing the compression ratio achieved (e.g. 91.4% compression ratio).","failureModes":["Invalid query parameter returns malformed routing response","No matching MCP server found for the given query — data may be empty","Payment not received results in 402 response blocking execution","Prompt-Guard firewall blocks unsafe or adversarial queries","Backend MCP server timeout causes delayed or null data response"],"whenToPreferThis":"Choose this endpoint when you need to discover or call tools across a large ecosystem of MCP servers or A2A agents without managing individual connections. It is especially useful when token efficiency matters, when you don't know in advance which specific tool to use, or when you want a single payment-gated proxy that handles routing, compression, and safety filtering automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:08.383Z","isFirstParty":false,"canonicalSlug":"agentdiet-x402-broker-mcp-meta-router-25126ce1"}