# 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-10-23).

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

## Facts

- Endpoint: POST https://shopify-spy.agentdiet.dev/v1/tool-broker?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-3257d72a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LaTxxARzRvP-ipLKgteO8

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-3257d72a -d '<json body>'
```

Example prompt: Search the MCP tool broker for agents that can handle SEC filings — I need something that indexes company financial data and returns results in a compressed, token-efficient format.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which tools or MCP servers are available for a given capability, rather than hardcoding tool lists. Ideal for swarm orchestrators, meta-agents, and autonomous workflows that need to self-assemble tool chains at runtime. Prefer over direct tool registries when you want built-in prompt-injection protection and token compression on returned metadata.

## Known failure modes

- Query too vague returns low-relevance or empty results
- Endpoint URL verification returns unknown if not indexed
- Prompt-Guard firewall may block queries containing injection-like patterns
- Payment failure (x402) if USDC balance insufficient
- 503/504 if meta-index is temporarily unavailable
- Malformed query (missing or empty string) 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/tool-broker)

## Output

A compressed, prompt-injection-filtered list of matching MCP servers or A2A tools ranked by relevance to the query, with metadata such as tool names, capabilities, endpoints, and token-efficient descriptions.

## 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-3257d72a/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)
