# AI Tool Discovery Pack

> AI Tool Discovery Pack is a paid API for AI agents from freetier-agent-api.pages.dev, paid per call via x402, $0.012/call, status unknown (last checked 2026-11-01).

Discovers matching MCP servers, x402 pay-per-call services, and agent tools for any query in a single call

## Facts

- Endpoint: GET https://freetier-agent-api.pages.dev/api/pack/ai-tool-discovery?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-tool-discovery-pack-7a0debfc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZKddP43yh_YquDDEaIy9m

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 ai-tool-discovery-pack-7a0debfc
```

Example prompt: Search for all the MCP servers and agent tools available for PDF parsing so I can find the right capability to add to my pipeline.

## When to prefer this

Use this endpoint when an AI agent needs to discover new capabilities at runtime rather than having them hardcoded. Ideal for meta-agents that self-expand their toolset, orchestrators looking for the right MCP server for a task, or developers exploring what agent tooling exists for a given domain. Covers ~13,000 agent tools including MCP servers and x402 pay-per-call services in one call.

## Known failure modes

- Missing required 'q' query parameter returns validation error
- Empty or overly broad query may return sparse or no results
- Query terms with no matching tools return empty results object
- Service unavailability returns HTTP 5xx with error in errors array
- Rate limiting or payment failure for the $0.012 USDC x402 call returns 402

## How this service works

Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.

## Output

Returns a JSON object with a 'results' field containing matched MCP servers, x402 services, and agent tools relevant to the query; a 'meta' field with related pack suggestions; a 'summary' with status; and an 'errors' array. Example includes related packs like 'Wallet Safety Scan' and the original query echoed back.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search query, e.g. \"pdf parsing\" or \"onchain data\""
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "related": [
    {
     "url": "https://freetier-agent-api.pages.dev/packs/wallet-safety",
     "slug": "wallet-safety",
     "title": "Wallet Safety Scan"
    }
   ]
  },
  "pack": "ai-tool-discovery",
  "input": {
   "q": "weather"
  },
  "errors": [],
  "results": {},
  "summary": {
   "status": "ok"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-tool-discovery-pack-7a0debfc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from freetier-agent-api.pages.dev](https://www.zero.xyz/host/freetier-agent-api.pages.dev/llms.txt)
