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

Searches an index of 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-screened tool metadata through a single connection.

## Facts

- Endpoint: POST https://whale-momentum.agentdiet.dev/v1/tool-broker?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-967d02b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H3XbxVVkAGKvmQqLSjdi6

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-967d02b6 -d '<json body>'
```

Example prompt: Search the MCP tool index for anything that handles SEC filings or company enrichment — I want to find the best available tool and see a compressed summary of what it can do.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hardcoding a tool URL. Especially valuable in multi-agent swarms, when the right tool is unknown at design time, when token budget is tight (85% compression), or when untrusted tool sources need firewall screening before use.

## Known failure modes

- Empty query string returns validation error (minLength:1)
- Query matches no indexed tools — returns empty result set
- Downstream MCP server unreachable — partial or degraded results
- Prompt-Guard firewall blocks a tool flagged as malicious — tool excluded from results
- Payment not settled via x402 — 402 Payment Required response

## 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-broker)

## Output

Returns a structured object listing matched MCP servers or A2A tools relevant to the query, with 85% token-compressed capability descriptions, safety-screened metadata via the Prompt-Guard firewall, and routing recommendations for which tool best satisfies the requested capability.

## 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-967d02b6/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)
