# 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, returning matching endpoints with token-compressed results and prompt-guard filtering.

## Facts

- Endpoint: GET 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-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-fbf3d123
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KLXmvaLw0jtpa3bdanjrZ

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-fbf3d123
```

Example prompt: Search the universal MCP gateway for tools that handle SEC filings or company enrichment — I want to find out which agent endpoints are available for that capability.

## When to prefer this

Choose this endpoint when you need to discover which MCP servers or A2A tools support a specific capability without knowing their URLs in advance, or when you want a single aggregated index across 500+ tools rather than querying each registry individually. Particularly useful for agent orchestrators building dynamic tool chains or needing safe-proxied access to external tools.

## Known failure modes

- Empty query returns validation error (query is required, minLength 1)
- No matching tools found for obscure or misspelled capability query
- Payment required (HTTP 402) if x402 micropayment not fulfilled
- Timeout if underlying MCP index is unavailable
- Generic empty object response if index returns no results

## 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

Returns a list of matching MCP servers or A2A tool endpoints from a 500+ item index, including compressed metadata about each tool's capabilities, filtered through a Prompt-Guard firewall to remove malicious or unsafe content.

## 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-fbf3d123/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)
