{"uid":"cap_qURf1izfFMkOsinazLNH1","slug":"agentdiet-mcp-gateway-b2a-router-eb292b21","name":"AgentDiet MCP Gateway B2A 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/b2a-router?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_onRRTihsNe6b_nDPvGBYB","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 31,390+ MCP servers, x402 APIs, and A2A agents, settling payments in USDC on Base via the x402/L402 protocol.","exampleAgentPrompt":"Search the AgentDiet MCP Gateway for the best tool to get current weather data — route a GET query for 'weather London' across your catalog of MCP servers and return what you find.","exampleUseCases":[{"title":"Discover and call a web scraping tool","prompt":"I need to scrape a webpage — search the AgentDiet MCP Gateway catalog for a web scraping MCP server and route my GET request with query 'scrape https://example.com' to the best match."},{"title":"Route a coding task to an agent","prompt":"Can you use the AgentDiet broker to find an A2A agent that can write a Python function to sort a list, then execute that request and give me the result?"},{"title":"Find a data enrichment API via x402","prompt":"I need to enrich a list of company names with their LinkedIn URLs — use the AgentDiet MCP Gateway to find the right tool in your catalog and route a GET query for 'company enrichment LinkedIn'."}],"resultDescription":"A JSON object with a 'status' field ('ok' on success), a 'data' object containing the routed API's response payload, and an 'roi_proof' object including a compression_ratio_pct metric indicating routing efficiency.","failureModes":["Insufficient USDC balance for payment settlement — payment rejected","No matching MCP server or API found for the query — empty or null data response","Invalid HTTP method specified — schema validation error","Payment settlement failure on Base network — transaction timeout or chain error","Malformed input object missing required 'type' or 'method' fields — 400 error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover and execute capabilities across a large, heterogeneous catalog of MCP servers, x402 APIs, and A2A agents without hardcoding individual integrations. It is best suited for agentic workflows requiring pay-per-call USDC micropayments on Base and broad tool coverage across 31,000+ endpoints in a single brokered call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:35.899Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-gateway-b2a-router-eb292b21"}