# 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 serp-extract.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, firewall-filtered results for tool discovery and routing

## Facts

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

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 serp-extract-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-8d70db86
```

Example prompt: Search the agentdiet tool index for MCP servers and A2A agents that handle SEC filings so I can pick the right one to route my query to.

## When to prefer this

Choose this endpoint when an agent needs to dynamically discover which MCP server or A2A tool is best suited for a given capability at runtime, rather than hardcoding tool destinations. Especially useful in multi-agent swarms where the right downstream tool is not known in advance, or when you want prompt-injection firewall protection on discovered tools before proxying requests through them.

## Known failure modes

- Empty query string returns validation error (minLength:1)
- Query matches no indexed tools — returns empty results set
- Upstream index unavailable — service returns 503 or timeout
- Payment not provided or invalid — HTTP 402 response blocking access
- Malformed query causes unexpected result shape due to loose response schema

## 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://serp-extract.agentdiet.dev/v1/workflows)

## Output

Returns a structured object listing matching MCP servers and A2A tools for the given query, with compressed descriptions (up to 85% token reduction), firewall-filtered metadata, SLA signals, and routing information to help an agent select and connect to the right tool.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Capability search query (e.g. 'context compression', 'github security', 'sec filings', 'company enrichment') or endpoint URL to verify"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp-extract-agentdiet-dev-universal-a2a-mcp-tool-discovery-safe-8d70db86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp-extract.agentdiet.dev](https://www.zero.xyz/host/serp-extract.agentdiet.dev/llms.txt)
