Skip to main content
Glama

User Auto Setting

tronsave_get_user_auto_setting
Read-onlyIdempotent

Read the current user's auto-sell configuration (autoSettings). Returns the full autoSettings object — call this before tronsave_register_auto_sell or tronsave_update_auto_sell_setting to avoid overwriting fields you do not intend to change. Requires a signature session and mcp-session-id. Read-only and idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
voteNoWhether vote-related automation is enabled for the wallet.
energyNoEnergy auto-sell pool snapshot; null when energy automation is disabled.
bandwidthNoBandwidth auto-sell pool snapshot; null when bandwidth automation is disabled.
suggestSellNoWhether suggest-sell UX hints are enabled.
withdrawVoteNoWithdraw-vote configuration as a backend-defined string; semantics from TronSave docs.
permitOperationsNoPermission rows enabled for this user; null/empty when no automation has been configured.
reclaimOnlyTronSaveNoReclaim flag — when `true`, only TronSave-managed delegations are reclaimed automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedOutput schema / properties / bandwidth / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "isAcceptExtended": {
      -        "type": "boolean"
      -      },
      -      "isActive": {
      -        "type": "boolean"
      -      },
      -      "maintainUnDelegate": {
      -        "type": "number"
      -      },
      -      "maxDelegateDurationSec": {
      -        "type": "number"
      -      },
      -      "minDelegateAmount": {
      -        "type": "number"
      -      },
      -      "minDelegateDurationSec": {
      -        "type": "number"
      -      },
      -      "minPrice": {
      -        "type": "number"
      -      },
      -      "profitShare": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "isActive",
      -      "minPrice",
      -      "minDelegateAmount",
      -      "maintainUnDelegate",
      -      "profitShare",
      -      "minDelegateDurationSec",
      -      "maxDelegateDurationSec",
      -      "isAcceptExtended"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "isAcceptExtended": {
      +        "description": "Whether incoming extend-style matches are accepted for this leg.",
      +        "type": "boolean"
      +      },
      +      "isActive": {
      +        "description": "Whether auto-sell is currently active for this resource leg.",
      +        "type": "boolean"
      +      },
      +      "maintainUnDelegate": {
      +        "description": "Buffer of undelegated resource the seller keeps reserved.",
      +        "type": "number"
      +      },
      +      "maxDelegateDurationSec": {
      +        "description": "Upper bound of accepted delegation duration in seconds.",
      +        "type": "number"
      +      },
      +      "minDelegateAmount": {
      +        "description": "Minimum per-delegation resource amount accepted by auto matches.",
      +        "type": "number"
      +      },
      +      "minDelegateDurationSec": {
      +        "description": "Lower bound of accepted delegation duration in seconds.",
      +        "type": "number"
      +      },
      +      "minPrice": {
      +        "description": "Minimum unit price the seller accepts for auto matches (SUN per resource unit).",
      +        "type": "number"
      +      },
      +      "profitShare": {
      +        "description": "Profit share percentage for this resource leg.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "isActive",
      +      "minPrice",
      +      "minDelegateAmount",
      +      "maintainUnDelegate",
      +      "profitShare",
      +      "minDelegateDurationSec",
      +      "maxDelegateDurationSec",
      +      "isAcceptExtended"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / bandwidth / description
      Added value: +"Bandwidth auto-sell pool snapshot; null when bandwidth automation is disabled."
    • changedOutput schema / properties / energy / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "isAcceptExtended": {
      -        "type": "boolean"
      -      },
      -      "isActive": {
      -        "type": "boolean"
      -      },
      -      "maintainUnDelegate": {
      -        "type": "number"
      -      },
      -      "maxDelegateDurationSec": {
      -        "type": "number"
      -      },
      -      "minDelegateAmount": {
      -        "type": "number"
      -      },
      -      "minDelegateDurationSec": {
      -        "type": "number"
      -      },
      -      "minPrice": {
      -        "type": "number"
      -      },
      -      "profitShare": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "isActive",
      -      "minPrice",
      -      "minDelegateAmount",
      -      "maintainUnDelegate",
      -      "profitShare",
      -      "minDelegateDurationSec",
      -      "maxDelegateDurationSec",
      -      "isAcceptExtended"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "isAcceptExtended": {
      +        "description": "Whether incoming extend-style matches are accepted for this leg.",
      +        "type": "boolean"
      +      },
      +      "isActive": {
      +        "description": "Whether auto-sell is currently active for this resource leg.",
      +        "type": "boolean"
      +      },
      +      "maintainUnDelegate": {
      +        "description": "Buffer of undelegated resource the seller keeps reserved.",
      +        "type": "number"
      +      },
      +      "maxDelegateDurationSec": {
      +        "description": "Upper bound of accepted delegation duration in seconds.",
      +        "type": "number"
      +      },
      +      "minDelegateAmount": {
      +        "description": "Minimum per-delegation resource amount accepted by auto matches.",
      +        "type": "number"
      +      },
      +      "minDelegateDurationSec": {
      +        "description": "Lower bound of accepted delegation duration in seconds.",
      +        "type": "number"
      +      },
      +      "minPrice": {
      +        "description": "Minimum unit price the seller accepts for auto matches (SUN per resource unit).",
      +        "type": "number"
      +      },
      +      "profitShare": {
      +        "description": "Profit share percentage for this resource leg.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "isActive",
      +      "minPrice",
      +      "minDelegateAmount",
      +      "maintainUnDelegate",
      +      "profitShare",
      +      "minDelegateDurationSec",
      +      "maxDelegateDurationSec",
      +      "isAcceptExtended"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / energy / description
      Added value: +"Energy auto-sell pool snapshot; null when energy automation is disabled."
    • changedOutput schema / properties / permitOperations / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "id": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "operations": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "type": "number"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "permissionName": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "type": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Backend-assigned permission row id; null when not yet persisted."
      +        },
      +        "operations": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "number"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Numeric operation codes enabled for this row; semantics defined by the backend."
      +        },
      +        "permissionName": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Human-readable permission name; meant for display rather than equality checks."
      +        },
      +        "type": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Permission category as labelled by the backend (e.g. role/scope tag)."
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / permitOperations / description
      Added value: +"Permission rows enabled for this user; null/empty when no automation has been configured."
    • addedOutput schema / properties / reclaimOnlyTronSave / description
      Added value: +"Reclaim flag — when `true`, only TronSave-managed delegations are reclaimed automatically."
    • addedOutput schema / properties / suggestSell / description
      Added value: +"Whether suggest-sell UX hints are enabled."
    • addedOutput schema / properties / vote / description
      Added value: +"Whether vote-related automation is enabled for the wallet."
    • addedOutput schema / properties / withdrawVote / description
      Added value: +"Withdraw-vote configuration as a backend-defined string; semantics from TronSave docs."
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description adds valuable behavioral context (calling before mutations to avoid field overwrites) beyond annotations, though it also repeats 'read-only and idempotent'.

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 sentences, each essential: purpose, usage guidance, and requirements. No filler or redundancy beyond necessary emphasis.

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?

The description explains the tool's return value, prerequisites, and its role relative to sibling tools. Since an output schema exists, return details are covered. No gaps identified.

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?

The input schema has zero parameters, so the description correctly has no parameter details. Per guidelines, 0 parameters baseline is 4.

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?

The description clearly states it reads the user's auto-sell configuration and returns the full autoSettings object. It explicitly names sibling tools (tronsave_register_auto_sell and tronsave_update_auto_sell_setting) to differentiate its role as a pre-read step.

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 explicitly advises calling this tool before register_auto_sell or update_auto_sell_setting to avoid overwriting unintended fields, and states prerequisites (signature session, mcp-session-id). This provides clear when-to-use guidance.

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