# AgentDiet Tool Broker — Universal MCP & A2A Tool Discovery Router

> AgentDiet Tool Broker — Universal MCP & A2A Tool Discovery Router is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Meta-router that discovers, proxies, and routes requests across 500+ MCP servers and A2A tools via a single connection with token compression and prompt-guard firewall

## Facts

- Endpoint: GET https://agentdiet.dev/v1/tool-broker?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-tool-broker-universal-mcp-a2a-tool-discovery-router-d9dfa78a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Vp6hV_wr00oj2HyE_Zt_

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 agentdiet-tool-broker-universal-mcp-a2a-tool-discovery-router-d9dfa78a
```

Example prompt: Search the AgentDiet tool broker for any MCP servers or A2A tools that can help with SEC financial document analysis — use a GET request with query 'SEC 10-K analysis'.

## When to prefer this

Choose this endpoint when an AI agent needs to discover which MCP servers or A2A tools exist for a given task without connecting to each individually. It is the right choice when building swarm architectures, when you want to minimize token usage via compression, or when you need a firewall-filtered proxy layer between your agent and untrusted tool servers. Prefer this over direct MCP server connections when the tool landscape is unknown.

## Known failure modes

- Query string missing or empty — returns no results
- Unsupported HTTP method — only GET/POST accepted
- No matching tools found for the query — empty result set
- Downstream MCP server unavailable — proxy timeout or error
- Payment not confirmed via x402 — 402 Payment Required 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://agentdiet.dev/v1/tool-broker)

## Output

Returns a compressed list of matching MCP servers and A2A tool endpoints from a 500+ service index, including routing metadata, tool descriptions, and compatibility information, delivered with 85% token compression through the Prompt-Guard firewall proxy.

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