Skip to main content
Glama
@cryptoapis-io/mcp-prepare-transactions

@cryptoapis-io/mcp-prepare-transactions

Official

Prepare unsigned XRP transaction

prepare_transactions_xrp
Read-onlyIdempotent

Build unsigned native XRP transfers with fee details for local signing and later broadcast.

Instructions

Build unsigned XRP transactions ready for signing. Returns the unsigned transaction and fee details. After preparing, sign locally (xrp_sign) and broadcast via broadcast_signed_transaction.

Actions: • native-coins: Build an unsigned native XRP transfer

Credits by action (source: OpenAPI): • native-coins: 60

Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.

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": {
      "action": "<action>",
      "network": "<network>"
    },
    "name": "prepare_transactions_xrp"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform
amountNoAmount in drops (required)
contextNoOptional context for the request - echoed back in response
networkYesNetwork name
sequenceNoOverride the account sequence number (advanced use)
toAddressNoRecipient's XRP address (required)
feePriorityNoFee priority tier - defaults to standard if omitted
fromAddressNoSender's XRP address (required)
destinationTagNoDestination tag - commonly required when sending to an exchange address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true and openWorldHint=true, and the description is consistent with a non-state-changing builder that never broadcasts. Beyond the annotations it adds the return payload (unsigned transaction and fee details) and per-action credit cost (60), plus a caveat that credits may change — useful operational context an agent cannot get from annotations alone.

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

Conciseness3/5

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

The critical purpose and workflow come first, which is good front-loading. However, roughly a third of the text is boilerplate about indicative credits and response headers, and a bulleted 'Actions' section is used for a single action, padding a short definition.

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 9-parameter tool with no output schema, the description covers purpose, return shape, downstream steps, and cost. It omits prerequisites such as the sender account needing to exist or be funded, but the essential call path is complete.

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% with 9 parameters, each documented (amount in drops, destinationTag for exchange addresses, feePriority default, sequence override). The description adds no parameter-level semantics beyond mentioning 'fee details' as a return value, so the schema is doing all the work and the baseline 3 applies.

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-plus-resource statement: 'Build unsigned XRP transactions ready for signing.' The chain specificity (XRP) combined with the stated output (unsigned transaction + fee details) makes it unambiguous against the sibling prepare_transactions_* tools for other chains.

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 a clear workflow handoff: sign locally with xrp_sign, then broadcast via broadcast_signed_transaction, which also implicitly tells the agent this tool does not sign or submit. It does not state exclusions or when to prefer another prepare tool beyond the chain-name distinction, so it falls short of explicit when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.