Shortlist x402 APIs to pay
recommendScore and shortlist x402 APIs by intent with price caps, chain filters, health checks, and upfront payment hints so you can choose which API to call and pay. Read-only discovery; no payment is made.
Instructions
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. chain: Optional settlement chain filter (e.g. "base"). require_healthy: Only include services whose latest probe was healthy.
Returns:
{query, count, settlement, note, recommendations}. Each has slug,
name, score, price_hint, pay_hint (scheme, chains, price, flow),
call_hint, health_status, confidence, tx_30d and chains.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intent": "<intent>"
},
"name": "recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ||
| top_k | No | ||
| intent | Yes | ||
| max_price_usd | No | ||
| require_healthy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||