Skip to main content
Glama

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

get_price_index
Read-only

Paid: 0.005 RLUSD or 0.005 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.005 USDC on Base (eip155:8453). Pay per call, solves one question: What prices are live XRPL x402 resources advertising right now? Raw per-endpoint prices, rails, category lows, and change deltas with sources and times. 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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_price_index"
  }
}

Input 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.3/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-idempotent/non-destructive; the description adds the materially important behavior an agent cannot get elsewhere: per-call pricing across two chains, the isError + PaymentRequired return on unpaid calls, a fresh invoiceId each time, and the exact retry channel. The non-idempotent hint is consistent with the pay-per-call, invoice-regenerating model rather than contradicted by it.

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?

It is dense but front-loaded: pricing and purpose come first, payment mechanics second. Some redundancy exists — the price amounts appear once in the title and again in the description, and the chain/amount list is repeated in slightly different forms — but no sentence is wasted.

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

Completeness5/5

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

With no output schema and a single optional parameter, the description carries the return-value burden itself and does so: it names the returned fields (prices, rails, category lows, deltas, sources, times) and the error shape (PaymentRequired with invoiceId). Nothing an agent needs to call this correctly on the first or second attempt is missing.

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% and already documents payment_signature including the omit-on-first-call advice, so the baseline is 3. The description adds real meaning by naming the _meta["x402/payment"] alternative and framing payment_signature as the fallback for hosts that cannot set metadata, which the schema does not explain.

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 description states a specific resource and output shape: "Raw per-endpoint prices, rails, category lows, and change deltas with sources and times" for live XRPL x402 resources. That is far more specific than the bare name, though it never explicitly distinguishes itself from siblings like get_x402_activity or get_x402_health_report, so an agent must infer the boundary.

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?

It gives clear operational guidance: first call omits payment and yields a PaymentRequired object, then retry with the signed payload via _meta["x402/payment"] or the payment_signature argument, and notes unpaid calls cost nothing. What it lacks is any statement of when to choose this tool over a sibling, so the alternative-selection half of the guidance is absent.

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