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

Searches and routes across 500+ indexed MCP servers and A2A agent tools via a single connection, with token compression and prompt-injection firewall.

## Facts

- Endpoint: GET https://llms-generator.agentdiet.dev/v1/b2a-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: llms-generator.agentdiet.dev
- Website: https://llms-generator.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/llms-generator-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-446b9620
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bJB_kRBd4V8KjKfT7-ujC

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 llms-generator-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-446b9620
```

Example prompt: Search the A2A and MCP tool index for any available servers that handle SEC filings or company enrichment — I want to see what's indexed and get routed to the best match.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool supports a given capability without hardcoding individual endpoints. Ideal for swarm orchestration, meta-routing, and scenarios where the best tool for a job isn't known in advance. Prefer this over direct endpoint calls when you want token-compressed manifests, safety-filtered routing, or need to verify whether a remote agent URL is indexed and compliant.

## Known failure modes

- Empty query string returns validation error (query is required, minLength 1)
- No matching tools found for obscure or misspelled capability query returns empty result set
- Unrecognized or unreachable endpoint URL passed for verification returns routing failure
- Rate limiting or payment failure (HTTP 402) if x402 micropayment is not attached
- Prompt injection attempts blocked by Prompt-Guard firewall, returning sanitized or rejected response

## 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://llms-generator.agentdiet.dev/v1/b2a-router)

## Output

Returns a filtered list of matching MCP server or A2A tool entries from the 500+ index, with compressed tool manifests (up to 85% token reduction), routing metadata, and safety-screened results via Prompt-Guard firewall. Response schema is an open object with matched tools and routing details.

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