agent-tools (x402 + MCP + A2A directory)

v0.5.3
io.github.AgentTools-Cloud/agent-tools-mcp Checked 1 day ago Published 5 days ago

Discover x402 services, MCP servers and A2A agents by intent — agent-tools.cloud directory.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get Get x402 API details

Get the full record of one **x402 paid API** by its slug. Use after `search`, `recommend` or `ask` to learn exactly how to call and pay. For MCP servers use `get_mcp_server`, for A2A agents `get_agent`. Read-only; never pays. Args: slug: Service slug from a search result (e.g. "some-weather-api"). Returns: The service card: `url`, `description`, `price_min`/`price_max`, `chains`, `payment` (scheme, network, asset, `pay_to`, `accepts`), `call` and `call_info` (how to call, sample resources), `health`,…

ParameterTypeDescription
slug *string

list_categories List x402 categories

List the category slugs used for **x402 paid APIs**, with how many services each has. Use it to pick a valid `category` for `search` or `ask`, or to browse what kinds of paid APIs exist. Takes no arguments. Read-only. Returns: `{categories: [{category, count}, ...]}`, largest first.

search_mcp_servers Search MCP servers

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 (`search`) or a peer agent (`search_agents`). Only servers with a reachable endpoint that we probe daily are returned. Read-only. 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…

ParameterTypeDescription
intent *string
chain
top_kinteger

get_mcp_server Get MCP server details

Get the full record of one **MCP server** by its slug. Use after `search_mcp_servers` (or a `search_all` result with protocol "mcp") to decide whether and how to connect. Read-only. Args: slug: MCP server slug from a search result. Returns: `endpoint_url`, `transport`, `auth_method`, `tools` (names and schemas seen by our probe), `health`, `latency_ms`, `conformance`, `safety_verdict`/`safety_reasons`, `quality`, `readiness_grade`, `license` and source repository. A retired listing return…

ParameterTypeDescription
slug *string

search_agents Search A2A agents

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 (`search`) or an MCP tool (`search_mcp_servers`). Read-only. 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: `{intent, count, agent…

ParameterTypeDescription
intent *string
top_kinteger
x402_onlyboolean

get_agent Get A2A agent card

Get the full record of one **A2A agent** by its slug. Use after `search_agents` (or a `search_all` result with protocol "a2a") to see how to send it a task. Read-only. Args: slug: A2A agent slug from a search result. Returns: `endpoint_url`, `card_url`, `protocol_version`, `preferred_transport`, `skills` (id, name, description, input/output modes), `auth_schemes`, x402 payment info (`x402_supported`, `price_hint_usd`, `payto`), latest health, latency and protocol conformance. A retired li…

ParameterTypeDescription
slug *string

search_all Search all resource types

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 (`search`, `search_mcp_servers`, `search_agents`) return richer per-type fields. Returns a list, not a written answer (see `ask`). Read-only. 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:…

ParameterTypeDescription
intent *string
protocol
top_kinteger

stats Current directory counts

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 `directory_stats` instead. Takes no arguments. Read-only. Returns: `{x402, mcp, a2a}`. `x402` has `total`, `healthy`, `by_chain`; `mcp` and `a2a` have `total`, `healthy`, `conformant`, `x402_capable`, `new_7d` and access counts. A part that…

ask Ask for a recommendation

Get a **written answer** on which x402 / MCP services best fit a task. The only tool that returns prose: an LLM writes a short `answer` grounded in directory candidates, plus the ranked services it used. Use it when you want advice; use `search` / `search_all` for a plain list, or `recommend` for a scored x402 shortlist with payment hints. Rate-limited; read-only; never pays. 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).…

ParameterTypeDescription
question *string
category
chain
max_price_usd
require_healthyboolean
top_kinteger
use_llmboolean

recommend Shortlist x402 APIs to pay

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 `search` it adds a `score` and `pay_hint`; unlike `ask` it writes no prose. Discovery only: nothing is paid; settle with your own x402 client. Read-only. 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.…

ParameterTypeDescription
intent *string
chain
max_price_usd
require_healthyboolean
top_kinteger

prepare_paid_verification Quote a paid verification

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 `typed_data` (EIP-712), then call `execute_paid_verification` before `valid_before`. Never signs or pays for you. Args: slug: Service slug from `search` / `get`. payer: 0x address of the paying wallet. api_key: Optional; defaults to AGENT_TOOLS_API_KEY.

ParameterTypeDescription
payer *string
slug *string
api_key

execute_paid_verification Run a paid verification

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 `indeterminate`. Args: id: `id` from `prepare_paid_verification`. signature: 0x EIP-712 signature of its `typed_data` by the payer. api_key: Optional; defaults to AGENT_TOOLS_API_KEY.

ParameterTypeDescription
id *string
signature *string
api_key

get_paid_verification Read a paid verification

Read the status and result of one of **your own** paid verifications. Third step of the paid-verification flow (`prepare_paid_verification` -> `execute_paid_verification` -> this). Use it to re-check a result later, e.g. after an `indeterminate` timeout. Read-only; never pays. Needs the same account API key that created the verification. Args: id: The `id` returned by `prepare_paid_verification`. api_key: Optional; defaults to AGENT_TOOLS_API_KEY. Returns: `status` (prepared, dispatching, succeeded, delivery…

ParameterTypeDescription
id *string
api_key

create_api_key Create a free API key

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 `directory_stats` lists and paid verification. A few keys per IP per day. Args: name: Optional label to recognise the key later, e.g. your agent name.

ParameterTypeDescription
name

directory_stats Ecosystem statistics and reports

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 `stats`. With an account key the topic and search lists are complete; without one they are shortened. Read-only. Args: view: "all", "mcp", "x402" or "a2a". topic: Optional topic word (e.g. "payment", "weather")…

ParameterTypeDescription
api_key
month
topic
viewstring