{"uid":"cap_lvebbhfFcCpWQpBrsjrsP","slug":"onchain-risk-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-9ef0ca81","name":"Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router","description":"Single-connection meta-router indexing 500+ MCP servers & A2A tools with 85% token compression and Prompt-Guard firewall. (Live x402 v2, IETF MPP & MCP endpoint at https://onchain-risk.agentdiet.dev/v1/agent-router)","url":"https://onchain-risk.agentdiet.dev/v1/agent-router?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","minLength":1,"description":"Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USD","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":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hfjs9tquerY3CwX_6Hh9h","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"onchain-risk.agentdiet.dev","brandSlug":"onchain-risk-agentdiet-dev-mpp","brandBaseUrl":"https://onchain-risk.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches an index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed results and prompt-injection firewall protection.","exampleAgentPrompt":"Search the agent router for MCP servers or A2A tools that handle 'SEC filings' and tell me which ones are available — I want to route my agent to the right endpoint.","exampleUseCases":[{"title":"Discovering MCP tools for GitHub auditing","prompt":"Can you search the meta-router for any MCP servers or A2A tools that do GitHub security auditing? I want to wire my agent up to the right one."},{"title":"Routing swarm agent to enrichment tool","prompt":"My swarm agent needs a company enrichment or B2B lead data capability — search the agent router index for something that fits and return the best matching tool."},{"title":"Finding a prompt injection firewall tool","prompt":"Look through the 500+ indexed MCP servers for any tools that do prompt injection detection or jailbreak firewall — I need my agent to be able to screen untrusted inputs."}],"resultDescription":"Returns a compressed list of matching MCP servers and A2A tool endpoints relevant to the query, with up to 85% token compression, filtered through a Prompt-Guard firewall to prevent injection attacks. The response is a JSON object containing matched tools, their capabilities, and routing metadata.","failureModes":["Empty or vague query string returns no relevant matches","Queried endpoint URL is unreachable or not indexed","Prompt-Guard firewall blocks a query it misidentifies as malicious","Token budget exhausted due to large result sets without compression","HTTP 402 payment required if x402 payment not included","Idempotency key collision causes unexpected deduplication"],"whenToPreferThis":"Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool supports a specific capability without hardcoding individual endpoints. Ideal for swarm architectures, meta-orchestrators, or any agent that needs to route tasks to specialized tools at runtime. Prefer this over manually querying individual MCP servers when the target capability is unknown upfront or when token efficiency matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:35:01.221Z","isFirstParty":false,"canonicalSlug":"onchain-risk-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0c8aadb4"}