Skip to main content
Glama

x402 merchant readings (paid: 0.03 RLUSD or 0.03 USDC on Base via x402)

get_merchant_readings
Read-only

Paid: 0.03 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.03 USDC on Base (eip155:8453). Recorded measurements (not advice) for an x402 merchant (payee) on XRPL mainnet from the ledger scan: payment counts and volume, payer mix and concentration, and stated caveats. 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

TableJSON 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?

Annotations already declare readOnlyHint=true and idempotentHint=false, but the description adds substantial behavior the annotations cannot: the concrete price and rails (0.03 RLUSD via x402 on xrpl:0, or 0.03 USDC on Base/eip155:8453), the failure mode (isError with a PaymentRequired object and fresh invoiceId), the exact retry channel, and the fact that unpaid attempts are free. This is exactly the payment/auth context an agent needs before invoking.

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 paid/price fact and then the returned data, then the payment flow — a sensible order for the agent's decision path. Slightly redundant (price/rail repeated between title and first sentence) and the middle sentence is long, but no filler beyond that.

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-value burden and does name the reported dimensions (payment counts/volume, payer mix/concentration, caveats), plus complete cost, error, and retry semantics. It stops short of describing payload shape or whether results are paginated/time-bounded, which the ledger-scan framing leaves slightly open.

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 baseline is 3; the description earns a bump by documenting the out-of-band payment path (_meta["x402/payment"]) that the schema cannot express, and by framing payment_signature as the fallback for hosts that cannot set _meta and as optional on the first call. It does not add format detail for address beyond the schema pattern.

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 (fetch/return) and resource with the exact contents: 'Recorded measurements (not advice) for an x402 merchant (payee) on XRPL mainnet from the ledger scan: payment counts and volume, payer mix and concentration, and stated caveats.' This tells an agent precisely what data comes back and clearly separates it from a profile-style tool. It never names or contrasts a sibling (e.g. get_merchant_profile), so it stops short of a 5.

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 explicit operating context: call without payment to get the PaymentRequired object, then retry with the signed payload in _meta["x402/payment"] or the payment_signature argument, and notes 'Unpaid calls cost nothing.' That is a clear when/how, but there is no guidance on when to prefer this tool over sibling readings tools (e.g. get_merchant_profile or get_x402_activity).

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