# 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 an index of 500+ MCP servers and A2A tools by capability query, returning relevant endpoints with token-compressed results and prompt-guard filtering.

## Facts

- Endpoint: GET https://llms-generator.agentdiet.dev/v1/tool-search?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-ac174f43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_12ORJtd2G5dhs93TH2oH_

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-ac174f43
```

Example prompt: Search the MCP tool index for any servers or A2A tools that can handle SEC filings retrieval — I want to find a working endpoint I can plug into my agent pipeline.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability at runtime, rather than hardcoding tool lists. Especially useful when building swarm architectures that need to self-assemble tool chains or when you need token-efficient tool discovery across a large ecosystem of 500+ servers.

## Known failure modes

- Empty query string returns a 400 or validation error
- No matching tools found returns an empty result set
- Prompt-Guard firewall may block queries that resemble injection attempts
- Downstream MCP index unavailability causes degraded or partial results
- Rate limiting or payment failure (x402) may block 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://llms-generator.agentdiet.dev/v1/tool-search)

## Output

A list of matching MCP servers and A2A tools ranked by relevance to the query, with token-compressed metadata describing each tool's capabilities, endpoint URLs, and routing information. Results pass through the Prompt-Guard firewall before being returned.

## 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-ac174f43/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)
