Skip to main content
Glama
mjklopfer
by mjklopfer

Upload staged toolpath to printer queue

upload_gcode
Destructive

Send a confirmed .gcode, .gcode.gz, or .ufp file from staging to the selected local printer; it may start automatically if the queue policy permits.

Instructions

Uploads one confirmed .gcode, .gcode.gz, or .ufp file from the staging folder to the selected local printer. It may start automatically if the printer queue policy permits it.

Input Schema

NameRequiredDescriptionDefault
file_pathYes
confirmation_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new context beyond the annotations: the file must already be confirmed/staged, and the upload may auto-start a print if the queue policy permits. It still does not say what 'destructive' means here (e.g., queue overwrite) or what the token gates.

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 sentences, no filler, front-loaded with the action and the accepted file types. Every clause carries information.

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 destructive, open-world write with no output schema and undocumented parameters, the description covers the action and the auto-start side effect but omits token provenance, failure modes, and what an existing queue entry would be replaced by. Adequate but with clear gaps.

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 0%, so the description carries the burden. It adds meaning for file_path by enumerating allowed extensions and the staging-folder origin, but says nothing about confirmation_token (its source or lifetime), leaving one of two required parameters entirely unexplained.

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?

States a specific verb (uploads) and resource (one .gcode/.gcode.gz/.ufp file from the staging folder) with a clear destination (selected local printer). An agent can distinguish this from start_print and load_cura_file, though the description does not name those siblings explicitly.

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?

The word 'confirmed' plus 'from the staging folder' implies prerequisites (staged + confirmation token issued) without spelling them out, and no alternative tool is named. The auto-start note hints at consequences but gives no when-not guidance.

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