# 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 a meta-index of 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-filtered results via a single connection.

## Facts

- Endpoint: GET https://whale-momentum.agentdiet.dev/v1/broker/execute?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-2f2d366c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2A7L03r2OdZMFZWwdk9Gi

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-2f2d366c
```

Example prompt: Search the MCP and A2A tool index for anything that can do SEC filings retrieval — I want the best available endpoint with token-compressed results and prompt firewall protection.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover the best available MCP server or A2A tool for a given capability at runtime, rather than hard-coding integrations. Especially useful when building multi-agent swarms that must route tasks to appropriate specialized tools, or when you need firewall-filtered proxying to prevent prompt injection from untrusted tool responses. Prefer over direct MCP server connections when token budget is constrained and 85% compression is valuable.

## Known failure modes

- Empty result set if no MCP servers match the query string
- Query too vague returns low-confidence or irrelevant tool listings
- Endpoint URL verification fails if the target is offline or non-compliant
- HTTP 402 payment required if credit balance is insufficient
- Timeout if the meta-index is temporarily unavailable
- Prompt injection attempt detected and blocked by Prompt-Guard firewall

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

## Output

Returns a structured object containing matching MCP servers and A2A tool entries relevant to the query, with metadata compressed by up to 85% and filtered through a Prompt-Guard firewall to prevent injection attacks. May include endpoint URLs, capability descriptions, and routing recommendations.

## 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-2f2d366c/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)
