{"uid":"cap_b3F2WYMYofF1h1HgfBqZz","slug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-6debe63f","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/swarm-router)","url":"https://preflight.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz","method":"GET","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_EImoKyffh7HfK8ZK9Djaz","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 across 500+ indexed MCP servers and A2A tools using a natural-language capability query, returning compressed, firewall-filtered matching endpoints in a single connection.","exampleAgentPrompt":"Search the swarm router for MCP servers that can handle SEC filings or financial document retrieval — I need to find the best available tool for that capability.","exampleUseCases":[{"title":"Discovering a context compression tool","prompt":"Find me an MCP server that can compress long web pages or documents into compact tokens — something that reduces context size by a lot before I send it to my LLM."},{"title":"Routing to a GitHub security audit agent","prompt":"Search your tool index for any A2A agents or MCP servers that can audit GitHub repositories for security vulnerabilities — I need the best match available."},{"title":"Verifying a known endpoint before calling it","prompt":"Can you check if this endpoint URL https://some-mcp-tool.example.com/v1/query is a known, safe, and indexed MCP server before I have my agent call it?"}],"resultDescription":"Returns a compressed, firewall-filtered list of matching MCP servers or A2A tools ranked by relevance to the query, with metadata about each tool's capabilities, endpoint URLs, and safety status. The response uses 85% token compression to minimize LLM context consumption.","failureModes":["Empty query string returns 400 validation error","No matching tools found for obscure capability queries returns empty result set","Endpoint URL verification fails if URL is not in the index","Rate limiting or payment failure (x402) blocks the request","Prompt-Guard firewall may flag and reject queries containing injection-like patterns"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool is best suited for a given capability at runtime, especially in multi-agent swarm architectures where the right downstream tool isn't known in advance. Ideal when you want a single connection point that aggregates 500+ tools rather than maintaining individual integrations. Also useful for verifying whether a specific endpoint URL is indexed and safe before calling it.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:20.750Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-f8f7c79e"}