{"uid":"cap_vAub-Geip8FxCTIQtN5OK","slug":"github-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-ee6f8a69","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://github-audit.agentdiet.dev/v1/b2a-router)","url":"https://github-audit.agentdiet.dev/v1/b2a-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_R1RIah4jcyyD1taTvh_PV","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"github-audit.agentdiet.dev","brandSlug":"github-audit-agentdiet-dev-mpp","brandBaseUrl":"https://github-audit.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Meta-router that discovers, proxies, and routes queries across 500+ MCP servers and A2A tools with token compression and prompt firewall protection","exampleAgentPrompt":"Search your MCP and A2A tool index to find the best available tool for 'GitHub security auditing' — route my request through the safe-proxy and return the top matches with their capabilities.","exampleUseCases":[{"title":"Finding the right tool for SEC filings","prompt":"I need to pull SEC filings for a company — search the MCP tool index for anything that handles SEC filings or EDGAR data and tell me which tool to use."},{"title":"Swarm routing for company enrichment","prompt":"My agent swarm needs to enrich a list of B2B leads — find and route to the best available MCP server for company enrichment and contact data extraction."},{"title":"Discovering tools for on-chain risk analysis","prompt":"Search the A2A and MCP tool directory for capabilities related to smart contract security or on-chain risk — I want to know which tools are available and what they can do."}],"resultDescription":"Returns a structured response listing matching MCP servers or A2A tools relevant to the query, including their capabilities, with token-compressed output and having passed through the Prompt-Guard firewall for safety filtering.","failureModes":["No matching tools found for the given query — empty result set returned","Query string too vague or too short — minLength:1 enforced but low-signal queries may yield poor matches","Firewall rejection if query contains adversarial or injection-style content — Prompt-Guard blocks it","Upstream MCP server unavailable — proxy timeout or degraded result","Payment failure via x402 — $0.01 charge not fulfilled, request rejected","Idempotency key collision if same UUIDv4 reused across different queries"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which tool or MCP server to call for a given capability, rather than hard-coding a specific API. It is especially useful for agent swarms, orchestrators, or meta-agents that need to route tasks to the most appropriate specialized tool at runtime, while benefiting from token compression to reduce context costs and the Prompt-Guard firewall to prevent prompt injection attacks from external tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:32:33.954Z","isFirstParty":false,"canonicalSlug":"github-audit-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-b9feed5d"}