Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

x402 price compare

x402_quote_compare
Read-onlyIdempotent

Compare the x402 payment terms (price in USDC, network, payTo) of up to 5 paid API endpoints and rank them cheapest first, without paying. Free: 10 calls/day; then $0.002/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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": {
      "urls": "<urls>"
    },
    "name": "x402_quote_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYes1-5 comma-separated https x402 endpoint URLs

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely new behavioral context beyond that: it inspects terms without executing payment, caps the batch at 5, and discloses the cost model (10 free calls/day, then $0.002/call via x402 payment params, HTTP, or X-API-Key credits) plus the serving host, which materially affects a cost-sensitive agent's decision to call it.

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

Conciseness5/5

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

One dense but well-ordered passage: purpose and ranking first, scope cap second, then pricing/payment mechanics last. No filler sentences; every clause either defines the operation or answers a decision-relevant question about cost.

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?

Return values are covered by the output schema and ranking order is stated, so the main gaps are closed. What remains thin is failure behavior for invalid or unpaid endpoints among the batch, but for a read-only comparison tool this is close to complete.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter already documents 1-5 comma-separated https URLs with an example. The description only restates the 'up to 5' cap and that targets must be paid x402 endpoints; it adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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: compare x402 payment terms (price in USDC, network, payTo) across paid API endpoints, ranked cheapest first, without paying. The 'without paying' qualifier separates it from actual payment/quote execution tools like swap_quote, and 'up to 5 endpoints' gives a concrete scope an agent can match against a request.

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

Usage Guidelines4/5

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

Clearly frames the use case: pre-purchase comparison of x402 endpoints, explicitly non-paying. It does not, however, name any sibling alternatives (e.g. x402_precheck, x402_find_endpoint, x402_recommend) or state when a different tool is the better pick, so the agent must infer the routing itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources