# Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router (RAG Context Sanitizer)

> Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router (RAG Context Sanitizer) is a paid API for AI agents from shopify-intel.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Searches an index of 500+ MCP servers and A2A tools by capability query, returning compressed, prompt-guard-filtered results for agent tool discovery and routing.

## Facts

- Endpoint: GET https://shopify-intel.agentdiet.dev/v1/workflows/rag-context-sanitizer?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: shopify-intel.agentdiet.dev
- Website: https://shopify-intel.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/shopify-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-d7f8c217
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fr0dqDLhlpDURCoI6Cm1W

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-intel-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-d7f8c217
```

Example prompt: Search the MCP and A2A tool index for anything that can do 'context compression' and give me the top matching servers with their capability summaries.

## When to prefer this

Choose this endpoint when an AI agent needs to dynamically discover which MCP server or A2A tool to use for a given capability at runtime, especially when token budget is constrained (85% compression) or when prompt injection safety is a concern. Prefer it over hardcoded tool registries when the tool landscape may change or when routing across a large multi-server swarm.

## Known failure modes

- Empty or too-generic query returns low-relevance or no matches
- Query matches no indexed capability, returning empty result set
- Prompt-Guard firewall blocks a query flagged as potentially adversarial
- Endpoint URL verification query fails if the target is offline or non-compliant
- HTTP 402 payment required if x402 credentials are missing or invalid

## 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-intel.agentdiet.dev/v1/workflows/rag-context-sanitizer)

## Output

Returns a structured object containing matching tool or MCP server entries from a 500+ item index, with token-compressed metadata, Prompt-Guard-filtered context, and routing information suitable for direct agent consumption or swarm orchestration.

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