Skip to main content
Glama

XRPLHub — XRPLScore & XRPL actions

build_xrpl_transaction

BUY the unsigned, ready-to-sign transaction for one of 34 XRPL actions. Not free: returns the exact x402 payment resource (GET /api/x402/tx?...) at the storefront price, payable in USDC on Base or RLUSD on XRPL. Pay it with an x402 client and that response is the txjson; you sign it with your own wallet (XRPLHub never signs). No payment, no txjson. Call preview_xrpl_transaction (free) first. Params: product_id, wallet_address (r..., the signer), params (object), confirm_caution (caution-tier only, after the wallet owner has read the preview).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoPer-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency, destination, amount | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | ammwithdraw: asset2Currency | smartswap: receiveValue, receiveCurrency | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Currency | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | depositpreauth: sender | escrow: destination, amount, finishAfter | identity: domain | did: uri | compliance: domain, didUri | credentialissue: subject, credentialType | permdomain: (no params)
product_idYesWhich XRPL action to buy. Call list_xrpl_services for the full catalogue with each id's label, tier, price and parameters.
wallet_addressYesXRPL classic address (r...) of the account that will sign the transaction
confirm_cautionNoCaution-tier services (multisig lockdown, No Freeze, MPT issuance…) can be irreversible. Set true ONLY after the wallet owner has read the preview_xrpl_transaction `irreversible` block; it is added to the payment resource.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / params / description
      Previous value: -"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency, destination, amount | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | ammwithdraw: asset2Currency | smartswap: receiveValue, receiveCurrency | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Currency | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | depositpreauth: sender | escrow: destination, amount, finishAfter | identity: domain | did: uri | compliance: domain, didUri | credentialissue: subject, credentialType | permdomain: credentialType"New value: +"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency, destination, amount | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | ammwithdraw: asset2Currency | smartswap: receiveValue, receiveCurrency | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Currency | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | depositpreauth: sender | escrow: destination, amount, finishAfter | identity: domain | did: uri | compliance: domain, didUri | credentialissue: subject, credentialType | permdomain: (no params)"
  2. Changed2 schema fields changed
    • addedInput schema / properties / confirm_caution
      Added value: +{
      +  "description": "Caution-tier services (multisig lockdown, No Freeze, MPT issuance…) can be irreversible. Set true ONLY after the wallet owner has read the preview_xrpl_transaction `irreversible` block; it is added to the payment resource.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / product_id / description
      Previous value: -"Which XRPL action to build. Call list_xrpl_services for the full catalogue with each id's label, tier and parameters."New value: +"Which XRPL action to buy. Call list_xrpl_services for the full catalogue with each id's label, tier, price and parameters."
  3. Changed2 schema fields changed
    • changedInput schema / properties / params / description
      Previous value: -"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency, destination, amount | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | dextrade: takerGetsValue, takerPaysValue | smartswap: receiveValue, receiveCurrency | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Currency | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | desttagreq: (no params) | escrow: destination, amount, finishAfter | identity: domain | did: uri | compliance: domain, didUri | credentialissue: subject, credentialType | permdomain: credentialType"New value: +"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency, destination, amount | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | ammwithdraw: asset2Currency | smartswap: receiveValue, receiveCurrency | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Currency | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | depositpreauth: sender | escrow: destination, amount, finishAfter | identity: domain | did: uri | compliance: domain, didUri | credentialissue: subject, credentialType | permdomain: credentialType"
    • changedInput schema / properties / product_id / enum
      Previous value: -[
      -  "multisig",
      -  "regkey",
      -  "depositauth",
      -  "desttag",
      -  "lockdown",
      -  "issuerdecl",
      -  "issuercfg",
      -  "tokenfee",
      -  "trustline",
      -  "trustsend",
      -  "rippling",
      -  "mptissue",
      -  "mptsend",
      -  "globalfreeze",
      -  "freezeline",
      -  "dexorder",
      -  "dextrade",
      -  "smartswap",
      -  "ammlaunch",
      -  "ammentry",
      -  "paychannel",
      -  "tickets",
      -  "nftmint",
      -  "nftburn",
      -  "nftoffer",
      -  "checkcreate",
      -  "checkcash",
      -  "checkcancel",
      -  "desttagreq",
      -  "escrow",
      -  "identity",
      -  "did",
      -  "compliance",
      -  "credentialissue",
      -  "permdomain"
      -]New value: +[
      +  "multisig",
      +  "regkey",
      +  "depositauth",
      +  "desttag",
      +  "issuerdecl",
      +  "issuercfg",
      +  "tokenfee",
      +  "trustline",
      +  "trustsend",
      +  "rippling",
      +  "mptissue",
      +  "mptsend",
      +  "globalfreeze",
      +  "freezeline",
      +  "dexorder",
      +  "ammwithdraw",
      +  "smartswap",
      +  "ammlaunch",
      +  "ammentry",
      +  "paychannel",
      +  "tickets",
      +  "nftmint",
      +  "nftburn",
      +  "nftoffer",
      +  "checkcreate",
      +  "checkcash",
      +  "checkcancel",
      +  "depositpreauth",
      +  "escrow",
      +  "identity",
      +  "did",
      +  "compliance",
      +  "credentialissue",
      +  "permdomain"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / params / description
      Previous value: -"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | dextrade: takerGetsValue, takerPaysValue | smartswap: takerGetsValue, takerPaysValue | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Value | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | desttagreq: (no params) | escrow: destination, amount, finishAfter | identity: data | did: uri | compliance: (no params) | credentialissue: subject, credentialType | permdomain: credentialType"New value: +"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency, destination, amount | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | dextrade: takerGetsValue, takerPaysValue | smartswap: receiveValue, receiveCurrency | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Currency | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | desttagreq: (no params) | escrow: destination, amount, finishAfter | identity: domain | did: uri | compliance: domain, didUri | credentialissue: subject, credentialType | permdomain: credentialType"
  5. Changed1 schema field changed
    • changedInput schema / properties / params / description
      Previous value: -"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency | rippling: (no params) | mptissue: (no params) | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | dextrade: takerGetsValue, takerPaysValue | smartswap: takerGetsValue, takerPaysValue | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Value | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | desttagreq: (no params) | escrow: destination, amount, finishAfter | identity: data | did: uri | compliance: (no params) | credentialissue: subject, credentialType | permdomain: credentialType"New value: +"Per-service parameters. Call list_xrpl_services for types + examples for every field. Required fields by id — multisig: signers, quorum | regkey: regularKey | depositauth: (no params) | desttag: (no params) | lockdown: (no params) | issuerdecl: (no params) | issuercfg: (no params) | tokenfee: transferFee | trustline: issuer, currency | trustsend: issuer, currency | rippling: (no params) | mptissue: name, ticker, maximumAmount | mptsend: destination, mptIssuanceId, amount | globalfreeze: (no params) | freezeline: holder, currency | dexorder: takerGetsValue, takerPaysValue | dextrade: takerGetsValue, takerPaysValue | smartswap: takerGetsValue, takerPaysValue | ammlaunch: assetValue, asset2Value | ammentry: assetValue, asset2Value | paychannel: destination, amount, publicKey | tickets: (no params) | nftmint: uri | nftburn: nftokenId | nftoffer: nftokenId, amount | checkcreate: destination, amount | checkcash: checkId, amount | checkcancel: checkId | desttagreq: (no params) | escrow: destination, amount, finishAfter | identity: data | did: uri | compliance: (no params) | credentialissue: subject, credentialType | permdomain: credentialType"
  6. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does it well: it discloses that the tool returns a payment resource rather than the txjson directly, that XRPLHub never signs, that the service is paid, and 'No payment, no txjson.' It also mentions confirm_caution is for caution-tier irreversible services after reading the preview, adding important risk disclosure.

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?

The description is dense but every sentence contributes: purpose, cost, payment method, signing behavior, prerequisite, and parameter summary. It is somewhat long but not bloated; the key facts are front-loaded, and the parameter list at the end serves as a quick reminder.

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?

For a tool with no output schema and no annotations, this description provides a solid mental model: it explains the payment resource, how the response becomes txjson, who signs, and the caution flag. It could be slightly more explicit about the payment resource response structure, but the core information needed to invoke it correctly is present.

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 the baseline is 3. The description adds a small amount of semantic value by noting wallet_address is the signer and confirm_caution applies only after the wallet owner reads the preview, but most parameter meaning is already in the schema. It does not significantly exceed the baseline.

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 opens with a specific verb and resource: 'BUY the unsigned, ready-to-sign transaction for one of 34 XRPL actions.' It clearly distinguishes itself from its free sibling preview_xrpl_transaction and from list_xrpl_services by framing the action as a paid purchase, so an agent can immediately tell what this tool does.

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?

It explicitly instructs 'Call preview_xrpl_transaction (free) first,' giving a clear prerequisite and sequencing. It also warns 'Not free' and explains the payment flow, but it doesn't explicitly name when not to use the tool beyond the preview-first rule. That is sufficient guidance for most agents.

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.