Skip to main content
Glama

set_box_option

Changes one saved QIDI Box setting—enable Box handling, RFID auto-read, or filament auto-reload detection—then confirms and reports whether the new value took effect.

Instructions

Change one Box setting QIDI stores in saved variables: 'enable_box' (the firmware's master switch for Box handling), 'auto_read_rfid' (read the spool tag when a spool is inserted) or 'auto_reload_detect' (on a filament runout, run QIDI's AUTO_RELOAD_FILAMENT -- the Box feeds filament by itself). Needs a detected Box, refused during a print, and always needs confirm=true because there is no free direction: switching auto-reload on makes the machine feed filament unattended, and switching enable_box off makes the firmware ignore the Box. Reads the value back and reports whether it took. Slot contents and box_count cannot be set here.

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": {
      "option": "<option>",
      "enabled": "<enabled>"
    },
    "name": "set_box_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionYes
confirmNo
enabledYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses real preconditions (Box detected, not printing), the mandatory confirm flag, the read-back verification behaviour, and the operational consequence of each direction ('switching auto-reload on makes the machine feed filament unattended', 'switching enable_box off makes the firmware ignore the Box'). That is exactly the risk context the terse readOnly/idempotent/destructive hints cannot convey.

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?

Action and the three option values are front-loaded in the first clause, and the trailing exclusions close the loop; every clause carries information. It is a single dense run-on sentence with stacked parentheticals, which costs a little readability but no wasted content.

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 three-parameter mutation tool with an output schema, everything an agent needs is present: valid values, confirm requirement, preconditions, refusals, consequences, and confirmation of read-back. Return-value detail is rightly left to the output schema.

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?

Schema description coverage is 0%, so the description carries the full burden and does most of it: it documents the accepted `option` strings and why `confirm` must be true. The `enabled` boolean is only implied by the surrounding prose (turn the named option on or off) rather than stated, and nothing says what happens if an option string outside the three is supplied.

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 ('Change one Box setting QIDI stores in saved variables') and then enumerates the exact three option values with a plain-language gloss for each: enable_box, auto_read_rfid, auto_reload_detect. It also explicitly excludes neighbouring capabilities ('Slot contents and box_count cannot be set here'), which separates it from set_box_slot_filaments and the other box siblings.

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?

Gives concrete preconditions and refusals: a Box must be detected, the call is refused during a print, and confirm=true is always required. It names the mechanism that selects the alternative (slot contents and box_count are not settable here), so an agent knows when to route elsewhere.

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

Deploy Server

Other Tools