Skip to main content
Glama

XRPL payment verify

xrpl_payment_verify
Read-onlyIdempotent

Did this settled payment deliver the expected asset and amount to the expected account? When to use: After a payment has been submitted: to confirm from the ledger that it delivered the asset and amount you expected to the account you expected, including the partial-payment case. Prefer another tool: Before sending a payment (use /v1/xrpl/payment-readiness), or to list an account's recent payments (use /v1/xrpl/account/{address}/transactions). Example: xrpl_payment_verify {"hash":"002C12C53476173ABC1001505C40A24CCC90F642480C924C1B748E339FA1B069","destination":"rfaecmugiPaAkFpBT9Bmq8f3n42oXe6m1C","asset":"XRP","amount":"0.00001"} Paid: 0.01452 USDC or 0.0121 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.0025 EUR-denominated units (approx 400 calls per bundle) or 0.003 USD-denominated units (approx 273 calls per bundle).

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": {
      "hash": "<hash>",
      "destination": "<destination>",
      "asset": "<asset>",
      "amount": "<amount>"
    },
    "name": "xrpl_payment_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash of the payment to verify: 64 hexadecimal characters
assetYesAsset the payment had to deliver. `XRP`, or `CODE.issuer`: `CODE` is a 3-character standard code or 40 hexadecimal digits, and `issuer` is a classic XRPL address. Standard codes are case-sensitive: `usd` and `USD` are different tokens, so send the exact code. A standard code uses letters, digits or `?!@#$%^&*<>(){}[]|` and is never `XRP`; percent-encode the symbols in a URL (for example `%3F` for `?`). A 40-hex code is read in any case, and the 40-hex form of a standard code means that code. Or a 48-hex MPT issuance id (hex letters in either case), with `amount` in whole base units.
amountYesPositive decimal amount of asset the payment had to deliver (at most 6 decimals for XRP, whole base units for an MPT)
sourceNoAccount the payment had to come from; omit to skip the sender check
destinationYesAccount the payment had to reach: valid classic XRPL address (r..., checksum verified)
destination_tagNoDestination tag the payment had to carry: an integer from 0 to 4294967295; omit to skip the tag check
last_ledger_sequenceNoThe LastLedgerSequence the payer signed: an integer from 1 to 4294967295; pass it for a definitive answer when the transaction is absent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered; the description adds that the answer is derived from ledger state and that the partial-payment case is handled, which is real behavioral context. The trailing pricing paragraph discloses per-call cost, which is useful but sits oddly in a behavioral description and references Solana mainnet pricing on an XRPL tool, adding confusion rather than clarity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence, when-to-use block, alternative routing, and example are well front-loaded and tight. However, the final pricing sentences ('Paid: 0.01452 USDC or 0.0121 EURC per call on Solana mainnet') are off-topic for an XRPL verification tool, consume roughly a third of the text, and risk misleading the agent about which chain is being queried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description never states what the tool returns — a boolean, a status enum, delivered amounts, or a mismatch reason — even though a verification tool's answer shape is the core thing an agent needs. The hint that last_ledger_sequence yields a 'definitive answer when the transaction is absent' implies a multi-state result, but that shape is never spelled out.

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 coverage is 100%, so all seven parameters (including the optional source, destination_tag, and last_ledger_sequence) are already documented in the schema. The description adds a worked example call with hash, destination, asset, and amount, but does not add meaning beyond the schema for the optional checks or the MPT/issued-asset amount forms. 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?

Opens with a specific verb-and-resource question: did a settled payment deliver the expected asset and amount to the expected account, confirmed from the ledger. It explicitly names what it is not (payment-readiness, account transactions), so an agent can distinguish it from siblings like xrpl_account_transactions without opening any 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 to use: After a payment has been submitted' plus a 'Prefer another tool' block with concrete alternatives and the conditions that select them (before sending → readiness; listing payments → account transactions). Nothing about tool selection 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