Skip to main content
Glama

x402 payment activity on XRPL (paid: 0.01 RLUSD / 0.01 USDC on XRPL / 0.01 USDC on Base / 0.01 RLUSD on Base via x402)

get_x402_activity
Read-only

Paid: 0.01 RLUSD or 0.01 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.01 USDC on Base (eip155:8453). Pay per call, solves one question: What x402 payment volume and merchant activity did our XRPL scan record? Raw payments/volume series, unique payers/merchants, and sample txs with sources. 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_x402_activity"
  }
}

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

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses price per call across four rail combinations, that unpaid calls return isError with a fresh PaymentRequired invoiceId, the exact retry mechanism, and that unpaid calls cost nothing. That is the full behavioral contract an agent needs for a paid endpoint, and nothing contradicts the annotations.

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 front-loaded with the payment rails and then the purpose and error path, with no filler sentences. It loses a point for restating the four price points in near-identical phrasing, which is dense but readable, and for the pricing already appearing in the title.

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, the description takes on the burden of describing return contents and does so (volume series, unique payers/merchants, sample txs with sources). Combined with the payment-failure path and retry instructions, nothing necessary to call it correctly 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 the single parameter is documented, so the baseline is 3. The description earns above baseline by explaining the _meta["x402/payment"] alternative that the schema does not mention and by telling the agent to omit the argument on the first call.

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?

The description states a specific question the tool answers ("What x402 payment volume and merchant activity did our XRPL scan record?") and enumerates the returned resources: raw payments/volume series, unique payers/merchants, and sample txs with sources. That is enough for an agent to distinguish it from sibling reads like get_x402_health_report or get_pulse_facilitator without opening a schema.

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 explicit invocation flow: omit payment on the first call to receive requirements, then retry with the signed payload either in _meta["x402/payment"] or the payment_signature argument. It does not, however, say when to prefer this tool over neighboring x402 tools (health report, facilitator pulse), so routing guidance stops at the payment mechanics.

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