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

Searches and routes to 500+ MCP servers and A2A tools via a single meta-router endpoint with token compression and prompt-injection firewall.

## Facts

- Endpoint: POST https://shopify-spy.agentdiet.dev/v1/x402-gateway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Provider: shopify-spy.agentdiet.dev
- Website: https://shopify-spy.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/shopify-spy-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-e99fce1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cboY-u-97GSxuvcKvEjp3

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 shopify-spy-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-proxy-e99fce1e -d '<json body>'
```

Example prompt: Search the MCP tool index for a capability that handles SEC filings and company enrichment — I want to find the right tool to route my agent's request to.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to call for a given capability, rather than hard-coding tool routes. Ideal for swarm orchestration scenarios where the right downstream tool is unknown at design time. Prefer this over direct tool calls when you need token-compressed, firewall-screened results from a large catalog of 500+ tools with a single connection.

## Known failure modes

- Query too vague — returns low-confidence or empty match list
- No matching tool found in the 500+ server index for the queried capability
- Prompt-Guard firewall blocks a result flagged as containing injection attempts
- Payment not processed (x402) — returns 402 with payment instructions
- Invalid or missing query field — returns 400 validation 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://shopify-spy.agentdiet.dev/v1/x402-gateway)

## Output

Returns a list of matching MCP servers or A2A tool endpoints relevant to the query, with 85% token-compressed summaries, routing metadata, and safe-proxied access details. Results pass through a Prompt-Guard firewall to filter hidden prompt injections.

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