Skip to main content
Glama

x402 merchant readings (paid: 0.02 RLUSD / 0.02 USDC on Base / 0.02 RLUSD on Base via x402)

get_merchant_readings
Read-only

Paid: 0.02 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.02 USDC on Base (eip155:8453). Pay per call, solves one question: What x402 payment readings does this XRPL payee show? Raw 24h payments, payers, account fields, and endpoint 402 readings 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

NameRequiredDescriptionDefault
addressYesXRPL classic address of the payee (payTo) to report on
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. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses cost and payment rails, that an unpaid call returns isError with a PaymentRequired object containing a fresh invoiceId, the retry path via _meta['x402/payment'] or payment_signature, and that unpaid calls are free. That is exactly the operationally critical behavior an agent needs.

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?

Price and payment rails are front-loaded, then the question it answers, then the return contents, then the error path — a logical order. Some price/rail detail duplicates the title verbatim, which costs a little space.

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 takes on the burden of describing returns and does so (payments, payers, account fields, 402 readings with sources and timestamps). It omits things like result size or time-window configurability, but is otherwise sufficient to call correctly.

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 already 100%, so both parameters are documented structurally; the description nevertheless adds the sequencing rule that payment_signature should be omitted on the first call to receive requirements, which the schema alone does not convey.

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?

States a specific verb/resource pair (paid readings for an XRPL payee) and enumerates the returned data: raw 24h payments, payers, account fields, and endpoint 402 readings. It is clearly narrower than siblings like get_x402_activity or get_merchant_profile, though it never names an alternative to make that contrast explicit.

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?

Gives a concrete usage frame — 'solves one question: What x402 payment readings does this XRPL payee show?' — plus the full paid-call protocol including what happens unpaid and how to retry. It stops short of saying when a caller should prefer a sibling tool over this one.

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