Skip to main content
Glama

gasrent

Price energy

quote_energy
Read-onlyIdempotent

Price an energy rental in TRX. Charges nothing. With address, the price includes the activation fee when that address is not activated. Needs an API key at the rent or full level.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "volume": "<volume>",
      "duration": "<duration>"
    },
    "name": "quote_energy"
  }
}

Input Schema

NameRequiredDescriptionDefault
volumeYesEnergy amount, 30000 to 4000000. One USDT transfer usually needs about 65000, or about 131000 to an address that holds no USDT.
addressNoOptional. Address that would receive the energy.
durationYesEnergy rental length.
exact_volumeNoOptional, default false. True excludes suppliers that do not sell exactly this amount.
no_activationNoOptional, default false. True fails with inactive_address instead of adding the activation fee for an address that is not activated.
exact_durationNoOptional, default false. True excludes suppliers that do not sell exactly this duration; false allows the shortest longer one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that: it is free, and the quote includes the activation fee when an address is supplied and unactivated. It still says nothing about how the returned price is structured or whether quotes expire, so it adds moderate rather than rich value.

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?

Three short sentences with the core action and the cost guarantee front-loaded; there is no filler. The final sentence about API key levels is terse to the point of ambiguity, which slightly weakens an otherwise efficient structure.

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?

With no output schema, the description carries the burden of explaining what comes back, and it only implies a TRX-denominated price without describing the shape of the response or whether a supplier breakdown is included. For a six-parameter quote tool this leaves a meaningful gap, though the input side is fully covered by the schema.

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 coverage is 100%, so every parameter including volume guidance, duration enum, and the exact_volume/no_activation/exact_duration flags is already documented. The description only restates the address/activation-fee interaction that the schema also explains, so it adds little meaning beyond the schema and the baseline 3 applies.

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 states a specific verb and resource ('Price an energy rental in TRX') and immediately clarifies the cost profile ('Charges nothing'), which separates it from the mutation sibling rent_energy and from the other quote_* tools by the energy resource noun. An agent can pick this out without opening the schema.

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 gives a clear usage context — this is a pre-rental quote, so you call it to learn a price rather than to rent — and it states a prerequisite ('Needs an API key at the rent or full level'). It never explicitly names rent_energy or the sibling quote tools as alternatives or states when not to use it, so it falls short of a 5.

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.

Resources