# AgentDiet Tool Search

> AgentDiet Tool Search is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Searches a meta-index of 500+ MCP servers and A2A tools by natural language query to discover relevant AI agent tools

## Facts

- Endpoint: GET https://agentdiet.dev/v1/tool-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-tool-search-a457add0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hX8BsHjw2T0nVOfWqzTP6

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 agentdiet-tool-search-a457add0
```

Example prompt: Search the AgentDiet tool index for MCP servers or A2A tools that can help me with real-time stock price lookup — just send a GET query with 'stock price real-time' and show me the top matches.

## When to prefer this

Use this endpoint when an AI agent needs to dynamically discover which MCP servers or A2A tools exist for a given capability, rather than hard-coding tool references. Ideal for agent orchestration systems that need to route tasks to the best available tool at runtime. Prefer over manual curation when the tool landscape changes frequently or when covering 500+ potential integrations.

## Known failure modes

- Empty query string returns no results or validation error
- Query too vague returns irrelevant or low-confidence matches
- Service unavailable if meta-index is being updated
- Payment not processed results in 402 error blocking access
- Rate limiting if too many calls made in short succession

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

## Output

Returns a ranked list of matching MCP servers and A2A tools from a meta-index of 500+ entries, including tool names, descriptions, capabilities, and connection details, with token-compressed output for efficient agent consumption.

## 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/agentdiet-tool-search-a457add0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
