Skip to main content
Glama

x402 merchant readings (paid: 0.02 RLUSD / 0.02 USDC on Base / 0.02 RLUSD on Base via x402) (deprecated alias of get_merchant_readings)

get_merchant_profile
Read-only

Deprecated: use get_merchant_readings. 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. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"XRPL classic address of the payee (payTo) to profile"New value: +"XRPL classic address of the payee (payTo) to report on"
  2. 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."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, open-world and non-idempotent, but the description goes well beyond them: exact price (0.02 RLUSD on XRPL mainnet, 0.02 USDC on Base), the failure mode (isError + PaymentRequired with fresh invoiceId), and the explicit reassurance that unpaid calls cost nothing. The fresh-invoice-per-call statement also usefully explains why idempotentHint is false. Only minor gap is that it doesn't say whether an unpaid call consumes any quota or how long an invoice stays valid.

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?

Front-loads the most decision-relevant fact (deprecation and replacement), then price, then purpose, then the failure/retry mechanic. Dense but every sentence carries actionable information; the payment channel details are repeated in the title, which is mild redundancy.

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?

No output schema exists, and the description compensates by listing the returned readings and their provenance fields. For a two-parameter read-only paid endpoint, the description covers cost, authorization path, error behavior, and replacement routing — nothing an agent needs 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 description coverage is 100%, so the two parameters are already documented; baseline would be 3. The description adds value by explaining the payment_signature argument's role in the retry loop and by naming the _meta["x402/payment"] channel, which does not appear in the schema at all.

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 the specific resource (x402 payment readings for one XRPL payee) and enumerates the returned fields (24h payments, payers, account fields, endpoint 402 readings with sources/timestamps). It also explicitly declares itself a deprecated alias and names the replacement, get_merchant_readings, so an agent can distinguish it from its sibling without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not-to-use ('Deprecated: use get_merchant_readings') plus the full paid-call flow: first call without payment returns isError plus a PaymentRequired object with a fresh invoiceId, then retry with the signed payload. Both the alternative tool and the alternative payment channel (_meta["x402/payment"] vs payment_signature) are named with the condition that selects each.

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