Skip to main content
Glama

pair_ledger_solana

Idempotent

Pair a directly-connected Ledger device for Solana signing via USB. Requires unlocked device and Solana app open. Supports multiple accounts via account index.

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?

Annotations already indicate idempotent and non-destructive behavior. Description adds valuable context: caching of the device address, derivation path details, and actionable error messages on failure. It also explains preconditions (USB, unlocked, Solana app) that are not covered by annotations, providing a clearer picture of tool behavior.

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?

Description is about four sentences, front-loaded with purpose, and uses structured 'REQUIREMENTS:' for clarity. It includes necessary technical details (e.g., derivation path, library name) without being overly verbose. Minor redundancy with the schema is acceptable.

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?

Given no output schema, the description covers preconditions, usage pattern, and error conditions, but lacks explicit mention of the success return value. It implies caching occurs but does not state what the tool returns on success (e.g., confirmation or address). This leaves a small gap in completeness.

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 coverage is 100% with a detailed parameter description for accountIndex. The description reiterates the default and ability to call multiple times, which is already present in the schema. It adds minimal extra meaning beyond what the schema provides, so baseline of 3 is appropriate.

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 pairs a directly-connected Ledger device for Solana signing, specifying the verb 'pair' and resource 'Ledger device for Solana' while distinguishing it from sibling tools for other chains (e.g., pair_ledger_btc, pair_ledger_tron) by mentioning Solana specifically.

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?

Description provides explicit requirements (USB connection, device unlocked, Solana app open) and usage context (call before prepare_solana_* or send_transaction, call multiple times for additional accounts). It implicitly contrasts with WalletConnect and mentions same USB path as TRON, but does not explicitly name alternatives for other chains; however, the sibling tool names and chain-specific focus make the use case clear.

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