Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-signer

Official

tron_sign

Sign Tron transactions without TronWeb using Node crypto and elliptic. Accepts raw_data_hex or unsigned hex, returns signedTransactionHex. Private key passed as parameter.

Instructions

Sign a Tron transaction (no TronWeb): Node crypto (sha256) + elliptic (secp256k1) + minimal protobuf encode/decode. Two actions: (1) sign-from-details: sign from transaction object (must include raw_data_hex); (2) sign-unsigned-hex: sign from raw unsigned tx hex. Returns signedTransactionHex. Private key is passed as parameter (never from env). SECURITY: Private keys may be logged by MCP clients or stored in conversation history — use only in trusted local environments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries full burden and does so excellently. It discloses internal cryptographic components, two working modes, the return value, and a critical security warning about private key exposure in MCP clients and conversation history. This far exceeds minimal behavioral disclosure.

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 and well-structured, introducing the tool's purpose and then enumerating actions and security. Every sentence contributes meaningful information, including the security note, with no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the absence of output schema and annotations, the description covers purpose, internal process, input requirements, output, and security. However, the lack of explicit parameter names and the empty input schema mean an agent may not be able to construct a correct invocation, so completeness is not perfect.

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 is empty (0 params), so the description is the sole source of parameter information. It mentions required data (raw_data_hex, raw unsigned tx hex, private key) but does not provide explicit parameter names or types, leaving invocation ambiguous. It adds value over the schema but not complete parameter clarity.

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 'Sign a Tron transaction' with specific implementation details (Node crypto, sha256, secp256k1) and lists two distinct action modes. This distinguishes it from sibling sign tools for other chains and gives a precise verb+resource scope.

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?

It provides clear context (Tron signing) and outlines two actions, but does not explicitly state when to use this tool versus alternatives or how to choose between sign-from-details and sign-unsigned-hex. There are no exclusions or alternative tool references, but the chain-specific name is helpful.

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/CryptoAPIs-io/cryptoapis-mcp-signer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server