Skip to main content
Glama

Buy Energy

buy_energy

Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txTypeNoTransaction type (default: trc20_transfer)
txCountYesNumber of transactions you need energy for
resourceTypeNoResource type (default: ENERGY)
targetAddressYesTRON address to delegate energy to (T-address format)
durationMinutesNoDuration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60.

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose key details: creates a market order, filled by available pools, and deducts cost from balance. However, it omits other potentially important behaviors like what happens if no pools are available, whether the order is on-chain, or if the action is reversible. The disclosed information is useful but not comprehensive.

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 two sentences: the first states the core function, the second explains the order type and cost implication. Every sentence adds value, and it is front-loaded with the primary action. No wasted words.

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

Completeness3/5

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

Given the tool has no output schema and no annotations, the description provides essential behavioral context (market order, balance deduction) but is incomplete regarding post-execution expectations, such as what the response contains (e.g., order ID, status) or edge cases like insufficient funds. It is adequate for a basic understanding but leaves some gaps.

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?

Schema description coverage is 100%, with each parameter having a clear description in the input schema. The tool description adds minimal parameter-specific meaning beyond the schema: it highlights 'target address' and 'deducts cost,' but does not elaborate on txType, txCount, durationMinutes, or resourceType beyond what the schema already provides. Baseline 3 is appropriate.

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 uses a specific verb and resource: 'Purchase TRON Energy for a target address,' which clearly states the tool's function. It also distinguishes itself from siblings like 'estimate_cost' and 'get_available_resources' by describing it as a market order that executes a purchase, not just an estimate or view.

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 implies when to use the tool (when you need to buy energy for an address) and explains that it's a market order, but it does not explicitly mention when not to use it or name alternatives such as 'estimate_cost' for pre-purchase estimation. The context is clear but lacks exclusions or alternative comparisons.

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

A3.8/5.0
Disambiguation4/5

Most tools have distinct purposes, but some overlap exists: get_prices and get_market_overview both provide pricing info, and get_available_resources, get_pool_delegations, and get_onchain_status all relate to resource status. Descriptions clarify these distinctions adequately.

Naming Consistency4/5

Tool names follow a consistent verb_noun pattern with underscores (e.g., get_balance, register_pool, configure_auto_selling). Minor inconsistency: 'broadcast_signed_permission_tx' uses the abbreviation 'tx' while 'broadcast_transaction' uses the full word 'transaction'.

Tool Count2/5

27 tools is excessive for a server with this scope, exceeding the 25-tool threshold. Several tools could be consolidated (e.g., get_prices and get_market_overview, or the various resource-status getters). The high count makes the tool surface harder to navigate.

Completeness4/5

The server covers the core domain well: registration, balance management, pool registration and configuration, energy purchase, order tracking, swap, and voting. Minor gaps exist, such as no explicit tool for configuring auto actions (stake/claim) or cancelling orders, but these do not severely hinder core workflows.