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

Searches and routes across 500+ indexed MCP servers and A2A tools using a single connection, with token compression and prompt-injection firewall

## Facts

- Endpoint: POST https://json-repair.agentdiet.dev/v1/agent-tool-marketplace?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: json-repair.agentdiet.dev
- Website: https://json-repair.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/json-repair-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-9356d58f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ytQJZFa7Uj3LR0sK-8jEI

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

Example prompt: Search the MCP tool marketplace for any available tools that handle SEC filings or financial document analysis — I need to find the best agent tool for that capability.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover the right tool or MCP server at runtime rather than hardcoding integrations. It is especially useful when building swarm or orchestration agents that must delegate subtasks to specialized tools, when you need token-compressed tool descriptions to stay within context limits, or when you want prompt-injection protection applied to third-party tool metadata before it reaches your agent.

## Known failure modes

- Empty query string returns validation error
- No matching tools found for highly specific or niche capability queries
- Prompt-Guard firewall may block queries containing injection-like patterns, returning a security rejection
- Indexed tool registry may not include newly published MCP servers not yet crawled
- Upstream MCP server metadata may be stale if the index has not been refreshed recently

## 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://json-repair.agentdiet.dev/v1/agent-tool-marketplace)

## Output

Returns a list of matching MCP servers or A2A tools ranked by relevance to the query, including tool names, descriptions, endpoint URLs, capability tags, and compressed metadata — all filtered through a Prompt-Guard firewall to block injection attacks before results reach the calling agent.

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