Skip to main content
Glama
mjklopfer
by mjklopfer

Preflight printer write action

preflight_print_action

Check whether an upload or print-start operation is currently safe. Performs no write.

Instructions

Check whether an upload or print-start operation is currently safe. It performs no write.

Input Schema

NameRequiredDescriptionDefault
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

B3.1/5.0
Behavior1/5

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

The description asserts 'It performs no write,' while the annotations declare readOnlyHint=false, i.e. that the tool is not a read-only operation. That is a direct factual conflict about side effects, and no other behavioral context (permissions, failure modes) is given to resolve it.

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 short sentences with the purpose front-loaded and the side-effect claim immediately after; there is no filler.

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?

There is no output schema, so the description would ideally say what a 'safe' vs 'unsafe' result looks like and how to react, which it does not. For a one-parameter check tool the gap is small but real.

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%, but the single parameter is a self-documenting enum, and the description's phrasing ('upload or print-start operation') loosely maps to the two enum values. It adds no format or constraint detail beyond that, so it only partially compensates for the coverage gap.

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 and object ('Check whether an upload or print-start operation is currently safe'), which cleanly separates it from the sibling write tools upload_gcode and start_print. It does not name those siblings explicitly, but the 'preflight' framing makes the distinct purpose evident.

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 'currently' implies this is meant to be consulted before the corresponding write, but the description never says to call it before upload_gcode/start_print nor what to do when the check fails. Usage is inferable rather than stated.

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