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

Searches and routes queries across 500+ indexed MCP servers and A2A tools with token compression and prompt-injection firewall protection.

## Facts

- Endpoint: POST https://workflows.agentdiet.dev/v1/bundle-execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: workflows.agentdiet.dev
- Website: https://workflows.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/workflows-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-be3f76ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SIgYL75CJ7nE_ucmQQF4F

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 workflows-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-be3f76ae -d '<json body>'
```

Example prompt: Search the MCP and A2A tool index for any servers that can handle 'company lead enrichment' — I want to find the best available tool and get back compressed, agent-ready results.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hard-coding a specific tool. Ideal for swarm orchestrators, meta-agents, or workflows that need to route sub-tasks to the best available specialized tool. Prefer this over direct tool calls when the right tool is unknown, when you want token-compressed tool descriptions to preserve context window, or when you need firewall-screened safe proxying of agent queries.

## Known failure modes

- Empty or vague query string returns no matches or irrelevant results
- Requested capability not indexed among the 500+ servers returns empty result set
- Prompt-injection attempt in query blocked by Prompt-Guard firewall with rejection response
- Endpoint URL verification of an invalid or unreachable server returns compliance failure
- Rate limiting or payment failure (HTTP 402) if x402 payment not properly attached
- Malformed query (minLength not met) triggers input validation error

## 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://workflows.agentdiet.dev/v1/bundle-execute)

## Output

Returns a JSON object containing matching MCP servers and A2A tools relevant to the query, with 85% token-compressed capability descriptions, safety firewall screening results, and routing metadata such as endpoint URLs and schema summaries.

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