# 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 alpha-stream.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-17).

Searches a meta-index of 500+ MCP servers and A2A tools by natural language capability query, returning matching endpoints with token-compressed results and Prompt-Guard firewall protection.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/tool-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Provider: alpha-stream.agentdiet.dev
- Website: https://alpha-stream.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/alpha-stream-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-d95ed1f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zeEYCWdUxzDR7pFwUp5Yv

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 alpha-stream-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-d95ed1f9 -d '<json body>'
```

Example prompt: Search the MCP tool index for any tools that can do B2B lead enrichment or company data lookup — I want to find the best available agent tool for that capability.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability, especially when the agent doesn't know which specific tool to call. Prefer over manually curated lists when coverage of 500+ servers is needed, or when safe proxying and prompt injection protection are required.

## Known failure modes

- Empty query string returns validation error
- No matching tools found returns empty result set
- Malicious or injection-containing queries blocked by Prompt-Guard firewall
- Payment required (HTTP 402) if x402 micropayment not provided
- Network timeout if upstream MCP index is 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://alpha-stream.agentdiet.dev/v1/tool-search)

## Output

Returns a list of matching MCP servers and A2A tools relevant to the capability query, with tool metadata, endpoint details, and token-compressed summaries filtered through a Prompt-Guard firewall to block malicious prompt injections.

## 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/alpha-stream-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-d95ed1f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alpha-stream.agentdiet.dev](https://www.zero.xyz/host/alpha-stream.agentdiet.dev/llms.txt)
