Skip to main content
Glama

set_ams_drying

Start or stop the AMS filament drying cycle on Bambu Lab 3D printers, supporting AMS units 0-3 and X2D AMS-HT id 128 via MQTT.

Instructions

Start or stop the AMS filament drying cycle. X2D on macOS uses the native official plug-in route and supports AMS-HT id 128.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoHostname or IP of the printer (default: value from env)
actionYesWhether to start or stop the drying cycle
ams_idYesAMS unit index from 0 to 3, or 128 for an X2D AMS-HT.
bambu_tokenNoAccess token (default: value from env)
bambu_serialNoSerial number (default: value from env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.14
    • changedInput schema / properties / ams_id / description
      Previous value: -"AMS unit index from 0 to 3"New value: +"AMS unit index from 0 to 3, or 128 for an X2D AMS-HT."
  2. First observedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a state-changing operation (drying cycle) but discloses nothing about duration, whether it blocks, whether it requires the AMS to be loaded, or any auth/connection requirements. The macOS/X2D sentence gestures at context but does not clarify behavior.

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?

Two sentences with the core action front-loaded, so an agent gets the essence immediately. The trailing X2D/macOS sentence is cryptic and of uncertain value, which keeps it from a 5.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description is too thin: it omits prerequisites, side effects, failure modes, and what the tool returns or changes. The one contextual sentence about the X2D/macOS route does not compensate for the missing operational detail.

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 coverage is 100%, so the schema already documents all five parameters, including ams_id's 0-3/128 semantics. The description's mention of 'AMS-HT id 128' merely echoes the schema, adding no new meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb pair and resource: 'Start or stop the AMS filament drying cycle.' No sibling tool operates on AMS drying, so the scope is unambiguous in practice, though the description never explicitly differentiates itself from neighbors like set_airduct_mode or set_temperature the way a 5 would require.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., printer must be idle/connected), and no mention of alternatives. The only contextual sentence is about an 'X2D on macOS native official plug-in route,' which is opaque rather than actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.