# 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 token-intel.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-22).

Searches a meta-index of 500+ MCP servers and A2A agent tools by capability query, returning compressed, firewall-screened results for routing agent swarms to the right tool.

## Facts

- Endpoint: GET https://token-intel.agentdiet.dev/v1/workflows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Provider: token-intel.agentdiet.dev
- Website: https://token-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/token-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-4de1292d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W0cSa7c6gzMTXoTUa43KR

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 token-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-4de1292d
```

Example prompt: Search the MCP tool index for agents that handle SEC filings and company enrichment — I need to route my swarm to the right tool and want the result compressed to save tokens.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool handles a given capability, especially within a multi-agent swarm where routing decisions must be made at runtime. Prefer it over hardcoding tool URLs when the ecosystem is large or changing, or when token budget is tight and compressed metadata is needed. Also useful for validating whether a specific MCP endpoint URL is real and compliant.

## Known failure modes

- Empty query string returns validation error (minLength:1 not met)
- No matching tools found for obscure or misspelled capability query
- Endpoint URL verification fails if the target URL is unreachable or malformed
- Rate limiting or payment failure via x402 if USDC balance is insufficient
- Stale index data if a listed MCP server has gone offline since last index update

## 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://token-intel.agentdiet.dev/v1/workflows)

## Output

A compressed list of matching MCP servers and A2A tools relevant to the query, with metadata about each tool's capabilities, filtered through the Prompt-Guard firewall and delivered at up to 85% token compression compared to raw listings.

## 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/token-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-4de1292d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-intel.agentdiet.dev](https://www.zero.xyz/host/token-intel.agentdiet.dev/llms.txt)
