# AgentDiet Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router

> AgentDiet 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 queries across 500+ indexed MCP servers and A2A tools with token compression and prompt injection firewall, specifically via the code-release-security-gate workflow endpoint.

## Facts

- Endpoint: GET https://llms-generator.agentdiet.dev/v1/workflows/code-release-security-gate?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-agentdiet-universal-a2a-mcp-tool-334486a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xAUafUVXWxzNlvOiStX66

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-agentdiet-universal-a2a-mcp-tool-334486a9
```

Example prompt: Search the AgentDiet swarm index for MCP tools that handle GitHub security audits — I need to find what's available and route my request to the right one.

## When to prefer this

Choose this endpoint when you need to discover which MCP server or A2A agent handles a specific capability across a large, heterogeneous index without maintaining individual connections to each server. Ideal when token budget is constrained (85% compression) and when security against prompt injection is required. Prefer over direct MCP connections when the right tool is unknown and discovery is the goal.

## Known failure modes

- Empty query string returns validation error (minLength:1 required)
- Query matches no indexed tools — returns empty results set
- Prompt injection attempt detected by firewall — request blocked
- Upstream MCP server unavailable — partial or degraded results
- Payment not settled via x402 — 402 response before results delivered
- Rate limiting if query volume exceeds plan threshold

## 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/workflows/code-release-security-gate)

## Output

Returns a list of matching MCP servers or A2A tools from the 500+ indexed registry, with capability metadata and compressed descriptions (85% token reduction), filtered through a Prompt-Guard firewall to prevent injection attacks. May include endpoint URLs, tool names, capability summaries, and routing recommendations.

## 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-agentdiet-universal-a2a-mcp-tool-334486a9/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)
