Skip to main content
Glama
bambutler-mcp

bambutler-mcp

set_ams_slot

Assign filament type, color, preset ID, and nozzle temperature range to an AMS slot or external spool without moving filament, keeping printer material mappings accurate.

Instructions

Set the material shown for an AMS slot or external spool (type, colour, filament preset id, nozzle temperature range). Does not move filament.

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": {
      "tray_type": "<tray_type>",
      "color": "<color>"
    },
    "name": "set_ams_slot"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNoSlot 1-4 (as printed on the AMS).
colorYesRRGGBB or #RRGGBB.
ams_idNoAMS unit id (0-3, 128+ for AMS HT). Omit with external.
printerNoPrinter name or serial from the config. Default: the first printer.
externalNoExternal spool instead of an AMS slot. 'main' on single-nozzle printers; left/right on H2D.
tray_typeYese.g. PLA, PETG, ABS-GF, HIPS.
filament_idNotray_info_idx, e.g. GFA00. Default: generic id for the type.
nozzle_temp_maxNo
nozzle_temp_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description usefully adds that this is metadata-only and does not feed or retract filament. It does not say whether the change persists to the printer's config, whether it can be done mid-print, or what happens if the slot is occupied.

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?

Two compact sentences, front-loaded with the action and target, followed by the field list and the key negative constraint. No filler or repetition of 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 tool with no output schema, the description covers intent and field scope but leaves the agent guessing about persistence, error conditions, and what a successful call reports back. Adequate to call correctly, not complete enough to predict side effects.

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 parenthetical maps conceptual fields to parameters — type, colour, filament preset id, and nozzle temperature range — which is meaningful help for tray_type, color, filament_id, and the temp bounds, and it clarifies filament_id as a preset rather than a free string. Slot/ams_id/external/printer targeting is left entirely to the schema, but coverage there is already strong.

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 gives a specific verb and resource ("Set the material shown for an AMS slot or external spool") and enumerates the fields it governs, so an agent knows exactly what is being changed. The closing "Does not move filament" implicitly separates it from physical AMS operations, though no sibling is named.

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

Usage Guidelines3/5

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

Usage is implied by the resource — use this to relabel or correct the material metadata of an existing slot or spool. There is no explicit statement of when to prefer this over other AMS/preset tools, no prerequisite (e.g. printer idle, slot empty), and no note that filament_id values come from list_presets.

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