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

Searches and routes queries across 500+ indexed MCP servers and A2A tools through a single connection with token compression and prompt firewall protection

## Facts

- Endpoint: POST https://token-intel.agentdiet.dev/v1/swarm-execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-80716b43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uaOZkVbM07_WDGK49uf5H

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-80716b43 -d '<json body>'
```

Example prompt: Search the swarm router for any available MCP tools or A2A agents that can handle 'SEC filings' — find me the best matching capability and return compressed results.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which tools or MCP servers are available for a given capability, rather than calling a known endpoint directly. It is especially useful for meta-agent orchestration, swarm routing, or when the agent does not know in advance which specialized tool to use for a task. Prefer this over direct endpoint calls when breadth of tool coverage (500+ servers) and token efficiency (85% compression) matter.

## Known failure modes

- No matching tools found for the given query — empty result set returned
- Query too vague or short to match any indexed capability — minLength of 1 enforced but very short queries may return low-quality results
- Payment required (HTTP 402) if x402 micropayment header is missing or invalid
- Idempotency-Key collision — same key reused with different query may return cached prior result
- Downstream MCP server unavailable — partial results or routing failure returned

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

## Output

Returns a structured object containing matched MCP servers or A2A tools relevant to the query, with compressed tool metadata (up to 85% token reduction) and safe-proxied results 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/token-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-80716b43/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)
