{"uid":"cap_IZhCkfASe9qcXrAIYBnzb","slug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-8a0e498b","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/x402-gateway)","url":"https://preflight.agentdiet.dev/v1/x402-gateway?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_h9EtGfIBQffx0N_1gWP0p","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, returning token-compressed results filtered through a Prompt-Guard firewall for safe, efficient agent tool discovery.","exampleAgentPrompt":"Search the agentdiet meta-router for MCP servers or A2A tools that handle 'SEC filings' — I want to find the best available tool and get a compact summary of what it does.","exampleUseCases":[{"title":"Discover tools for on-chain risk analysis","prompt":"I need to find an MCP server or A2A tool in the agentdiet index that can assess on-chain risk for a crypto wallet — search for 'on-chain risk' and show me what's available."},{"title":"Route a swarm agent to a GitHub auditing tool","prompt":"My coding agent needs a tool for GitHub dependency and license security audits — can you search the meta-router for 'github security' and tell me which MCP server to route it to?"},{"title":"Find a context compression capability","prompt":"Search the agentdiet tool index for 'context compression' — I want to know which indexed MCP servers or A2A tools can shrink my prompt tokens before sending to a downstream model."}],"resultDescription":"Returns a token-compressed list of matching MCP servers and A2A tools from the 500+ item index, including tool names, capability descriptions, and routing metadata. All results pass through a Prompt-Guard firewall to filter hidden injections. Compression targets 85% token reduction versus raw tool manifests.","failureModes":["Empty query string returns validation error (minLength:1 violated)","Query matches no indexed tools — returns empty result set","Firewall flags a suspicious query pattern and blocks the request","Upstream MCP servers unreachable — partial or degraded results","Payment not confirmed via x402 — 402 response blocking access","Rate limiting or idempotency collision on repeated Idempotency-Key reuse"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to discover which of 500+ MCP servers or A2A tools is best suited for a given capability, rather than hard-coding tool URLs. Especially useful in multi-agent swarm setups where routing decisions must be made dynamically. The built-in Prompt-Guard firewall makes it safer than querying external tool registries directly. Prefer over manual tool catalogs or raw MCP marketplace searches when token efficiency and security screening matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:17:17.155Z","isFirstParty":false,"canonicalSlug":"preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-f8f7c79e"}