Skip to main content
Glama

delegate_resource

Destructive

Delegate energy or bandwidth to another address (Stake 2.0). Returns unsigned transaction hex for signing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient address (base58, starts with T)
fromYesDelegator address (base58, starts with T)
memoNoOptional memo to attach to the transaction
amountYesAmount in TRX to delegate (e.g., '100.5')
resourceYesResource type
lock_periodNoLock period in blocks (~3 seconds each). If set, delegation cannot be undone until the lock expires.
permission_idNoPermission ID for multi-sig transactions

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

The description adds a crucial behavioral detail not captured by annotations: it returns an unsigned transaction hex for signing, meaning it does not directly execute the delegation. This is significant given destructiveHint=true, as it clarifies that the destructive action is deferred to external signing.

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 a single, front-loaded sentence that conveys the action, scope, and return behavior with zero wasted words. It efficiently achieves high information density.

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?

For a 7-parameter transaction-building tool with no output schema, the description sufficiently covers the core action and return type. It could mention prerequisites or side effects, but annotations and the detailed parameter schema fill major gaps, making it adequately complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 7 parameters have descriptions in the input schema (100% coverage), so the description does not need to add parameter details. The description itself contributes no additional clarification beyond the schema, warranting the schema-heavy baseline of 3.

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 action ('Delegate'), the resource ('energy or bandwidth'), and the target ('another address'), distinguishing it from sibling tools like undelegate_resource. It also mentions 'Stake 2.0' and the unsigned transaction result, leaving no ambiguity about the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides only an implied usage context via 'Stake 2.0'. It does not explicitly state when to use this tool over similar alternatives like freeze_balance, nor does it mention when not to use it. This is a typical implied-usage scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.2/5.0
Disambiguation3/5

Several tool groups have overlapping responsibilities (e.g., get_energy_prices/get_bandwidth_prices/get_chain_parameters, get_pending_transactions/get_pending_by_address/is_transaction_pending, and analyze_account vs get_account plus its resource/permission variants). These create boundary confusion despite clear descriptions, and with 43 tools an agent will likely select the wrong one occasionally.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (e.g., get_account, transfer_trx, delegate_resource, unfreeze_balance). Even the few multi-word verbs (estimate_energy, trigger_constant_contract) remain predictable. No camelCase or inconsistent verb styles.

Tool Count2/5

With 43 tools, the server is heavy. While the TRON domain is broad, the tool surface is bloated with many near-synonyms and split functionalities that could be consolidated. The rubric flags 25+ tools as too many; 43 clearly exceeds that.

Completeness3/5

The server covers a wide range of read and transaction-building operations, including staking, governance, contracts, and TRC20. However, it lacks critical lifecycle steps: there is no sign or broadcast tool, and no ability to deploy contracts or create accounts. This is a significant gap for a tool that returns unsigned transactions.

Resources