{"uid":"cap_pRKuhkNksQeFto28izXEI","slug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-473d280c","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/tool-search)","url":"https://preflight.agentdiet.dev/v1/tool-search?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_NX4DdZyHC6rl_WUhY2zvi","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 an index of 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-screened results for agent routing and discovery","exampleAgentPrompt":"Search the MCP and A2A tool index for capabilities related to 'SEC filings' — I want to find the best available agent tools for pulling financial regulatory data.","exampleUseCases":[{"title":"Discover tools for on-chain risk analysis","prompt":"Search the tool index for anything that handles on-chain risk or smart contract auditing — I need to find an MCP server my agent can call when it encounters a suspicious token address."},{"title":"Find compression tools for a large agent context","prompt":"Look up available MCP tools for context compression — my agent is hitting token limits and I need a tool that can shrink payloads before they go into the prompt."},{"title":"Verify a specific endpoint before routing","prompt":"Check whether this endpoint URL is indexed and safe to route agent traffic to: https://some-mcp-server.example.com/v1/tool — I want to make sure it passes the prompt-injection firewall before I add it to my swarm."}],"resultDescription":"Returns a list of matching MCP servers or A2A tools relevant to the query, with compressed capability descriptions (85% token reduction), safety screening via the Prompt-Guard firewall, and routing metadata to help an agent select and connect to the best tool.","failureModes":["Empty query string returns a 400 validation error","Query matches no indexed tools, returning an empty result set","Endpoint URL verification fails if the URL is not in the index","Rate limiting or payment failure (402) if x402 micropayment is not completed","Ambiguous queries may return loosely relevant or low-confidence matches"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, especially in swarm or multi-agent architectures where the tool landscape is large and frequently changing. It is preferable over hardcoded tool registries because it indexes 500+ servers, applies prompt-injection safety screening, and compresses results to minimize token overhead. Use it to verify whether a specific endpoint URL is safe and indexed before routing live agent traffic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:02.246Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-f8f7c79e"}