{"uid":"cap_egqZi5yXkJOFuhI1wXtPP","slug":"mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-60610141","name":"Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router (RAG Context Sanitizer)","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://mcp-compiler.agentdiet.dev/v1/workflows/rag-context-sanitizer)","url":"https://mcp-compiler.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_jLAhlAGfSy3pbuF1xmw5R","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"mcp-compiler.agentdiet.dev","brandSlug":"mcp-compiler-agentdiet-dev-mpp","brandBaseUrl":"https://mcp-compiler.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning compressed, prompt-guard-filtered results for tool discovery and endpoint verification.","exampleAgentPrompt":"Search the MCP tool index for capability 'SEC filings retrieval' and return the best matching servers with compressed context — I want to find which tools I can route that task through.","exampleUseCases":[{"title":"Discovering tools for GitHub security audits","prompt":"Search the MCP meta-router for tools that handle GitHub security auditing — I need to find which servers in the index can do that so I can route my agent there."},{"title":"Verifying an MCP endpoint URL","prompt":"Can you verify whether https://some-agent.example.com/mcp is a valid, compliant MCP or A2A endpoint by running it through the tool discovery index?"},{"title":"Finding company enrichment tools for a B2B agent","prompt":"Search the swarm router index for 'company enrichment' tools — I'm building a B2B lead pipeline and need to know which MCP servers handle that capability."}],"resultDescription":"Returns a structured object listing matching MCP servers and A2A tools for the queried capability, with 85% token-compressed context and prompt-guard-filtered metadata, or endpoint verification status if a URL was supplied.","failureModes":["Missing or empty 'query' parameter returns a validation error","Query with no matching tools returns empty result set","Unrecognized or unreachable endpoint URL returns verification failure","Service unavailability or upstream index timeout returns 5xx error","Overly broad queries may return too many low-relevance results"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to discover which MCP servers or A2A tools support a given capability without connecting to each one individually, or when verifying that a specific endpoint URL is MCP/A2A compliant. It is especially useful when token budget is constrained, thanks to 85% compression, and when prompt injection safety is a concern via the built-in Prompt-Guard firewall.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:48:48.819Z","isFirstParty":false,"canonicalSlug":"mcp-compiler-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-60610141"}