{"uid":"cap_Y4TVIkCYkU0j-Ve4wkMoq","slug":"polymarket-odds-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-57f1f0c4","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://polymarket-odds.agentdiet.dev/v1/workflows/rag-context-sanitizer)","url":"https://polymarket-odds.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_p7tDzwPfpWSTAI9qhNpo9","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"polymarket-odds.agentdiet.dev","brandSlug":"polymarket-odds-agentdiet-dev-mpp","brandBaseUrl":"https://polymarket-odds.agentdiet.dev","brandDocsUrl":null,"whatItDoes":"Searches 500+ indexed MCP servers and A2A tools by capability query, returning compressed, prompt-guard-filtered results for agent tool discovery and routing","exampleAgentPrompt":"Search the MCP tool index for any servers or A2A agents that can handle SEC filings or company enrichment — I need to find what's available and get back compressed, safe-to-use context.","exampleUseCases":[{"title":"Discovering GitHub security audit tools","prompt":"Find me any MCP servers or A2A tools in the index that can do GitHub security audits or code scanning — I want to know what's available and get a compressed summary I can use right away."},{"title":"Routing to context compression capability","prompt":"Search the tool discovery index for anything that supports context compression or token reduction — I'm trying to reduce prompt size before sending to my LLM."},{"title":"Verifying a remote agent endpoint","prompt":"Can you check whether this agent URL is listed and verified in your MCP index: https://some-agent.example.com/v1/tools — I need to know if it's a known, safe endpoint."}],"resultDescription":"Returns a compressed, prompt-guard-filtered object containing matching MCP server and A2A tool records relevant to the query, with 85% token compression applied to reduce downstream LLM cost. Results may include tool names, capability descriptions, endpoint URLs, and safety verdicts.","failureModes":["Empty query string returns validation error (query minLength:1 required)","Query matches no indexed tools — returns empty result set","Endpoint URL verification fails if URL not in index","Payment not completed (HTTP 402) blocks response","Prompt-Guard firewall may reject queries containing injection-like patterns","Response schema is generic object — field names may vary or be undocumented"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability without hardcoding tool lists. It is especially useful when you want compressed, safe output (token-efficient, prompt-injection-filtered) for downstream LLM consumption. Prefer it over manual tool registries when working within a swarm or multi-agent architecture that needs real-time tool routing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:24:21.845Z","isFirstParty":false,"canonicalSlug":"polymarket-odds-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-57f1f0c4"}