Skip to main content
Glama

prepare_jito_stake

DestructiveIdempotent

Deposit SOL into Jito's stake pool and receive jitoSOL liquid staking tokens. Builds an unsigned transaction compatible with Ledger and durable nonces.

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?

Annotations already indicate destructive and idempotent nature, but the description adds crucial behavioral context: no ephemeral keypair (Ledger-compatible), ATA auto-creation with reclaimable rent, durable nonce requirement, blind-sign warning, and future roadmap for unstaking. No contradiction with annotations.

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 description is a single dense paragraph, front-loaded with the core action. While efficient, it could benefit from bullets for caveats (nonce, blind-sign, ATA rent) to improve readability. Still, every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description does not specify the structure of the returned unsigned transaction (e.g., format, fields). This leaves a gap for the agent regarding what to expect from the tool's output. Annotations help with safety but not return value.

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 covers both parameters with detailed descriptions. The description adds practical context (wallet must have nonce and enough SOL for deposit+rent+tx fee; amountSol is human-readable with 9 decimals), enriching the schema's meaning.

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?

Description clearly states the tool builds an unsigned Jito stake-pool deposit transaction, specifying the program, instruction, and what the user receives (jitoSOL). It distinguishes itself from other staking tools by naming Jito and providing unique details (no ephemeral keypair, Ledger-compatible).

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?

Provides explicit prerequisites (durable nonce must be initialized), warns about blind-signing on Ledger, and mentions that unstaking is not yet available. However, it does not contrast with alternatives like native staking or other LSTs, so the agent must infer use cases.

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/recon-crypto-mcp'

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