# Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router – Code Release Security Gate

> Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router – Code Release Security Gate 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 using a capability query, returning matching tools or verifying a given endpoint URL, with token compression and prompt-guard filtering.

## Facts

- Endpoint: GET https://whale-momentum.agentdiet.dev/v1/workflows/code-release-security-gate?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-244880ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p0tpmRo7pr9GsWYudsIrK

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-244880ce
```

Example prompt: Search the MCP and A2A tool index for a capability that handles GitHub security auditing — I want to find which tool or server I should route that task to.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to delegate a subtask to, especially within the agentdiet.dev ecosystem that indexes 500+ tools. Prefer it over manual tool registries when token efficiency matters (85% compression) or when you need to verify an unknown endpoint's legitimacy before routing traffic to it.

## Known failure modes

- Empty or too-short query string returns validation error
- No matching tools found for highly specific or niche queries
- Endpoint URL verification returns unrecognized/uncrawled result for new or private servers
- Service unavailable if underlying meta-index is being reindexed
- Payment (x402) failure causes 402 response blocking the request

## 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/workflows/code-release-security-gate)

## Output

Returns a list of matching MCP servers or A2A tools ranked by relevance to the query, with compressed metadata (tool names, capabilities, endpoint URLs, SLA info), or a verification result for a supplied endpoint URL. Token-compressed output reduces downstream context usage by ~85%.

## 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-244880ce/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)
