Skip to main content
Glama
TronSave MCP Server

TronSave MCP Server

Official

Update Auto Sell Setting

tronsave_update_auto_sell_setting

Update selected fields in an existing TronSave auto-sell setup, adjusting energy and bandwidth prices, delegation rules, staking, and payouts while leaving omitted settings unchanged.

Instructions

Update the existing auto-sell configuration with partial fields. Returns the updated autoSettings payload. Side effect: overwrites stored automation settings for the current user; not idempotent across different field sets. Requires a wallet signature identity. Use for INCREMENTAL changes after registration; read the baseline via tronsave_get_user_auto_setting to avoid accidental resets, and use tronsave_register_auto_sell only for first-time setup. Fails for invalid field combinations, unauthorized sessions, or policy constraints.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tronsave_update_auto_sell_setting"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolSettingNoWhat the wallet sells automatically: per-resource price floor, duration bounds, minimum amount, reserve, and reclaim scope.
addOnFeatureNoOptional extras: voting, auto-stake of idle TRX, suggest-sell hints.
paymentConfigNoWhere and how often seller earnings are paid out (address, DAILY/IMMEDIATE, payout window).

Output Schema

NameRequiredDescriptionDefault
codeNoGraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.
dataNoOpaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing.
messageNoHuman-readable status text. Populated even on success; localized error messages may appear here on failure.
successNoWhether the mutation succeeded at the backend level. Always check this before reading `data`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.5.0
    • addedInput schema / properties / addOnFeature / description
      Added value: +"Optional extras: voting, auto-stake of idle TRX, suggest-sell hints."
    • addedInput schema / properties / paymentConfig / description
      Added value: +"Where and how often seller earnings are paid out (address, DAILY/IMMEDIATE, payout window)."
    • addedInput schema / properties / poolSetting / description
      Added value: +"What the wallet sells automatically: per-resource price floor, duration bounds, minimum amount, reserve, and reclaim scope."
    • addedInput schema / properties / poolSetting / properties / bandwidth / description
      Added value: +"Auto-sell rules for staked BANDWIDTH; omit to leave BANDWIDTH selling unchanged."
    • addedInput schema / properties / poolSetting / properties / energy / description
      Added value: +"Auto-sell rules for staked ENERGY; omit to leave ENERGY selling unchanged."
  2. First observedv1.4.0

TDQS

A4.7/5.0
Behavior5/5

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

The annotations only declare readOnly=false, openWorld=true, idempotent=false, destructive=false; the description goes well beyond them. It discloses the concrete side effect (overwrites stored automation settings for the current user), the non-idempotency nuance across differing field sets, the wallet-signature identity requirement, and the failure modes (invalid field combinations, unauthorized sessions, policy constraints). It also states the return payload (autoSettings), which is useful context even with an output schema.

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?

The mutation and its side effect are front-loaded in the first two clauses, followed by the return value, then the sibling routing guidance, then failure modes — a logical order with no filler. Every sentence carries a distinct, decision-relevant fact.

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 3-parameter, deeply nested, non-idempotent mutation with an output schema and full annotation coverage, the description supplies exactly the missing pieces: what is overwritten, auth requirement, non-idempotency, sibling alternatives, and error conditions. Nothing an agent needs in order to call it safely is absent.

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 nested poolSetting, addOnFeature and paymentConfig properties are already documented in the schema, and the description adds only the general 'partial fields' patching semantics. It does not clarify any specific field behavior beyond what the schema states, so the baseline of 3 is appropriate.

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?

"Update the existing auto-sell configuration with partial fields" names a specific verb (update), resource (auto-sell configuration) and a key semantic (partial / incremental patch). The description then explicitly names the two sibling tools it is not (tronsave_get_user_auto_setting for reading the baseline, tronsave_register_auto_sell for first-time setup), so an agent can disambiguate without opening any schema.

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?

It gives an explicit when-to-use (incremental changes after registration) plus two named alternatives with the conditions that select them: read the baseline via get_user_auto_setting to avoid resets, and use register_auto_sell only for first-time setup. That is a complete routing rule set with no exclusions left to inference.

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