Skip to main content
Glama

verify_ledger_firmware

Read-onlyIdempotent

Verify a connected Ledger device's firmware against a known-good manifest, returning a structured verdict on authenticity and update status.

Instructions

READ-ONLY firmware-pinning check (issue #325 P3). Reads the connected Ledger's Secure Element firmware version + MCU bootloader version + device target_id via the dashboard-level getDeviceInfo APDU (CLA=0xE0 INS=0x01), asserts them against a hardcoded canonical manifest covering Nano S Plus / Nano X / Stax / Flex. REQUIRES the device to be in DASHBOARD MODE — no app open. Ask the user to close every Ledger app (return to the dashboard / home menu) before calling. Returns one of: verified (firmware in known-good list), warn (at or above floor but not in known-good — likely a fresh Ledger release we haven't manifest-bumped; surface to user but proceed), below-floor (firmware below the supported floor — refuse signing until upgraded via Ledger Live Manager), unknown-device (target_id doesn't match any known model — too-new MCP / discontinued / counterfeit), wrong-mode (an app is open — close apps and retry), no-device (no Ledger over USB), error (unexpected failure). One USB round-trip; never throws — surfaces every failure as a structured verdict for the agent to relay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Discloses that the tool performs a single USB round-trip, never throws errors, and returns structured verdicts for all outcomes, adding value beyond annotations which already indicate read-only and idempotent behavior.

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 concise (~150 words), well-structured with clear return values and conditions, containing no redundant information.

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?

Comprehensively covers prerequisites, return values, error types, and side effects, making it self-contained despite the lack of an output schema.

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?

Input schema has zero parameters; description adds no parameter info but that is unnecessary. The baseline of 4 is appropriate for a parameter-free tool.

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 identifies the tool as a 'READ-ONLY firmware-pinning check' that reads specific firmware and bootloader versions and asserts against a manifest, differentiating it from sibling tools like verify_ledger_attestation.

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?

Explicitly states the prerequisite that the device must be in dashboard mode and instructs the user to close apps. Does not explicitly contrast with alternatives, but the context is sufficiently 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