# 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 whale-momentum.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 compressed, firewall-screened tool matches via a single connection.

## Facts

- Endpoint: GET https://whale-momentum.agentdiet.dev/v1/tool-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: whale-momentum.agentdiet.dev
- Website: https://whale-momentum.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/whale-momentum-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-b00c4943
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TmbXr2aCCjXNoY9sTYcrG

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 whale-momentum-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-b00c4943
```

Example prompt: Search the MCP and A2A tool index for 'github security audit' — I need to find which tools can handle that and get back compressed descriptions I can actually use without blowing my token budget.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP servers or A2A tools support a given capability, rather than hard-coding tool connections. Especially useful for swarm architectures or orchestrators that need to route tasks to the right tool at runtime without pre-configuring every integration. The built-in token compression (85%) and prompt firewall make it preferable over raw index queries when token budget and prompt safety are concerns.

## Known failure modes

- Empty results if query is too narrow or uses unrecognized terminology
- Generic 400 error if query parameter is missing or blank
- Potential stale index data if newly added MCP servers haven't been crawled
- Payment required (HTTP 402) if x402 USDC payment is not provided
- Timeout or 503 if the meta-router is overloaded

## 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://whale-momentum.agentdiet.dev/v1/tool-search)

## Output

A list of matching MCP server or A2A tool entries relevant to the capability query, with token-compressed descriptions and metadata, filtered through a Prompt-Guard firewall to remove 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/whale-momentum-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-b00c4943/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whale-momentum.agentdiet.dev](https://www.zero.xyz/host/whale-momentum.agentdiet.dev/llms.txt)
