Skip to main content
Glama

pair_ledger_tron

Idempotent

Pair a Ledger device connected via USB for TRON signing. Reads the address at m/44'/195'/'/0/0 and caches it for use with other TRON tools. Call once per account index before preparing transactions.

Instructions

Pair the host's directly-connected Ledger device for TRON signing. REQUIREMENTS: Ledger plugged into the machine running this MCP (USB, not WalletConnect), device unlocked, and the 'Tron' app open on-screen. Ledger Live's WalletConnect relay does not currently honor the tron: CAIP namespace, so TRON signing goes over USB HID via @ledgerhq/hw-app-trx. Reads the device address at m/44'/195'/'/0/0 (default accountIndex=0) and caches it so get_ledger_status can report it. Call multiple times with different accountIndex values (0, 1, 2, …) to pair additional TRON accounts — each call adds to the cache; subsequent calls for the same index refresh in place. Call this once per session (per account) before calling any prepare_tron_* tool or send_transaction with a TRON handle. If the TRON app isn't open, or the device is locked, returns an actionable error describing what to fix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIndexNoLedger TRON account slot (hardened BIP-44 account index). 0 = first account, 1 = second, etc. — same convention Ledger Live uses. Omit to pair the default account (index 0). Call pair_ledger_tron multiple times with different indices to expose multiple TRON accounts in get_ledger_status.
Behavior5/5

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

The description discloses behavioral traits beyond annotations: it reads the device address at m/44'/195'/<accountIndex>'/0/0, caches it for get_ledger_status, and is idempotent (calls for same index refresh in place). It also describes error behavior when the TRON app is not open or device locked, providing actionable error messages. Annotations indicate idempotentHint=true, which aligns with the description.

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 well-structured with a clear purpose, REQUIREMENTS section, derivation path, and usage notes. It is slightly verbose (e.g., explaining derivation path in detail), but every sentence adds value. The information is front-loaded with the core action and requirements.

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 covers all necessary context: preconditions (device plugged, unlocked, Tron app open), behavior (reads address, caches), usage patterns (multi-call for accounts), error handling (actionable errors), and relation to other tools (must be called before prepare/send). It is comprehensive for the tool's complexity.

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 input schema already provides a detailed description of the accountIndex parameter (hardened BIP-44 index, default 0, multiple calls for different indices). The description adds context about the derivation path and caching behavior, which complements the schema. With 100% schema coverage, baseline is 3; the additional context justifies a 4.

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's purpose: pairing a directly-connected Ledger device for TRON signing via USB HID. It specifies the derivation path and caching behavior, and distinguishes this tool from siblings like pair_ledger_btc or pair_ledger_solana by focusing on the TRON app and USB HID interface.

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?

Explicitly states when to use the tool: before any prepare_tron_* tool or send_transaction with a TRON handle. It also specifies that it does not work with WalletConnect due to CAIP namespace limitations, and instructs calling multiple times with different accountIndex values to pair additional accounts. This provides clear when/why-not guidance.

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