Skip to main content
Glama

x402 merchant readings (paid: 0.02 RLUSD / 0.02 USDC on XRPL / 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 or 0.02 USDC 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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "get_merchant_profile"
  }
}

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.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description goes meaningfully beyond that: per-call pricing across two chains, the isError + PaymentRequired failure shape with a fresh invoiceId, and the fact that unpaid calls are free. It stops short of describing the per-chain response differences or what happens when payment is rejected/expired; annotating idempotentHint=false also sits slightly oddly with a fresh-invoice retry model, though it isn't a contradiction.

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?

Deprecation and the replacement are front-loaded, followed by price, scope, and failure/retry behavior in a logical order. It is somewhat dense with repeated pricing figures that also appear in the title, and 'Unpaid calls cost nothing' is mildly redundant with the PaymentRequired explanation, but nothing is truly wasted.

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 the return-shape burden and does so at a high level (payments, payers, account fields, 402 readings with sources and timestamps), plus the error path and payment mechanics. For a deprecated alias of get_merchant_readings this is close to complete; only the concrete field names and per-chain differences are absent.

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

Parameters3/5

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

Schema description coverage is 100%, so both address (XRPL classic payee) and payment_signature are fully documented in the schema, including the omit-on-first-call rule. The description reinforces the two payment channels but adds no syntax, format, or constraint detail beyond the schema, so baseline 3 applies.

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 names a specific verb and resource and frames the scope as a single question: 'What x402 payment readings does this XRPL payee show?', then enumerates the content (raw 24h payments, payers, account fields, endpoint 402 readings with sources and timestamps). It also discloses its deprecation and points to get_merchant_readings, so an agent can distinguish it from siblings in one read.

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?

It opens with an explicit when-not: 'Deprecated: use get_merchant_readings.' It then gives the full call sequence — first call returns a PaymentRequired error, retry with the signed payload in _meta["x402/payment"] or via payment_signature — plus the cost of each route. Nothing about selection or retry is left to inference.

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