{"uid":"cap_iW6eNSQcrW909L84R5f2w","slug":"serp-extract-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-924a2363","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://serp-extract.agentdiet.dev/v1/a2a-router)","url":"https://serp-extract.agentdiet.dev/v1/a2a-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__jQjor3xizPKOWAnsozrB","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"serp-extract.agentdiet.dev","brandSlug":"serp-extract-agentdiet-dev-mpp","brandBaseUrl":"https://serp-extract.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Meta-router that searches 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-filtered tool discovery results for agent swarms.","exampleAgentPrompt":"Search the MCP and A2A tool index for any available tools that handle 'SEC filings' or 'company enrichment' — I need the best-matching endpoint my agent can call, with compressed metadata so I don't waste tokens.","exampleUseCases":[{"title":"Agent swarm tool routing","prompt":"I'm building an agent swarm and need to find the right MCP server for 'context compression' — can you query the A2A router index and return the top matching tools with their endpoints?"},{"title":"Capability discovery for onboarding agent","prompt":"My new AI agent needs to know what tools are available for 'GitHub security audits' — search the 500+ MCP index and give me the compressed list of matching capabilities it can use."},{"title":"Safe proxy lookup for untrusted tools","prompt":"Before my agent calls an external tool, I want to verify this endpoint URL through the A2A router's Prompt-Guard firewall — can you run 'https://some-mcp-server.example.com/tool' through the safe-proxy check?"}],"resultDescription":"Returns a compressed (up to 85% token reduction) list of matching MCP servers or A2A tool endpoints relevant to the query, including tool metadata, filtered through a Prompt-Guard firewall to block prompt injection risks. Response is a JSON object with matched tools and their routing details.","failureModes":["Empty or too-vague query returns no matches or irrelevant tools","Endpoint URL verification fails if the target is offline or malformed","Payment required (HTTP 402) if x402 credentials are missing or insufficient","Rate limiting if many queries are sent without idempotency keys","Firewall blocks legitimate tools that pattern-match prompt injection heuristics"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hard-coding tool URLs. Especially useful for agent swarms that need runtime tool routing, or when you want firewall-filtered, token-compressed tool metadata instead of raw MCP registry dumps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:30:18.895Z","isFirstParty":false,"canonicalSlug":"serp-extract-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-8d70db86"}