{"uid":"cap_RXiXjCt-jIfVPhsWooph2","slug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-1b8eb777","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://preflight.agentdiet.dev/v1/a2a-router)","url":"https://preflight.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_Ut9o1IPkzbhHQa58I91MA","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"preflight.agentdiet.dev","brandSlug":"preflight-agentdiet-dev-mpp","brandBaseUrl":"https://preflight.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-guarded results via a single connection","exampleAgentPrompt":"Search the agentdiet meta-router for MCP servers or A2A tools that handle SEC filings — I need the best match with compressed results and prompt-injection protection enabled.","exampleUseCases":[{"title":"Discover tools for GitHub security audits","prompt":"Search the tool meta-index for any MCP server or A2A agent that can audit GitHub repositories for supply-chain risks and license issues — give me the top matches."},{"title":"Route agent to context compression tool","prompt":"Find me an MCP server from the 500+ index that specializes in context compression or token pruning so I can cut down my agent's prompt size."},{"title":"Verify a specific endpoint before calling it","prompt":"Can you look up this URL in the A2A router to check whether it's a legitimate, safe MCP endpoint before I connect my agent to it: https://someagent.example.com/v1/mcp"}],"resultDescription":"Returns a compressed, prompt-guard-filtered list of matching MCP servers or A2A tools from a 500+ item index, including tool names, capabilities, endpoint URLs, and routing metadata — with up to 85% token reduction applied to the response payload.","failureModes":["Empty query string returns validation error","No matching tools found for obscure capability query returns empty results","Endpoint URL verification fails if target is unreachable","Rate limiting or payment failure if x402 micropayment is not properly handled","Firewall may block results if query itself triggers prompt-injection heuristics"],"whenToPreferThis":"Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool handles a specific capability at runtime, rather than hardcoding tool lists. Especially useful in swarm-agent architectures where the right sub-agent must be selected from a large pool, or when you want firewall protection on tool discovery to prevent prompt injection via malicious tool descriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:55:08.751Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-f8f7c79e"}