Skip to main content
Glama

prepare_jito_stake

DestructiveIdempotent

Build an unsigned Jito stake-pool deposit transaction: deposit SOL into Jito's stake pool and receive jitoSOL, compatible with Ledger hardware wallets.

Instructions

Build an unsigned Jito stake-pool deposit tx: deposit amountSol SOL into Jito's stake pool and receive jitoSOL (Jito's liquid-staking token). Uses the SPL stake-pool program's raw DepositSol instruction with the user's wallet as the on-chain fundingAccount — no ephemeral keypair, Ledger-compatible. The high-level @solana/spl-stake-pool helper would generate an ephemeral SOL-transfer keypair (incompatible with Ledger-only signing); we hand-build the ix to avoid that. The jitoSOL ATA is created automatically on first stake (~0.002 SOL ATA rent, reclaimable). DURABLE NONCE REQUIRED — wallet must have run prepare_solana_nonce_init first; otherwise this tool errors. BLIND-SIGN on Ledger (the SPL stake-pool program is not in the Solana app's clear-sign registry) — match the Message Hash on-device after preview_solana_send. Unstake (immediate via WithdrawSol or delayed via WithdrawStake) is not yet exposed; tracked as a follow-up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYesSolana wallet that funds the deposit and receives jitoSOL. Must have an initialized durable-nonce account (prepare_solana_nonce_init) and enough SOL to cover the deposit + jitoSOL ATA rent (~0.002 SOL if the ATA doesn't exist yet) + tx fee.
amountSolYesHuman-readable SOL amount to stake (e.g. "1.5"). Decimals are SOL-native (9 dec); the builder rounds down to lamport precision.
Behavior5/5

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

The description goes beyond annotations by detailing the underlying DepositSol instruction, automatic ATA creation with 0.002 SOL rent, need for blind-signing, and use of durable nonce. It also explains why an ephemeral keypair is avoided.

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?

The description is front-loaded with the main action, then provides essential technical details and warnings in a structured manner. Every sentence adds value without redundancy.

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?

The description covers input requirements, behavior, and warnings thoroughly. It mentions that the tool builds an unsigned transaction and is compatible with preview_solana_send. No output schema is needed as return value is implied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds valuable context: wallet must have nonce init and sufficient SOL, amountSol is human-readable with 9-decimal precision and rounds down to lamports.

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 clearly states the tool builds an unsigned Jito stake-pool deposit transaction for staking SOL to receive jitoSOL. It distinguishes from siblings like Lido and Marinade staking by specifying Jito-specific details and Ledger compatibility.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use this tool (Jito staking) and specifies prerequisites (durable nonce, prepared nonce init). It also warns against using high-level helper for Ledger users and mentions that unstaking is not yet available.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/szhygulin/vaultpilot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server