Skip to main content
Glama

Update Auto Sell Setting

tronsave_update_auto_sell_setting

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.

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 changed
    • 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. Changed14 schema fields changed
    • removedInput schema / properties / paymentConfig / properties / paymentAddress / minLength
      Removed value: -1
    • addedInput schema / properties / paymentConfig / properties / paymentAddress / pattern
      Added value: +"^T[1-9A-HJ-NP-Za-km-z]{33}$"
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • addedOutput schema / properties / code / anyOf
      Added value: +[
      +  {
      +    "description": "GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.",
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / code / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / code / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / code / type
      Removed value: -"integer"
    • addedOutput schema / properties / data / anyOf
      Added value: +[
      +  {
      +    "description": "Opaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing.",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / data / type
      Removed value: -"string"
    • addedOutput schema / properties / message / anyOf
      Added value: +[
      +  {
      +    "description": "Human-readable status text. Populated even on success; localized error messages may appear here on failure.",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / message / type
      Removed value: -"string"
    • addedOutput schema / properties / success / anyOf
      Added value: +[
      +  {
      +    "description": "Whether the mutation succeeded at the backend level. Always check this before reading `data`.",
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / success / type
      Removed value: -"boolean"
    • removedOutput schema / required
      Removed value: -[
      -  "code",
      -  "success",
      -  "message",
      -  "data"
      -]
  3. Changed8 schema fields changed
    • changedInput schema / properties / paymentConfig / properties / paymentTimeWindow / properties / end / description
      Previous value: -"Window end (server-defined unit, GraphQL Int)."New value: +"Window end as a non-negative GraphQL `Int` (same unit as `start`); end > start is enforced server-side, not by this schema."
    • changedInput schema / properties / paymentConfig / properties / paymentTimeWindow / properties / end / minimum
      Previous value: --9007199254740991New value: +0
    • changedInput schema / properties / paymentConfig / properties / paymentTimeWindow / properties / start / description
      Previous value: -"Window start (server-defined unit, GraphQL Int)."New value: +"Window start as a non-negative GraphQL `Int` (TronSave commonly uses minutes from midnight UTC, `0..1439`)."
    • changedInput schema / properties / paymentConfig / properties / paymentTimeWindow / properties / start / minimum
      Previous value: --9007199254740991New value: +0
    • addedOutput schema / properties / code / description
      Added value: +"GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing."
    • addedOutput schema / properties / data / description
      Added value: +"Opaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing."
    • addedOutput schema / properties / message / description
      Added value: +"Human-readable status text. Populated even on success; localized error messages may appear here on failure."
    • addedOutput schema / properties / success / description
      Added value: +"Whether the mutation succeeded at the backend level. Always check this before reading `data`."
  4. First observed

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources