Skip to main content
Glama
tronsave

TronSave MCP Server

Official

Estimate Buy Resource

tronsave_estimate_buy_resource
Read-onlyIdempotent

Quote TRON ENERGY or BANDWIDTH price and availability for a receiver address before creating an order, returning unit price, duration, total TRX cost, and available resource.

Instructions

Quote price and availability for buying ENERGY or BANDWIDTH for a receiver address before placing an order. Returns { unitPrice (SUN/unit), durationSec, estimateTrx (total cost in SUN), availableResource, systemDepositAddress } — map them to tronsave_create_order as orderUnitPrice, orderDurationSec, paymentPaymentAmount. Defaults: ENERGY, 100000 units (1000 for BANDWIDTH), 900 s. Read-only and safe to call repeatedly; no session is required, but backend rate limits apply. For order-book depth use tronsave_list_order_books; for the minimum unit price only use tronsave_get_min_price.

Input Schema

NameRequiredDescriptionDefault
receiverNoTRON address that will receive the resource. Strongly recommended: quotes depend on it.
unitPriceNoDesired unit price in SUN. Values below the market minimum are raised to the minimum. Omit for the MEDIUM market price.
durationSecNoDelegation duration in seconds. Default 900 (15 minutes).
resourceTypeNoResource type to buy. Default ENERGY.ENERGY
allowPartialFillNoAllow partial fill of the order.
buyResourceAmountNoResource units to buy. Default 100000 for ENERGY and 1000 for BANDWIDTH.
minResourceDelegateRequiredAmountNoMinimum resource amount per matching provider.

Output Schema

NameRequiredDescriptionDefault
unitPriceNoQuoted unit price in SUN per resource unit → `orderUnitPrice`.
durationSecNoDelegation duration in seconds → `orderDurationSec`.
estimateTrxNoEstimated total cost in SUN (despite the name; TRX = value / 1e6) → `paymentPaymentAmount`.
availableResourceNoResource units currently available at this price; if lower than requested, the order may fill partially.
systemDepositAddressNoTronSave deposit address; destination of the signed TRX transfer for `paymentMethod=onchain`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint, so the bar is lower; the description still adds real value by stating no session is required and that backend rate limits apply — neither is derivable from the annotations. It also names the exact response fields and how they map onto create_order parameters, though it omits latency/rate-limit magnitude.

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?

Front-loads purpose, then the return shape, then defaults, then routing — a sensible order with no filler sentences. Slight redundancy in enumerating return fields that the output schema already defines, which keeps it from a 5.

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?

For a 7-parameter read-only estimation tool with an output schema and full schema coverage, nothing an agent needs to call it correctly is missing: purpose, defaults, safety profile, rate-limit caveat, output mapping, and sibling routing are all present.

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?

Schema coverage is 100%, so baseline is 3; the description earns a bump by restating the operational defaults (ENERGY, 100000 units / 1000 for BANDWIDTH, 900 s) in one place and clarifying that returned quote fields correspond to specific create_order inputs, which frames why those parameters matter.

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 (quote price and availability for ENERGY/BANDWIDTH) plus the precondition 'for a receiver address before placing an order'. This distinguishes it cleanly from tronsave_create_order, tronsave_list_order_books, and tronsave_get_min_price without requiring schema inspection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly positions the tool as a pre-order quote step, and routes two adjacent needs to named siblings: 'For order-book depth use tronsave_list_order_books; for the minimum unit price only use tronsave_get_min_price.' Both when-to-use and alternative selection are covered.

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