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

## Facts

- Endpoint: GET https://llms-generator.agentdiet.dev/api/mcp/audit?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-8e447a03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l1uyWbMpohLC85wkP2N0o

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-8e447a03
```

Example prompt: Search the MCP tool index for servers that handle 'SEC filings' so I can find an agent-compatible endpoint to retrieve company financial disclosures.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool provides a specific capability, rather than hardcoding tool URLs. Particularly useful for swarm orchestration, dynamic routing, or when building agent pipelines that need to find and proxy safe external tools on-demand. Prefer this over manual tool registries when you need a single connection point to 500+ indexed tools with built-in token compression and prompt safety filtering.

## Known failure modes

- Missing or empty query parameter returns validation error
- Query matches no indexed tools — empty results set returned
- Prompt-Guard firewall blocks query flagged as unsafe or adversarial
- Upstream MCP server index unavailable — service degradation or 503
- Payment not fulfilled via x402 — 402 Payment Required response
- Malformed endpoint URL passed as query causes lookup failure

## 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/api/mcp/audit)

## Output

Returns a token-compressed list of matching MCP servers and A2A tools relevant to the query, including endpoint metadata, capability descriptions, and safety-filtered results from the Prompt-Guard firewall. Response is a JSON object with matched tools and routing information.

## 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-8e447a03/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)
