# 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 and discovers capabilities across 500+ indexed MCP servers and A2A tools via a single query, with token-compressed results and prompt-injection firewall protection.

## Facts

- Endpoint: GET https://whale-momentum.agentdiet.dev/v1/mesh?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-bc5a6119
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mMo8TASsO6ve6-bRadoP7

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-bc5a6119
```

Example prompt: Search the MCP and A2A tool index for any available capabilities related to 'SEC filings' and show me up to 20 results.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools exist for a given capability at runtime, rather than hardcoding integrations. Especially useful in swarm or orchestration architectures where the agent needs to route tasks to specialized sub-agents and does not know in advance which tools are available. The built-in prompt-injection firewall makes it safer than querying untrusted tool registries directly.

## Known failure modes

- Empty results if query does not match any indexed capability
- Pagination cursor invalid or expired returns an error
- Query string too short or missing returns a validation error
- Rate limiting or payment required (HTTP 402) if usage quota exceeded
- Timeout if the index is temporarily unavailable

## 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/mesh)

## Output

A paginated list of matching MCP servers and A2A tool endpoints relevant to the query, including metadata such as capability descriptions, endpoint URLs, and token-compressed summaries, plus an opaque cursor for fetching the next page of results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## 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-bc5a6119/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)
