Skip to main content
Glama

gasrent

Price bandwidth

quote_bandwidth
Read-onlyIdempotent

Price a bandwidth rental in TRX. Charges nothing. Bandwidth rental never activates an address. 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_bandwidth"
  }
}

Input Schema

NameRequiredDescriptionDefault
volumeYesBandwidth points, 1 to 100000. A USDT transfer needs about 345.
addressNoOptional. Address that would receive the bandwidth.
durationYesBandwidth rental length.
exact_volumeNoOptional, default false. True excludes suppliers that do not sell exactly this amount.
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

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint/idempotentHint annotations, the description adds three concrete behaviors an agent could not otherwise know: the quote is denominated in TRX, it incurs no charge, it has no side effect on address activation, and it requires an API key at the rent or full level. That is exactly the kind of auth and side-effect context annotations cannot carry.

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?

Four short sentences, front-loaded with the core action and currency, followed by the two behavioral caveats and the auth requirement. No filler, no restatement of the title, and each sentence carries distinct information.

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?

With five well-documented parameters, no output schema, and strong annotation coverage, the description covers the essentials including the return denomination (TRX). It could do more given the absence of an output schema: it never hints that quoting yields supplier-level results whose validity is time- or exactness-limited, which the exact_volume/exact_duration flags imply.

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% and every parameter is documented in-schema (volume range with a USDT-transfer heuristic, duration enum, exact_volume/exact_duration semantics), so the baseline of 3 applies. The description adds no parameter-level guidance of its own, such as how the exact_* flags trade off against price.

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?

States a specific verb and resource ("Price a bandwidth rental in TRX") and immediately separates itself from the write-path sibling with "Charges nothing" and "never activates an address," which rules out rent_bandwidth and activate_address. An agent can tell what this does and what it does not do 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?

Usage is clear by implication: this is the no-cost pricing step that precedes an actual rental, and the description flags the API key tier needed (rent or full level). It stops short of an explicit "use this before rent_bandwidth / use quote_energy for energy" routing statement, so the agent must infer the ordering from the pricing semantics.

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