Skip to main content
Glama
Agent Tools (x402 + MCP + A2A directory)

Agent Tools (x402 + MCP + A2A directory)

Official

Shortlist x402 APIs to pay

recommend
Read-onlyIdempotent

Score 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

NameRequiredDescriptionDefault
chainNo
top_kNo
intentYes
max_price_usdNo
require_healthyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=true, so the description adds rather than repeats by clarifying that no transaction is executed and the caller must settle with its own x402 client — a critical behavioral fact not in the annotations. The trailing 'Read-only.' largely restates the annotation, and no rate-limit or freshness caveat is given beyond `health_status`/`confidence` fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then contrast, then the discovery-only boundary, followed by structured Args and Returns blocks — easy to scan. The Returns block duplicates an existing output schema, which is the one stretch of text that does not earn its full place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter discovery tool the definition supplies purpose, alternatives, input semantics, and the post-call handoff, so an agent can invoke it confidently. Completeness is slightly undercut by restating return fields already present in the output schema rather than using that space for scoring or ranking behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry all semantics and it does: each of the five parameters gets meaning, and it adds constraints absent from the schema (top_k default 5, max 20; max_price_usd is a per-call USD ceiling; require_healthy keys off the latest probe). The `chain` example ('base') and intent phrasing guidance ('plain language') further disambiguate input format.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get a scored x402 shortlist ready to pay') and immediately enumerates the payload ('score, price and payment hints per API'). It explicitly differentiates from siblings `search` (adds score and pay_hint) and `ask` (no prose), so an agent can select without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the triggering condition ('Use when you intend to call and pay an x402 API next and want the payment details up front'), names two alternatives and the axis on which they differ, and states the boundary 'Discovery only: nothing is paid; settle with your own x402 client.' When-to-use, when-not-to-assume, and the handoff are all covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.