{"uid":"cap_dQRTKS4eMUs3yONuiEPte","slug":"agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-router-4c8d2a00","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://agentdiet.dev/v1/workflows/rag-context-sanitizer)","url":"https://agentdiet.dev/v1/workflows/rag-context-sanitizer?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_BbK9KjiNTTH-nnWn3EPIp","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agentdiet.dev","brandSlug":"agentdiet-dev-mpp","brandBaseUrl":"https://agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches an index of 500+ MCP servers and A2A tools by capability query, returning relevant endpoints with token-compressed context via a prompt-injection firewall proxy.","exampleAgentPrompt":"Search the MCP and A2A tool index for capability 'github security audit' and show me the best available endpoints I can route to.","exampleUseCases":[{"title":"Discovering tools for SEC filings","prompt":"I need to find MCP servers or A2A tools that can pull SEC filings for a given company — search the tool index for 'sec filings' and tell me what's available."},{"title":"Routing agent to context compression tool","prompt":"My agent pipeline is running out of context window — search the tool directory for 'context compression' and find me an MCP endpoint I can plug in."},{"title":"Verifying an MCP endpoint URL","prompt":"Can you check whether this URL is a valid, compliant MCP endpoint? Verify https://example.com/mcp-server against the tool registry and tell me what it supports."}],"resultDescription":"Returns a structured object listing matching MCP servers or A2A tools relevant to the capability query, including endpoint metadata, token-compressed context about each tool, and prompt-firewall-filtered results to guard against injection attacks.","failureModes":["Empty or too-vague query returns no matching tools","Endpoint URL verification fails if the target is offline or non-compliant","Token compression artifacts may reduce result fidelity for niche queries","Index may not reflect newly registered MCP servers in real time","Payment failure (x402) blocks access before query is processed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hard-coding tool URLs. It is especially useful when building swarm-style multi-agent systems that need safe, compressed, firewall-protected routing across a large tool ecosystem. Prefer it over manual tool registries when you want prompt-injection protection and token efficiency built in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:23:43.421Z","isFirstParty":false,"canonicalSlug":"agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-router-3ece579a"}