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

Searches 500+ indexed MCP servers and A2A tools by capability query, returning compressed, firewall-screened tool matches via a single meta-router connection.

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/b2a-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-83badaa8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PRycTIzGIqHBJ8XKUWtm7

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 preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-83badaa8 -d '<json body>'
```

Example prompt: Search the agentdiet meta-router for MCP tools or A2A agents that can handle 'SEC filings' and show me the top matches with their descriptions.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool is best suited for a given capability at runtime, rather than hard-coding a specific tool. Ideal for swarm architectures where the orchestrator must route sub-tasks to appropriate specialists without prior knowledge of the full tool landscape. Prefer this over direct tool calls when you need firewall screening, token-compressed responses, or want to enumerate available tools across 500+ indexed servers from a single connection.

## Known failure modes

- Empty query string returns validation error
- No matching tools found for obscure or overly specific queries
- Prompt-Guard firewall blocks queries containing injection-like patterns
- Upstream MCP server unavailable causing partial index results
- HTTP 402 payment required if micropayment not attached
- Malformed endpoint URL in verification mode returns schema 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://preflight.agentdiet.dev/v1/b2a-router)

## Output

A compressed, Prompt-Guard-screened list of matching MCP servers or A2A tool endpoints relevant to the query, including tool names, capability descriptions, and routing metadata, with up to 85% token reduction applied to the response payload.

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