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

Routes a natural-language capability query through an indexed registry of 500+ MCP servers and A2A tools, returning matching endpoints with 85% token compression and prompt-injection firewall protection.

## Facts

- Endpoint: POST https://alpha-stream.agentdiet.dev/v1/b2a-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- 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-86e64a55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HbDNvQKCj-en2uZmi61nN

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-86e64a55 -d '<json body>'
```

Example prompt: Search the MCP and A2A tool registry for any indexed endpoints that handle SEC filings or company financial intelligence — I need to find the right tool to pull 10-K data for a public company.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which of 500+ MCP or A2A tools is best suited for a task at runtime, rather than hardcoding tool references. Ideal for swarm architectures, meta-agents, and orchestration layers that need to route sub-tasks to specialized tools without prior knowledge of the full tool catalog. Prefer this over static tool registries when token efficiency and prompt-injection safety are priorities.

## Known failure modes

- Empty or overly vague query returns no matches or irrelevant results
- Query matches no indexed tool — returns empty result set
- Prompt-Guard firewall blocks a query flagged as potentially injected
- Rate limit or payment failure (HTTP 402) if x402 micropayment is not processed
- Malformed request missing required 'query' field returns validation error

## 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/b2a-router)

## Output

Returns a list of matching MCP server or A2A tool entries from a 500+ index, with compressed metadata describing each matched endpoint's capabilities, likely URL, and relevant parameters — all screened through a Prompt-Guard firewall to prevent injection attacks.

## 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-86e64a55/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)
