Skip to main content
Glama

Configure Auto-Selling

configure_auto_selling

Update auto-selling configuration for a pool. Toggle energy/bandwidth selling, set reserves, duration constraints. Pass the configId from get_auto_selling_config.

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": {
      "configId": "<configId>"
    },
    "name": "configure_auto_selling"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNoEnable/disable auto-selling
configIdYesConfiguration ID to update (from get_auto_selling_config)
sellEnergyNoEnable/disable energy selling
maxDurationNoMaximum rental duration
minDurationNoMinimum rental duration (e.g., "5min", "1h", "1d")
allowRenewalsNoAllow order renewals
sellBandwidthNoEnable/disable bandwidth selling
reservedEnergyNoEnergy to keep reserved (not sold)
reservedBandwidthNoBandwidth to keep reserved (not sold)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / reservedBandwidth / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / reservedEnergy / maximum
      Added value: +9007199254740991
  2. Changed3 schema fields changed
    • addedInput schema / properties / configId / maxLength
      Added value: +36
    • addedInput schema / properties / maxDuration / maxLength
      Added value: +10
    • addedInput schema / properties / minDuration / maxLength
      Added value: +10
  3. First observed

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it leaves the most important question unanswered: with 9 parameters and only configId required, are omitted fields left unchanged or reset? It also says nothing about required permissions, whether toggling selling affects existing open orders, or reversibility of the change.

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?

Three short sentences, front-loaded with the operation and followed by the affected capability groups, with the prerequisite last. No filler or restated title, though the middle sentence is a terse field list that adds little over the schema.

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

Completeness3/5

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

For a 9-parameter mutation with no annotations and no output schema, the definition establishes purpose and the configId workflow but omits update semantics and side effects. An agent could invoke it, but might accidentally clobber unrelated settings or misread whether the call is destructive.

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 each of the nine parameters is already documented with type and, for minDuration, a format example. The description only gestures at the same fields ("reserves, duration constraints") without adding units, valid durations, or partial-update rules, so baseline 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?

States a specific verb and resource ("Update auto-selling configuration for a pool") and enumerates the actual knobs affected: energy/bandwidth selling toggles, reserves, duration constraints. The sibling set contains a matching read tool (get_auto_selling_config), and the description makes the write/read split obvious without requiring 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?

"Pass the configId from get_auto_selling_config" gives an explicit prerequisite and names the exact tool that produces the required argument, which is the critical usage path for a one-required-param mutation. It stops short of stating when not to use it (e.g., creating a config for a pool that has none) or what happens if the config is stale.

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.