{"uid":"cap_dtoPVJJI-21TsyaaIMnMK","slug":"arxiv-digest-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-fa66cbbb","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://arxiv-digest.agentdiet.dev/v1/swarm-router)","url":"https://arxiv-digest.agentdiet.dev/v1/swarm-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_nLFsUCh1EtYj_72-7Trb6","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"arxiv-digest.agentdiet.dev","brandSlug":"arxiv-digest-agentdiet-dev-mpp","brandBaseUrl":"https://arxiv-digest.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches and routes to 500+ MCP servers and A2A tools via a single connection with 85% token compression and Prompt-Guard firewall protection","exampleAgentPrompt":"Search across all available MCP servers and A2A tools to find something that can do 'company enrichment and B2B lead generation' — use the swarm router to get me a compressed list of matching tools.","exampleUseCases":[{"title":"Discover tools for SEC filings","prompt":"Search the swarm router for any MCP server or A2A tool that can pull SEC EDGAR 10-K and 10-Q filings for public companies — I need a list of available options."},{"title":"Find a GitHub security auditing agent","prompt":"Use the tool discovery router to find me which available MCP servers or A2A agents handle GitHub repository security auditing and dependency scanning."},{"title":"Route to context compression capability","prompt":"I need to reduce token usage — search the swarm router for tools that offer context compression or token pruning for my agent pipeline."}],"resultDescription":"Returns a compressed, token-efficient list of matching MCP servers or A2A tools relevant to the query, including tool metadata and routing information, filtered through a Prompt-Guard firewall to prevent prompt injection.","failureModes":["Query too vague — returns no matching tools or low-relevance results","Query contains prompt injection attempt — blocked by Prompt-Guard firewall","No MCP servers indexed for the requested capability — empty result set","Payment not completed — HTTP 402 response requiring x402 micropayment","Malformed query (empty string) — validation error from minLength:1 constraint"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which of 500+ MCP servers or A2A tools supports a given capability, rather than hardcoding tool endpoints. Ideal when building meta-agents or orchestrators that need to route tasks to the best available tool at runtime. The 85% token compression makes it efficient for agents with tight context budgets, and the Prompt-Guard firewall makes it suitable for production deployments where prompt injection is a concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T06:30:48.550Z","isFirstParty":false,"canonicalSlug":"arxiv-digest-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-0860614f"}