Skip to main content
Glama

prepare_tron_vote

DestructiveIdempotent

Build an unsigned TRON VoteWitnessContract transaction to cast votes for Super Representatives. Replaces all prior votes atomically; rewards accrue per block.

Instructions

Build an unsigned TRON VoteWitnessContract transaction — casts votes for Super Representatives to earn voting rewards on frozen TRX. IMPORTANT: VoteWitness REPLACES the wallet's entire prior vote allocation atomically. Pass every SR you intend to back (not just a delta); an empty votes array clears all votes. Sum of count values must not exceed the wallet's available TRON Power — check list_tron_witnesses(address)availableVotes first. count is an integer (1 vote = 1 TRX of TRON Power). Rewards accrue per block and are harvested via prepare_tron_claim_rewards (24h cooldown). Returns a preview + opaque handle; forward via send_transaction for USB-HID signing on the paired Ledger.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesBase58 TRON owner address (prefix T).
votesYesFull vote allocation. VoteWitness REPLACES all prior votes atomically — pass every SR you intend to back, not just the delta. An empty array clears all votes. Sum of counts must not exceed the wallet's available TRON Power (see `list_tron_witnesses` → `availableVotes`); TronGrid rejects otherwise.
Behavior5/5

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

Annotations indicate destructive and idempotent behavior; description adds critical context: atomic replacement, TRON Power constraint, reward accrual per block, and that output is a preview+handle for Ledger signing via send_transaction.

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?

Two sentences, front-loaded with purpose and critical warnings. Slightly long (107 words) but each sentence serves a purpose; no redundant content.

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?

Covers all key aspects: operation, prerequisites (availableTRONPower), atomic behavior, output (preview+handle), and next step (send_transaction). No output schema, but description mentions output nature, making it fairly complete.

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?

Schema already documents parameters with 100% coverage; description adds valuable nuance for 'votes' (must be full allocation, sum constraint) and 'from' (address format), enhancing usability beyond the schema.

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 explicitly states it builds an unsigned TRON VoteWitnessContract transaction to cast votes for Super Representatives, using precise verbs and resources, and distinguishes from sibling tools like prepare_tron_claim_rewards.

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 clear when-to-use guidance, explains atomic replacement of prior votes, warns about not passing deltas, recommends checking availableVotes via list_tron_witnesses, and mentions reward harvesting via prepare_tron_claim_rewards.

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