Skip to main content
Glama

pair_ledger_solana

Idempotent

Pair a connected Ledger device to enable Solana signing via USB. Reads the Solana account address from the device for transaction preparation.

Instructions

Pair the host's directly-connected Ledger device for Solana signing. REQUIREMENTS: Ledger plugged into the machine running this MCP (USB, not WalletConnect), device unlocked, and the 'Solana' app open on-screen. Ledger Live's WalletConnect integration does NOT expose Solana accounts, so Solana signing goes over USB HID via @ledgerhq/hw-app-solana (same USB path as TRON). Reads the device address at m/44'/501'/<accountIndex>' (default accountIndex=0 — the first Solana account in Ledger Live) and caches it so get_ledger_status can report it under the solana: [...] section. Call multiple times with different accountIndex values to pair additional Solana accounts. Call this once per session (per account) before prepare_solana_* or send_transaction with a Solana handle. If the Solana app isn't open, the device is locked, or the derivation path doesn't match your Ledger Live setup, returns an actionable error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIndexNoLedger Solana account slot (hardened BIP-44 account index at path `44'/501'/<n>'`). 0 = first Solana account in Ledger Live, 1 = second, etc. Omit to pair the default account (index 0). Call multiple times with different indices to expose multiple Solana accounts in `get_ledger_status.solana`.
Behavior4/5

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

Adds context beyond annotations: explains it reads device address at a derivation path and caches it, and that it's idempotent (multiple calls with same accountIndex re-cache). Annotations already indicate idempotentHint=true and non-destructive, so description reinforces and adds detail.

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?

Well-structured with clear sections: purpose, requirements, technical details, usage, and error info. Slightly verbose but all sentences add value; no 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?

Completely covers prerequisites, usage pattern, error conditions, and cross-references related tools (get_ledger_status, prepare_solana_*, send_transaction). No output schema needed for such a simple tool; description is sufficient.

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?

The only parameter, accountIndex, already has a thorough description in the schema (100% coverage). The description repeats the derivation path and default value, and adds context about multiple calls. It adds marginal value beyond the schema.

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 pairs a Ledger device for Solana signing via USB HID. It specifies the derivation path and distinguishes from siblings like pair_ledger_tron by mentioning shared USB path and from WalletConnect alternatives by stating they don't work for Solana.

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?

Explicit requirements (Ledger plugged, unlocked, Solana app open) and usage pattern: call once per session per account before prepare_solana_* or send_transaction. Also explains calling multiple times for additional accounts and error handling when conditions fail.

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