{"uid":"cap_QnlnYOHkjrrDmm-wO55h9","slug":"workflows-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-af2bcfa6","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://workflows.agentdiet.dev/v1/b2a-router)","url":"https://workflows.agentdiet.dev/v1/b2a-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_eYuQgqmSxARvHnm1WXDOb","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"workflows.agentdiet.dev","brandSlug":"workflows-agentdiet-dev-mpp","brandBaseUrl":"https://workflows.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches and routes across 500+ indexed MCP servers and A2A tools via a single connection, with token compression and prompt-injection firewall protection.","exampleAgentPrompt":"Search the MCP and A2A tool index for servers that handle 'context compression' — I need to find available tools I can route my agent through for that capability.","exampleUseCases":[{"title":"Discovering SEC filing tools for finance agent","prompt":"Search the MCP tool index for servers that handle SEC filings or EDGAR data — I want to route my finance agent to the right tool automatically."},{"title":"Finding prompt firewall endpoints for swarm safety","prompt":"Look up what A2A tools are available for prompt injection detection or jailbreak firewall — I'm building a multi-agent swarm and need a safety layer."},{"title":"Routing agent to company enrichment capability","prompt":"Search for MCP servers that support company enrichment or B2B lead data so my agent can find the right endpoint to call for that task."}],"resultDescription":"Returns a list of matching MCP servers and A2A tools relevant to the query, with token-compressed metadata and Prompt-Guard safety filtering applied, enabling the calling agent to discover and route to the appropriate downstream capability.","failureModes":["Empty query string returns a validation error (query is required, minLength 1)","Query matches no indexed tools — empty result set returned","Upstream MCP server index temporarily unavailable — may return 503 or degraded results","x402 payment not fulfilled — returns HTTP 402 requiring $0.01 USDC payment","Prompt-Guard firewall blocks query containing suspected injection payload"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool supports a given capability at runtime, rather than hardcoding tool URLs. Especially useful when building swarm routers, orchestrators, or meta-agents that must select from a broad catalog of 500+ tools with minimal token overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:30:07.227Z","isFirstParty":false,"canonicalSlug":"workflows-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-9abf6654"}