Skip to main content
Glama

Challenger XRPL Node

xrpl_simulate_tx

Read-onlyIdempotent

Dry-run any unsigned XRPL transaction in-process using Challenger's Rust xrpl-tx-engine against live Mainnet state. Returns exact TER result, fee, and before/after balance diffs without spending XRP or requiring private keys.

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_simulate_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
tx_jsonYesXRPL transaction JSON (TransactionType, Account, Destination, Amount, etc.). Fee and Sequence are auto-filled if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), it discloses what the run returns (exact TER result, fee, before/after balance diffs) and two key operational facts: no XRP is spent and no private keys are required. There is mild tension with openWorldHint=false given the 'live Mainnet state' claim, but 'in-process' suggests a closed simulation, so this reads as nuance rather than contradiction.

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, zero filler, with the core capability front-loaded and the cost/safety guarantees following immediately. Every clause carries information an agent needs before invoking.

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

Completeness5/5

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

There is no output schema, yet the description specifies the return payload (TER result, fee, balance diffs) and the preconditions (unsigned tx, no keys, no XRP spent). For a single-parameter read-only tool, nothing essential is missing.

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 coverage is 100%, so the tx_json structure is already documented, but the description adds the meaningful constraint that the transaction must be unsigned and that simulation is against live state (which affects how results should be interpreted). The Fee/Sequence auto-fill detail is repeated from the schema rather than added.

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?

States a specific verb and resource ('Dry-run any unsigned XRPL transaction') plus the mechanism ('in-process ... xrpl-tx-engine against live Mainnet state'). This clearly separates it from siblings such as xrpl_explain_tx (explanation) and xrpl_prepare_tx (construction), so an agent can pick it without opening a schema.

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?

The description establishes clear usage context: the input must be an unsigned transaction and the operation is a dry run against live Mainnet state that spends no XRP and needs no keys. It stops short of naming an alternative for the cases where the agent actually wants to sign/broadcast or wants a static explanation, so no explicit when-not routing is given.

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.