Skip to main content
Glama
TronSave MCP Server

TronSave MCP Server

Official

Bulk Buy For Many Receivers

tronsave_bulk_create_internal_orders

Purchases the same ENERGY or BANDWIDTH amount for up to 50 TRON receiver addresses in one batch, charging a TronSave internal balance and returning one order ID per receiver.

Instructions

Buy the SAME amount of ENERGY or BANDWIDTH for several receiver addresses in one call, paid from the TronSave internal balance; returns one order id per receiver. Side effect: SPENDS paymentAmount SUN of the internal balance; not idempotent (a repeat buys again). Estimate one receiver with tronsave_estimate_buy_resource first and show the user receivers, amount and total cost before calling. Requires a wallet signature identity.

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": {
      "resourceType": "<resourceType>",
      "receivers": "<receivers>",
      "unitPrice": "<unitPrice>",
      "durationSec": "<durationSec>",
      "resourceAmount": "<resourceAmount>",
      "paymentAmount": "<paymentAmount>"
    },
    "name": "tronsave_bulk_create_internal_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
sponsorNoOptional sponsor or referral code.
receiversYesReceiver addresses (1 to 50).
unitPriceYesUnit price in SUN per resource unit, per receiver.
durationSecYesDelegation duration in seconds.
resourceTypeYesResource bought for every receiver.
paymentAmountYesTotal SUN for the whole batch = unitPrice x resourceAmount x number of receivers x ceil(durationSec / 86400) (so any rental under 1 day is charged as one full day), within 2%; a mismatch is rejected with the expected total.
resourceAmountYesResource units bought for EACH receiver.

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
messageNo
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.2
    • changedInput schema / properties / paymentAmount / description
      Previous value: -"Total payment in SUN for the whole batch. Must equal the total payout (about unitPrice x resourceAmount x receivers x durationSec / 86400) within 2%; a mismatch is rejected with the expected total."New value: +"Total SUN for the whole batch = unitPrice x resourceAmount x number of receivers x ceil(durationSec / 86400) (so any rental under 1 day is charged as one full day), within 2%; a mismatch is rejected with the expected total."
  2. Changed1 schema field changedv1.5.0
    • addedInput schema / properties / resourceType / description
      Added value: +"Resource bought for every receiver."
  3. First observedv1.4.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description goes beyond them by disclosing that it SPENDS `paymentAmount` SUN from the internal balance and spelling out the consequence of non-idempotency ('a repeat buys again'). The wallet-signature identity requirement is also behavior no annotation conveys. It stops short of describing failure handling beyond the payment mismatch, which the schema already covers.

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?

Three tight sentences, front-loaded with the operation and scope, then the cost side effect, then the required pre-call workflow. No filler, and the most decision-relevant facts (spend, non-idempotency, signature) appear before the procedural guidance.

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

Completeness5/5

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

With an output schema present, the description need not explain return values, and it still notes one order id per receiver. Annotations cover the safety profile and the description covers cost, idempotency, auth, and the estimate-then-confirm step — everything an agent needs to invoke this correctly for a 7-parameter batch purchase.

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 schema already documents every parameter, including the exact `paymentAmount` formula and the per-receiver meaning of `resourceAmount`. The description reinforces the batch semantics ('SAME amount ... for several receiver addresses') but adds no format or constraint detail beyond what the schema supplies, so the baseline of 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?

States a specific verb and resource ('Buy the SAME amount of ENERGY or BANDWIDTH'), the batch scope ('several receiver addresses in one call'), the funding source ('TronSave internal balance'), and the return value ('one order id per receiver'). The emphasis on SAME amount implicitly contrasts it with a per-receiver single-order sibling, so an agent can tell what this tool is for 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?

Gives a concrete pre-call workflow: estimate one receiver with `tronsave_estimate_buy_resource` first and show the user receivers, amount and total cost before calling. It also names a hard prerequisite ('Requires a wallet signature identity'). What is missing is an explicit statement of when NOT to use it (e.g. a single receiver or differing amounts per receiver) and which sibling handles that case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools