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

Searches and routes to 500+ MCP servers and A2A tools via a single connection with 85% token compression and Prompt-Guard firewall protection

## Facts

- Endpoint: POST https://arxiv-digest.agentdiet.dev/v1/swarm-router?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: arxiv-digest.agentdiet.dev
- Website: https://arxiv-digest.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/arxiv-digest-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-fa66cbbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dtoPVJJI-21TsyaaIMnMK

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 arxiv-digest-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-fa66cbbb -d '<json body>'
```

Example prompt: Search across all available MCP servers and A2A tools to find something that can do 'company enrichment and B2B lead generation' — use the swarm router to get me a compressed list of matching tools.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which of 500+ MCP servers or A2A tools supports a given capability, rather than hardcoding tool endpoints. Ideal when building meta-agents or orchestrators that need to route tasks to the best available tool at runtime. The 85% token compression makes it efficient for agents with tight context budgets, and the Prompt-Guard firewall makes it suitable for production deployments where prompt injection is a concern.

## Known failure modes

- Query too vague — returns no matching tools or low-relevance results
- Query contains prompt injection attempt — blocked by Prompt-Guard firewall
- No MCP servers indexed for the requested capability — empty result set
- Payment not completed — HTTP 402 response requiring x402 micropayment
- Malformed query (empty string) — validation error from minLength:1 constraint

## 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://arxiv-digest.agentdiet.dev/v1/swarm-router)

## Output

Returns a compressed, token-efficient list of matching MCP servers or A2A tools relevant to the query, including tool metadata and routing information, filtered through a Prompt-Guard firewall to prevent prompt injection.

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