Skip to main content
Glama

prepare_transactions__prepare_transactions_solana

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

Actions: • native-coins: Build an unsigned native SOL transfer • spl-tokens: Build an unsigned SPL token transfer

Credits by action (source: OpenAPI): • native-coins: 180 • spl-tokens: 240

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
amountNoAmount in lamports for native-coins, or token base units for spl-tokens (required for all actions)
contextNoOptional context for the request - echoed back in response
networkYesNetwork name
toAddressNoRecipient address (required for all actions)
feePriorityNoFee priority tier - defaults to standard if omitted
fromAddressNoSender address (required for all actions)
tokenContractNoSPL token mint address (required for spl-tokens)
tokenStandardNoSPL token program standard (spl-tokens only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the return contents ('unsigned transaction and fee details'), the required local-signing workflow, and per-action credit costs. It omits auth/permission requirements and whether anything is mutated server-side, which keeps it from a 5.

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?

Purpose and the action/credit breakdown are front-loaded and bullet-structured. The credit disclaimer ('indicative only and may change at any time' plus the response-header note) is mildly redundant, costing a point.

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?

No output schema exists, so the description correctly compensates by summarizing return values and the follow-up broadcast step. It covers actions, costs, and workflow, though auth prerequisites remain unstated.

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 baseline is 3, but the description adds genuine meaning to the 'action' enum by explaining what native-coins and spl-tokens each build, beyond the schema's terse 'Action to perform'. The remaining eight parameters get no description-level elaboration.

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 ('Build unsigned Solana transactions ready for signing') and distinguishes itself from sibling prepare_transactions tools for EVM, Kaspa, Tezos, Tron, UTXO and XRP. The action breakdown further clarifies what gets built.

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?

Explicitly routes the agent to the downstream step: 'After preparing, sign locally and broadcast via broadcast_signed_transaction,' naming a real sibling tool. It lacks explicit when-not-to-use guidance (e.g., vs simulate), 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.