Skip to main content
Glama

gasrent

Open a top-up

create_topup

Open a top-up of the gasrent balance. Returns a deposit address and the exact amount to send within 20 minutes. Charges nothing; the user sends the funds from their own wallet. 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": {
      "amount_trx": "<amount_trx>"
    },
    "name": "create_topup"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoOptional, default trx. usdt is TRC20 USDT.
amount_trxYesWhole units of the currency to deposit, at least 1.
idempotency_keyNoRecommended. A new random value for each purchase. Reuse it only to retry the same purchase after a lost response: the original result comes back and nothing is charged twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations: it discloses that nothing is charged, that funds move from the user's own wallet, that a deposit address plus exact amount is returned, and that an API key at the rent or full level is required. The only gap is what happens on expiry or failure; the idempotency-key retry semantics live in the schema rather than the description, which is acceptable since idempotentHint=false is not contradicted.

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, purpose front-loaded, no filler. 'Charges nothing; the user sends the funds from their own wallet' is slightly redundant with each clause but earns its place by preventing a mistaken assumption that the tool debits the balance.

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 no output schema, the description correctly compensates by naming the two return values and the 20-minute validity, and it flags the auth requirement. Only the post-expiry/error behavior is left unstated, which is a modest gap for a tool this simple.

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%, so the currency default, minimum amount, and idempotency-key reuse rule are already fully documented. The description adds only the indirect note that the returned amount is 'the exact amount to send', which does not extend parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Open a top-up of the gasrent balance', which is distinguishable from the read-oriented siblings like get_topup and list_open_topups. It stops short of naming an alternative, so an agent must infer the boundary from the verb alone.

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 usage (funding the gasrent balance from your own wallet at no charge) and gives a time constraint of 20 minutes, but never says when to call this versus get_topup, list_open_topups, or the quote_* tools, nor what to do after the 20-minute window lapses.

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