# 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-11-17).

Searches and routes across 500+ indexed MCP servers and A2A tools via a single connection with token compression and prompt injection filtering.

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/mesh?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-17
- 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-ca71c67d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dtVPwWsg_-WWmOWlL7mQF

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

Example prompt: Search the MCP and A2A tool index for capabilities related to 'github security' and return the top 10 matching servers or tools I can connect to.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover and route to the right MCP server or A2A tool at runtime without maintaining its own registry. Especially useful for agent orchestrators or swarms that need to find specialized capabilities (SEC filings, GitHub audits, DeFi data, etc.) on demand with built-in safety filtering and token-efficient responses.

## Known failure modes

- Empty query string returns validation error
- Query matches no indexed tools — returns empty result set
- Cursor value is invalid or expired — returns pagination error
- Rate limit or payment failure via x402 returns 402 status
- Service temporarily unavailable if upstream MCP index is unreachable

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

## Output

A paginated list of matching MCP servers and A2A tools with metadata about their capabilities, including tool names, descriptions, and connection details. Results are filtered through a Prompt-Guard firewall and compressed to reduce token usage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

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