Skip to main content
Glama

XRPL banking data (pay per call in XRP or RLUSD)

Fees and reserve an XRPL transaction plan will cost, and whether an account can afford it.

tx_cost_plan
Read-onlyIdempotent

Fees and reserve an XRPL transaction plan will cost, and whether an account can afford it. Use when: Before executing a set of XRPL transactions (trust lines, offers, escrows, checks, AMM deposit or create, payments, account deletion): how much XRP goes to fees and how much gets locked as reserve. Pass address to check whether that account's free balance covers it. Price: 0.002 RLUSD per call, or the equivalent in XRP, paid on the XRP Ledger with x402 (the first call returns the payment requirements).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tx_cost_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
checksNo
offersNo
addressNo
escrowsNo
paymentsNo
amm_createNo
trust_linesNo
amm_depositsNo
account_deleteNo

Output Schema

NameRequiredDescriptionDefault
feesYes
planYes
accountNo
networkYes
productYes
reserveYes
data_as_ofYes
disclaimerYes
assumptionsNo
transactionsYes
source_ledgerNo
total_recommended_dropsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious context beyond that: the call is paid (0.002 RLUSD or XRP equivalent), settled on-ledger via x402, and the first call returns payment requirements rather than results. It does not discuss estimate precision or whether cached/network conditions affect the numbers.

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 structure is front-loaded and logical: purpose, then when-to-use with covered operation types, then the address check, then pricing. Nearly every sentence carries information, though the opening sentence is clumsily worded and the payment sentence packs two distinct facts (price and first-call behavior) into one long clause.

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 nine-parameter, paid tool it covers the essentials an agent needs: what is computed, when to call it, the optional affordability branch, and the x402 payment flow on first invocation. Return-value detail is handled by the existing output schema, so the remaining gap is mainly parameter units and defaults.

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 0% across nine parameters, so the description must carry the load and only partially does. The 'Use when' list maps loosely onto the transaction-count parameters, and it explains that address triggers the affordability check, but it never states that the other parameters are counts of each operation, their accepted range, or how omitted ones are treated.

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?

The description names a specific outcome: the XRP fees and reserve a proposed set of XRPL transactions will cost, plus an affordability check. That distinguishes it from siblings like account_screen or corridor_quote. The opening phrasing ('Fees and reserve an XRPL transaction plan will cost') is grammatically awkward, which slightly blunts an otherwise clear statement.

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 gives an explicit trigger ('Use when: Before executing a set of XRPL transactions') and enumerates the covered transaction types (trust lines, offers, escrows, checks, AMM deposit/create, payments, account deletion), plus the condition for passing address. It stops short of naming an alternative tool or stating when not to use it, so it falls short of a 5.

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