Skip to main content
Glama

get_ledger_device_info

Read-onlyIdempotent

Probes a connected Ledger device and reports the currently open app name and version. Enables context-aware instructions to switch apps before transaction signing.

Instructions

READ-ONLY — probe the connected Ledger device over USB HID and report which app is currently open (name + version), plus an actionable hint for the agent to relay. Uses the dashboard-level GET_APP_AND_VERSION APDU so it works whether the user is on the dashboard or inside a chain app — you get 'BOLOS' / 'OS' for the dashboard and e.g. 'Solana' 1.10.2 / 'Ethereum' 1.13.0 / 'Tron' 0.2.0 / 'Bitcoin' 2.3.0 when an app is open. deviceConnected: false is returned cleanly (with a hint) when no Ledger is plugged in or the udev rules are missing on Linux; the tool never throws. Call this BEFORE pair_ledger_solana / pair_ledger_tron so you can replace 'open the Solana app and enable blind-signing' with a context-aware instruction like 'I see your Bitcoin app is open — switch to Solana (device → right button → Solana → both buttons)'. One USB round-trip; no chain RPC calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint), the description adds rich behavioral context: it uses the GET_APP_AND_VERSION APDU, works on dashboard or chain apps, lists example outputs for various apps, and describes the clean error behavior when no device is connected or udev rules are missing. No contradictions 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 paragraph that front-loads the core purpose, then provides detailed examples and usage context. While it is lengthy, all information is valuable and well-organized. Could be slightly more concise but effective.

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?

Given no output schema, the description fully explains the return values (app name+version, hint, deviceConnected: false). It covers edge cases (no device, missing udev rules) and provides actionable instructions for the agent on how to interpret and use the information. Complete and self-contained.

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?

The tool has no parameters, so the description does not need to add parameter information. The baseline is 4, and the description correctly omits param details.

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 probes the connected Ledger device over USB HID and reports the currently open app (name and version) plus an actionable hint. It explicitly distinguishes from sibling tools like pair_ledger_solana by positioning this as a pre-check to enable context-aware instructions.

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 explicitly tells when to use: call BEFORE pair_ledger_solana/pair_ledger_tron. It provides examples of how the result can be used to inform the user. It also notes that the tool never throws and returns clean error states, so the agent knows it's safe to call.

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