# 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 and routes to 500+ MCP servers and A2A tools via a single connection, with token-compressed responses and a Prompt-Guard firewall.

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/agent-tool-marketplace?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-1effea7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zd0MeH2icM-NpI8senE0K

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-1effea7b
```

Example prompt: Search the MCP and A2A tool marketplace for capabilities related to 'company enrichment' and show me what tools are available.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which external MCP servers or A2A tools are available for a given capability, rather than hardcoding tool URLs. It is especially useful for swarm orchestrators that need a single integration point to access 500+ tools, want token-efficient tool metadata, or require prompt injection protection via a built-in firewall.

## Known failure modes

- Missing or empty 'query' parameter returns a validation error
- Query matches no indexed tools, returning an empty result set
- Downstream MCP server or A2A tool is unreachable, causing partial results
- Payment (x402) not completed results in HTTP 402 response
- Firewall (Prompt-Guard) blocks a query it flags as unsafe

## 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/agent-tool-marketplace)

## Output

Returns a list of matching MCP servers and A2A agent tools relevant to the query, with token-compressed metadata (85% compression claimed), including endpoint URLs, capability descriptions, and routing information filtered through a Prompt-Guard firewall.

## 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-1effea7b/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)
