# 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-11-21).

Searches a meta-index of 500+ MCP servers and A2A tools by capability query, returning ranked matches with 85% token compression and prompt-injection firewall protection.

## Facts

- Endpoint: POST https://arxiv-digest.agentdiet.dev/v1/agent-tool-marketplace?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- 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-0a8d554b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_atbDfxkbTELgosrXFNqOp

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

Example prompt: Search the agent tool marketplace for MCP servers or A2A tools that can do 'B2B lead enrichment and company tech stack extraction' — I need the best-matching capabilities with compressed results.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools are available for a given capability, rather than hardcoding tool URLs. It is especially valuable in swarm or orchestration architectures where the agent must route subtasks to the best available tool at runtime. The built-in token compression and prompt-injection firewall make it preferable over raw tool registries when context window efficiency and safety are priorities.

## Known failure modes

- Empty query string returns validation error (minLength:1 violated)
- Query matches no indexed tools — returns empty result set
- Upstream MCP server unreachable — partial or degraded results
- Payment not completed via x402 — 402 Payment Required response
- Prompt-Guard firewall blocks suspicious query content — request rejected
- Rate limiting or quota exceeded — 429 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://arxiv-digest.agentdiet.dev/v1/agent-tool-marketplace)

## Output

Returns a ranked list of matching MCP servers and A2A tools from a 500+ item index, with capability descriptions and metadata compressed by up to 85% for token efficiency. Results are filtered through a Prompt-Guard firewall to prevent injection attacks propagating through the router.

## 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-0a8d554b/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)
