Skip to main content
Glama

x402 price index (XRPL) (paid: 0.005 RLUSD or 0.005 USDC on Base via x402)

get_price_index
Read-only

Paid: 0.005 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.005 USDC on Base (eip155:8453). Observed prices of x402 endpoints settling on XRPL, summarized per asset, with sources and timestamps. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment_signature / description
      Previous value: -"Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD PaymentPayload) for hosts that cannot set _meta[\"x402/payment\"]. Omit on the first call to receive the payment requirements."New value: +"Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta[\"x402/payment\"]. Omit on the first call to receive the payment requirements."
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-idempotent; the description goes well beyond by disclosing the price and chains (0.005 RLUSD on xrpl:0 or 0.005 USDC on Base eip155:8453), the exact unpaid-failure behavior (isError with a PaymentRequired object and fresh invoiceId), the retry channel, and that unpaid calls are free. The fresh-invoiceId detail also explains the non-idempotent hint.

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?

Four tight sentences, front-loaded with the price/chain facts an agent must know before deciding to call, then the data returned, then the failure/retry path. Dense but every sentence carries information; no filler.

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?

With no output schema, the description carries return-value burden and does so at a high level (prices summarized per asset, with sources and timestamps) plus the error path. It stops short of describing response shape or freshness windows, which would matter for a price-index consumer.

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

Parameters4/5

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

Schema coverage is 100%, so the parameter is already documented and the baseline is 3. The description adds real value on top: it clarifies that the argument is optional for hosts that cannot set _meta["x402/payment"] and that it should be omitted on the first call, giving the parameter a workflow role rather than just a type.

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

Purpose4/5

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

The second sentence gives a specific verb+resource: observed prices of x402 endpoints settling on XRPL, summarized per asset with sources and timestamps. That is a distinct payload from siblings like get_x402_activity or payradar, though the description never names an alternative to sharpen the boundary. Clear but not sibling-differentiating.

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

Usage Guidelines3/5

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

It gives explicit operational sequencing for payment: call without payment first to get the requirements, then retry with the signed payload in _meta["x402/payment"] or payment_signature. What it does not do is say when to choose this over get_x402_activity, payradar, or get_x402_health_report, so usage against alternatives is only implied.

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