Skip to main content
Glama

Estimate Cost

estimate_cost

Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txTypeNoTransaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address.
txCountYesNumber of transactions
resourceTypeNoResource type (default: ENERGY)
durationMinutesNoDuration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60.

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description must clarify behavior. It clearly indicates a calculation ('Calculate') which implies no transaction execution, and it specifies the inputs and outputs. However, it does not explicitly state that the cost is an estimate or that no purchase is performed, and it omits the influence of parameters like duration on the cost.

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?

Two sentences, front-loaded with the action and resource, and every word contributes. No redundant information.

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?

For a 4-parameter tool with no output schema, the description covers the core purpose and output but misses key contextual details such as the role of durationMinutes and resourceType in the calculation, and it does not mention that the result is an estimate subject to change. While schema descriptions fill some gaps, the description alone would not fully prepare an agent for edge cases.

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 schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds value by explaining that txCount and txType are used to compute 'energy needed' and 'cost,' giving them purpose. It does not describe all parameters in detail, but the schema handles that; the added context about how inputs drive the calculation is beneficial.

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 'Calculate' and clearly identifies the resource ('cost of purchasing TRON Energy or Bandwidth'). It states the required inputs ('transaction count and type') and the expected output ('energy needed and cost in TRX'). This distinguishes it from sibling tools like buy_energy (actual purchase) and get_swap_quote (swap pricing).

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 the tool is for cost estimation, but it does not explicitly state when to use it versus alternatives such as buy_energy, nor does it provide exclusions or preconditions. The sibling context helps, but the description lacks explicit guidance.

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.