Skip to main content
Glama

XRPLHub — XRPLScore, MPT issuer risk & payment pre-checks

prepare_batch_send

Pay 2 to 8 XRPL addresses with ONE signature, all or nothing (XRPL Batch, tfAllOrNothing — live on mainnet since 2026-10-09). Checks every payment on the live ledger first (destination exists or will be created, destination tag, Deposit Authorization, RLUSD trust line, sender balance + fee) and refuses a batch that would fail. Returns the UNSIGNED Batch transaction and a Xaman sign link. FREE. XRPLHub never signs: the sender signs with its own wallet, before sending any other transaction from that account (the batch uses the next sequence numbers).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesThe paying XRPL account (r...)
recipientsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/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 burden and delivers: it enumerates the pre-flight validations (destination existence, destination tag, Deposit Authorization, RLUSD trust line, sender balance + fee), states it refuses failing batches, declares the tool is FREE and never signs (non-custodial), and warns about sequence-number ordering.

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?

Front-loaded with the core purpose and one dense paragraph with little waste, though it packs validations, pricing, custody, and sequencing into a single long sentence chain, making it slightly heavy to parse.

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?

Even without an output schema, the description states what is returned (an UNSIGNED Batch transaction plus a Xaman sign link) and covers the operator model, validation behavior, and ordering constraint. Nothing essential for correct invocation 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 only 50%, so the description must compensate. It supplies the recipient count bounds (2–8), the significance of destination tags and currencies (XRP/RLUSD trust line handling), and the paying-account role, adding real meaning beyond the raw schema fields.

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+resource+scope: 'Pay 2 to 8 XRPL addresses with ONE signature, all or nothing.' It binds the tool to the XRPL Batch / tfAllOrNothing feature and clearly frames it as a batch-payment preparation step, which distinguishes it from single-payment siblings like precheck_payment.

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?

Gives clear context for when this applies (one-signature multi-payment, all-or-nothing, checked against the live ledger) and a sequencing constraint ('before sending any other transaction from that account'). It does not name the specific alternative (e.g. precheck_payment) or an explicit when-not-to-use, so it stops short of the full 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.