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

Searches across 500+ MCP servers and A2A tools via a single meta-router connection, returning compressed, firewall-filtered capability results

## Facts

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

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

Example prompt: Search the MCP and A2A tool index for any servers or agents that support 'SEC filings' — I need to find available tools for pulling financial disclosures.

## When to prefer this

Choose this endpoint when you need to discover which MCP servers or A2A agents support a given capability without managing individual connections to hundreds of endpoints. It is the right choice when building multi-agent swarms that need dynamic tool routing, when you want token-efficient capability discovery with built-in prompt-injection protection, or when you need to verify whether a specific endpoint URL is live and compliant. Prefer alternatives if you already know the exact MCP server you want to call and need to invoke it directly.

## Known failure modes

- Empty or vague query returns no matches or low-relevance results
- Query matches no indexed server — returns empty result set
- Prompt-Guard firewall blocks a query flagged as containing injection patterns
- Endpoint URL verification returns SLA non-compliance or unreachable status
- Rate limit exceeded or payment not processed via x402 returns 402 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://defi-yield.agentdiet.dev/v1/agent-router)

## Output

Returns a structured list of matching MCP servers and A2A tool endpoints relevant to the query, with capability descriptions compressed by up to 85% via token optimization and screened through a Prompt-Guard firewall to strip any injected malicious instructions.

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