Skip to main content
Glama

Challenger XRPL Node

xrpl_prepare_tx

Read-onlyIdempotent

Safely prepare a transaction for human wallet signing (Xaman, Crossmark, Ledger). Simulates the tx first, encodes the canonical unsigned binary blob and STX signing digest, and refuses any private key/seed input.

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": {
      "tx_json": "<tx_json>"
    },
    "name": "xrpl_prepare_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
tx_jsonYesUnsigned XRPL transaction JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes beyond them by disclosing the internal simulate-then-encode pipeline, the exact artifacts produced (canonical unsigned binary blob, STX signing digest), and a security guarantee (rejects private key/seed input). It does not say whether anything is broadcast or persisted, which is the only remaining behavioral gap.

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

Conciseness5/5

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

Two sentences, front-loaded with the purpose and followed by the mechanics and safety guarantee. Every clause carries new information; nothing is repeated from the name or annotations.

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 one-parameter tool with no output schema, the description covers purpose, pipeline, produced artifacts, and a key safety constraint. A little more on what the caller should do with the returned blob/digest (or the expected response shape) would close the remaining gap.

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?

With a single parameter at 100% schema coverage, the schema already documents tx_json as 'Unsigned XRPL transaction JSON', so the baseline is 3. The description's rejection of private key/seed input adds a useful constraint on what must not go in that object, but it gives no format or field-level guidance for the nested transaction body.

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?

Specific verb+resource ('prepare a transaction') narrowed by a purpose qualifier ('for human wallet signing (Xaman, Crossmark, Ledger)'), which makes the intent unambiguous. It stops short of explicitly distinguishing itself from the sibling xrpl_simulate_tx, even though it notes it simulates internally.

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

Usage Guidelines3/5

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

The human-signing scenario clearly implies when to reach for it, and 'refuses any private key/seed input' bounds what it accepts. However, there is no explicit when-not guidance and no named alternative (e.g. xrpl_simulate_tx for simulation-only or xrpl_sandbox_exec for key-holding flows).

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.