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

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

## Facts

- Endpoint: POST https://token-intel.agentdiet.dev/v1/web-rag-shield-dag?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-26
- 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-217886fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LL1PUjJXEKMrXJ54W1Bo1

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-217886fe -d '<json body>'
```

Example prompt: Search the MCP and A2A tool index for anything that can do 'context compression' or 'GitHub security audits' — I want to find the right tool to route my next agent call through.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hardcoding a specific tool. Ideal for swarm orchestration, tool routing, and safely proxying through an unknown or untrusted MCP endpoint. The built-in Prompt-Guard firewall makes it preferable when prompt injection risk is a concern.

## Known failure modes

- No matching tools found for the query — returns empty result set
- Query string too vague or short — may return irrelevant or low-confidence matches
- Endpoint URL provided for verification is not indexed — returns not-found status
- Prompt injection detected by Prompt-Guard — request blocked with firewall rejection
- Payment failure (x402) if USDC balance insufficient — returns 402 Payment Required
- Upstream MCP server unavailable — routing failure with error details

## 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/web-rag-shield-dag)

## Output

Returns a list of matching MCP servers or A2A tools relevant to the query, with compressed metadata about each tool's capabilities, along with safety/firewall status and routing information. Response is token-compressed by up to 85%.

## 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-217886fe/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)
