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

Searches a curated index of 500+ MCP servers and A2A tools by capability query, returning compressed, firewall-screened results via a single meta-router connection

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/agent-tool-marketplace?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-9ace3ef7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jpZC_dpn17FZpEpDyqNxK

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 preflight-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-9ace3ef7 -d '<json body>'
```

Example prompt: Search the agent tool marketplace for MCP servers or A2A tools that can do context compression — I want to find the best available options with their descriptions and how to use them.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools exist for a given capability, especially when the agent doesn't know in advance which tool to call. Ideal for swarm orchestration scenarios where routing decisions must be made at runtime. Prefer over hardcoded tool lists when the tool landscape is large (500+ options) and token budget is tight, since the 85% compression makes it practical to retrieve many candidates in a single context window. Also useful when you need firewall-screened results to avoid prompt injection risks from untrusted third-party tool descriptions.

## Known failure modes

- Empty query string returns validation error (minLength:1 enforced)
- Query too vague or generic may return low-relevance or empty results
- Prompt-Guard firewall may block queries containing injection-like patterns
- Upstream MCP index unavailability may return partial or stale results
- Payment failure (x402) may block access if USDC balance is insufficient

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

## Output

Returns a compressed, firewall-screened list of matching MCP servers and A2A tools from an index of 500+, including tool names, capability descriptions, and endpoint metadata — delivered with up to 85% token compression to minimize context window usage.

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