Skip to main content
Glama

get_ledger_status

Read-onlyIdempotent

Check WalletConnect session status and cached Ledger pairings to resolve wallet references (e.g., 'my wallet', 'account 2') to concrete addresses before executing transactions or portfolio queries.

Instructions

Report whether a WalletConnect session with Ledger Live is active (EVM chains) AND whether any TRON or Solana Ledger pairings are cached (USB HID — see pair_ledger_tron / pair_ledger_solana). Returns accounts: 0x…[] — the list of EVM wallet addresses the user has connected — and optionally tron: [{ address, path, appVersion, accountIndex }, …] and solana: [{ address, path, appVersion, accountIndex }, …] (one entry per paired non-EVM account, ordered by accountIndex) if the corresponding pair_ledger_* tool has been run at least once. Call this FIRST whenever the user refers to their wallet(s) by position or nickname instead of by address — e.g. "my wallet", "my TRON wallet", "the first address", "account 2", "second wallet", "second TRON account" — so you can resolve the reference to a concrete 0x… / T… before invoking any prepare_* / swap / send / portfolio tool that takes a wallet / tronAddress argument. Do NOT ask the user to paste an address if it's already in accounts or a tron[*].address here. SECURITY: the returned wallet/peerUrl (EVM) are self-reported by the paired WC app — any peer can claim to be 'Ledger Live' at wc.apps.ledger.com, so the wallet name and URL alone do NOT prove identity. The cryptographic discriminator is the WC session topic (also returned here). Before the FIRST send_transaction of a session, ask the user to open Ledger Live → Settings → Connected Apps (mobile: Manager → WalletConnect) and confirm a WalletConnect session exists whose topic ends with the last 8 chars of the topic field (surface those 8 chars in your prompt, e.g. "…a1b2c3d4"). If no matching session is listed there, a different peer is impersonating Ledger Live — do NOT proceed. The physical Ledger device's on-screen confirmation is still the final check on tx contents, but the topic cross-check is what binds the WC session to the user's real Ledger Live install. The tron array is read from the cache populated by pair_ledger_tron; send_transaction re-probes USB on every TRON sign, so the cache cannot be spoofed into approving a tx for the wrong account. If the response has peerUnreachable: true, the WalletConnect relay couldn't confirm Ledger Live is connected — the cached accounts are still fine for address resolution (read-only questions about balances / history / portfolio), but BEFORE any signing flow you MUST ask the user whether to re-pair via pair_ledger_live. The exact call-to-action text is in peerUnreachableGuidance; splice it verbatim into your reply rather than paraphrasing. Never auto-re-pair on a read-only request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations indicate read-only, idempotent, non-destructive. Description adds details about cached data, security (topic verification, spoofing risks), and peerUnreachable behavior. 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?

Description is lengthy but well-structured and front-loaded. Each sentence adds necessary context for security and correct usage. Slight verbosity justified by tool's critical role.

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?

Despite no output schema, description fully documents return format, field semantics, error conditions (peerUnreachable), and security workflow. Complete for a status tool with complex usage context.

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?

No parameters; baseline is 4. Description does not need to add param info, and it adds no param semantics (none exist).

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 reports WalletConnect session status for EVM and cached pairings for TRON/Solana, distinguishing from sibling pairing tools. It specifies return fields and when to call it.

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?

Provides explicit guidance on when to call first (for resolving wallet references), when not to ask for addresses, security verification steps, and handling peerUnreachable. References sibling tools and tells agent actions.

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