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

Searches an index of 500+ MCP servers and A2A tools by capability query, returning matching endpoints with token-compressed metadata through a prompt-guard firewall.

## Facts

- Endpoint: GET https://agentdiet.dev/v1/workflows/defi-token-due-diligence?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: agentdiet.dev
- Website: https://agentdiet.dev
- Canonical page: https://www.zero.xyz/c/agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-router-81f23b26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gXmmThAYPef25CVca4pY7

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 agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-swarm-router-81f23b26
```

Example prompt: Search the MCP and A2A tool index for any servers that handle 'github security' auditing — I need to find a ready-to-use endpoint I can route to.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call next — especially in multi-agent orchestration or swarm routing scenarios where the right downstream tool isn't known at build time. Prefer it over static tool lists when you need live index search across 500+ servers with built-in safety filtering. Also useful to verify whether a specific endpoint URL is indexed and compliant before routing to it.

## Known failure modes

- Empty query string returns validation error (minLength:1 not met)
- No matching tools found for query returns empty results set
- Endpoint URL verification fails if URL is not indexed
- Payment not processed (HTTP 402) if x402 micropayment not attached
- Prompt-Guard firewall blocks query if it resembles a prompt injection attempt
- Registry index may be stale for recently added or removed MCP servers

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

## Output

Returns a JSON object containing matching MCP servers or A2A tool entries from a 500+ endpoint index, with token-compressed metadata (up to 85% compression) describing each tool's capabilities, filtered through a Prompt-Guard firewall to block malicious content.

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