Agent Tools (x402 + MCP + A2A directory)
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENT_TOOLS_API_KEY | No | Optional agent-tools.cloud API key (only for account-scoped tools such as paid verification) | |
| AGENT_TOOLS_API_BASE | No | Optional API base URL (default https://agent-tools.cloud) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Discover agent-callable resources from the agent-tools.cloud directory: x402 paid services, MCP servers and A2A agents. Use search for x402 paid APIs, search_mcp_servers for MCP tool servers, search_agents for A2A peer agents, or search_all to look across all three. Use ask for a plain-language recommendation, or recommend for a scored x402 shortlist under a price cap. Then call the matching get* tool for the full call template. To test a paid x402 service once from your own wallet: prepare_paid_verification -> sign typed_data -> execute_paid_verification. Tools never pay or sign on your behalf.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchA | Search x402 paid HTTP APIs only (pay-per-call in USDC) and return a raw ranked list. Pick this when you already know you want an x402 API. For MCP servers use
Args:
intent: What the agent wants to do, in plain English or Chinese
(e.g. "fetch user tweets", "check on-chain whale activity").
top_k: Max number of services to return (default 5, max 25).
max_price_usd: Hard upper bound on per-call price in USD. Services
whose cheapest call exceeds this are filtered out.
category: Optional category slug from Returns:
|
| getA | Get the full record of one x402 paid API by its slug. Use after Args: slug: Service slug from a search result (e.g. "some-weather-api"). Returns:
The service card: |
| list_categoriesA | List the category slugs used for x402 paid APIs, with how many services each has. Use it to pick a valid Returns:
|
| search_mcp_serversA | Search remote MCP servers only (tool/context servers you connect to) by intent. Use this when the agent wants extra tools via the Model Context Protocol
rather than a one-shot paid HTTP call ( Args: intent: What capability the agent is looking for, plain language. top_k: Max number of servers to return (default 5, max 25). chain: Optional chain filter for x402-capable MCP servers (e.g. "base", "solana"). Returns:
|
| get_mcp_serverA | Get the full record of one MCP server by its slug. Use after Args: slug: MCP server slug from a search result. Returns:
|
| search_agentsA | Search A2A agents only (peer agents you can delegate a task to) by intent. A2A agents publish an agent card and a JSON-RPC endpoint. Use this when
the task is better handed to another agent than done with a single API
call ( Args: intent: The task or capability to delegate, plain language. top_k: Max number of agents to return (default 5, max 25). x402_only: If true, only return agents that accept x402 payment. Returns:
|
| get_agentA | Get the full record of one A2A agent by its slug. Use after Args: slug: A2A agent slug from a search result. Returns:
|
| search_allA | Search x402 APIs, MCP servers and A2A agents together in one ranked list. Start here when you don't know which kind of resource fits. If you do,
the typed tools ( Args: intent: What the agent wants to accomplish, plain language. protocol: Optional filter, one of "x402", "mcp", "a2a". Omit for all. top_k: Max number of results to return (default 8, max 50). Returns:
|
| statsA | Current size of the directory: live counts per protocol, no history or rankings. A quick check of how many x402 services, MCP servers and A2A agents are
indexed and how many are healthy right now. For daily ecosystem
statistics, findings, top searches, topic or monthly reports use
Returns:
|
| askA | Get a written answer on which x402 / MCP services best fit a task. The only tool that returns prose: an LLM writes a short Args:
question: The task, e.g. "translate a document to Japanese under $0.05".
top_k: Max number of recommended services (default 5, max 10).
max_price_usd: Optional upper bound on per-call price in USD.
chain: Optional settlement chain filter (e.g. "base", "solana").
category: Optional category filter (see Returns:
|
| recommendA | Get a scored x402 shortlist ready to pay: score, price and payment hints per API. Use when you intend to call and pay an x402 API next and want the
payment details up front. Unlike Args: intent: What the agent wants to do, plain language. top_k: Max number of recommendations (default 5, max 20). max_price_usd: Optional upper bound on per-call price in USD. chain: Optional settlement chain filter (e.g. "base"). require_healthy: Only include services whose latest probe was healthy. Returns:
|
| prepare_paid_verificationA | Quote a sponsored paid verification of an x402 service. You pay the service once from your own wallet (Base USDC, <= $1; funds go
to its payTo). Sign the returned Args:
slug: Service slug from |
| execute_paid_verificationA | Send the signed payment to the service once and score the result. Aborts without paying if price or recipient changed. Never retried; a
timeout returns Args:
id: |
| get_paid_verificationA | Read the status and result of one of your own paid verifications. Third step of the paid-verification flow ( Args:
id: The Returns:
|
| create_api_keyA | Create a free agent-tools.cloud account API key. No sign-up needed. The key is returned once and cannot be recovered. Store it (for example
as AGENT_TOOLS_API_KEY); do not print it back to the user or into logs.
It unlocks complete Args: name: Optional label to recognise the key later, e.g. your agent name. |
| directory_statsA | Daily ecosystem statistics and reports from our probes (not live directory counts). The published daily snapshot: counts (indexed, reachable,
protocol-verified, ready), findings, probe outcomes, top searches by
distinct searchers; or one topic page; or one monthly report. For a
quick live count of listings use Args: view: "all", "mcp", "x402" or "a2a". topic: Optional topic word (e.g. "payment", "weather") for that topic instead. month: Optional "YYYY-MM" for that monthly report instead. api_key: Optional; defaults to AGENT_TOOLS_API_KEY. Returns:
The summary, topic or monthly report as JSON (CC BY 4.0), with its
snapshot date; on an HTTP error |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
The set is structured around three resource types (x402 APIs, MCP servers, A2A agents) each with a search+get pair, and descriptions aggressively cross-reference alternatives ("for MCP use search_mcp_servers, for a written recommendation use ask"). The remaining overlap is in the discovery layer — search vs search_all vs recommend vs ask, and stats vs directory_stats — but each of these is explicitly scoped by output shape (list / scored shortlist / prose / live counts / daily snapshot), so misselection risk is low.
All names are snake_case and readable, with a clear verb_noun pattern for the typed tools (search_mcp_servers, get_agent, prepare_paid_verification). Minor deviation: the x402 tools drop the noun suffix entirely (bare `search`, `get`, `ask`, `recommend`, `stats`) while the other protocols always carry a suffix, and `stats`/`directory_stats` are noun-only rather than verb-led.
At 16 tools this is just above the comfortable 3-15 band, but the surface decomposes cleanly: 3 search + 3 get pairs, one aggregate search, one category list, one key tool, a 3-step paid-verification flow, and 2 stats views. Almost every tool has a distinct role, though search_all partially duplicates the typed searches and could be derived from them.
The discovery lifecycle is well covered: browse categories, search by protocol or across all, drill into full service cards with payment/transport details, get live counts and daily reports, obtain an API key, and run a full quote→execute→poll paid-verification flow. Gaps are minor and workaroundable: no way to submit/register a listing, no feedback or rating tool, and no paginated browse-all for enumerating the directory.