# 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-21).

Searches a meta-index of 500+ MCP servers and A2A tools by capability query, routing requests through a token-compressed, prompt-guarded proxy

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- 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-9510c871
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mhHlxGfth64VASIoIVcP8

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-9510c871
```

Example prompt: Search the swarm router for any MCP servers or A2A tools that handle SEC filings or company enrichment — I want to find the best available tool to look up financial disclosures for a public company.

## When to prefer this

Choose this endpoint when you need to discover which of 500+ MCP servers or A2A tools can handle a specific capability without knowing the exact endpoint URL in advance, or when you want a single authenticated proxy connection instead of managing individual tool connections. Particularly useful for agents that need to dynamically route tasks to the best available tool, compress token usage via the built-in 85% compression layer, or verify that a remote MCP/A2A endpoint meets compliance standards.

## Known failure modes

- Query string too short or vague — no meaningful matches returned
- Specified endpoint URL is unreachable or not in index — returns empty or error
- Payment not processed (HTTP 402) — request blocked until x402 micropayment is completed
- Swarm index temporarily unavailable — service degradation on upstream MCP servers
- Query triggers prompt-guard firewall — request blocked as potentially adversarial

## 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/swarm-router)

## Output

Returns a structured list of matching MCP servers and A2A tools from the 500+ indexed endpoints, with token-compressed metadata about each tool's capabilities, along with prompt-guard firewall filtering applied to the results. For URL verification queries, returns compliance and reachability status of the specified endpoint.

## 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-9510c871/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)
