# 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-12-02).

Discovers, routes, and proxies queries across 500+ MCP servers and A2A tools with token compression and a prompt-injection firewall

## Facts

- Endpoint: POST https://workflows.agentdiet.dev/v1/a2a-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-12-02
- 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-a13b03a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w2bqZIEvPhRU2MUFI6Y8c

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-a13b03a5 -d '<json body>'
```

Example prompt: Search for MCP tools that handle GitHub security audits — I want to find and route to the right server from your index of 500+ tools using the swarm router.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool can handle a given capability, rather than hardcoding tool endpoints. Ideal for swarm architectures where the right tool is not known in advance, or when token efficiency matters (85% compression). Prefer over direct tool calls when building meta-agents, orchestrators, or pipelines that need to self-assemble from a large tool catalog.

## Known failure modes

- Empty or vague query returns no matches or low-confidence results
- Queried endpoint URL is unreachable or non-compliant, returning an error or null compliance result
- Token budget exceeded for very broad queries spanning many tools
- Prompt-Guard firewall may block queries that resemble injection attempts, returning a rejection
- Downstream MCP server unavailable causes partial results

## 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/a2a-router)

## Output

Returns matching MCP server or A2A tool metadata including endpoint URLs, capability descriptions, token-compressed responses, and routing recommendations, filtered through a Prompt-Guard firewall to block injection attacks.

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