# Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router

> Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router is a paid API for AI agents from polymarket-odds.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-23).

Searches and routes queries across 500+ indexed MCP servers and A2A tools through a single meta-gateway with prompt-injection firewall and token compression

## Facts

- Endpoint: POST https://polymarket-odds.agentdiet.dev/v1/universal-mcp-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: polymarket-odds.agentdiet.dev
- Website: https://polymarket-odds.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/polymarket-odds-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-c560314e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SoDOJFvZsmbq5SMvj-G60

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polymarket-odds-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-c560314e -d '<json body>'
```

Example prompt: Search the universal MCP gateway for tools that can do SEC filings or company enrichment — find me the best matching servers from the index.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover and route to one of hundreds of MCP or A2A tools without maintaining individual connections to each, especially when prompt-injection safety and token efficiency are priorities. It is ideal for swarm architectures or meta-agents that need to delegate subtasks to specialized tools at runtime.

## Known failure modes

- Empty query string returns validation error
- No matching tools found for niche or misspelled query
- Prompt-Guard firewall blocks potentially injected content in tool responses
- Upstream MCP server unreachable causing partial results
- Payment failure via x402 if USDC balance is insufficient

## How this service works

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/universal-mcp-gateway)

## Output

A filtered list of matching MCP servers or A2A tools from the 500+ item index, with relevant endpoint metadata and token-compressed responses passed through the Prompt-Guard firewall to prevent prompt injection.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-odds-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-c560314e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from polymarket-odds.agentdiet.dev](https://www.zero.xyz/host/polymarket-odds.agentdiet.dev/llms.txt)
