Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Wait for the printer

wait_for_printer
Read-only

Waits until a 3D printer reaches a chosen state—heated, printing, first layer done, or finished—then returns status, with timeout and early-stop handling for faults or lost contact.

Instructions

Wait until the printer is heated, printing, past the first layer or finished, checking every 5 seconds.

Returns as soon as it happens (met: true), or at the timeout with the latest status (met: false). It also returns early, with stopped_early saying why, when the printer reports a fault, when the job ends before the point it waits for (a cancelled print, say), or after losing contact ("Lost contact with the printer"). A job that completes successfully while the wait is for 'printing' or 'first_layer_done' counts as met (a one-layer print passes both at once). A met result can carry stopped_early too, for example a job that finished with an error. Waiting for 'finished' when nothing is printing returns at once with the note 'nothing is printing'. Read-only: it never sends commands.

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": {
      "until": "<until>"
    },
    "name": "wait_for_printer"
  }
}

Input Schema

NameRequiredDescriptionDefault
untilYesWhat to wait for. 'heated': every heater with a target is within 3 °C of it. 'printing': extrusion has started. OctoPrint reports no extrusion, so there it means the job is running with the heaters at temperature; on a Bambu Lab printer the first layer has begun. 'first_layer_done': the second layer has begun (Klipper and Bambu Lab); without layer info from the slicer it is judged from the nozzle height, so it is approximate. 'finished': the job completed, was cancelled or errored.
timeout_sNoSeconds to wait before returning the latest status. Default 300, at most 1800. Call again to keep waiting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.27
    • changedInput schema / properties / until / description
      Previous value: -"What to wait for. 'heated': every heater with a target is within 3 °C of it. 'printing': extrusion has started. OctoPrint reports no extrusion, so there it means the job is running with the heaters at temperature. 'first_layer_done': the second layer has begun (Klipper only); without layer info from the slicer it is judged from the nozzle height, so it is approximate. 'finished': the job completed, was cancelled or errored."New value: +"What to wait for. 'heated': every heater with a target is within 3 °C of it. 'printing': extrusion has started. OctoPrint reports no extrusion, so there it means the job is running with the heaters at temperature; on a Bambu Lab printer the first layer has begun. 'first_layer_done': the second layer has begun (Klipper and Bambu Lab); without layer info from the slicer it is judged from the nozzle height, so it is approximate. 'finished': the job completed, was cancelled or errored."
  2. Addedv0.1.17

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true and openWorldHint=true: it explains the met/stopped_early return contract, the three early-return conditions (fault, job ended early, lost contact), the timeout behavior with latest status, and the corner case where a successful completion satisfies 'printing' or 'first_layer_done'. The closing 'never sends commands' confirms the read-only annotation rather than contradicting it.

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?

Front-loaded with the core behavior and the return contract before the exceptions, so an agent can stop reading early and still call it correctly. It is a single dense paragraph whose parenthetical asides and examples are mostly load-bearing, though a short bulleted exception list would scan faster.

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?

There is no output schema, and the description fully compensates by defining met, stopped_early, and the status payload on timeout. For a two-parameter blocking tool with read-only annotations, nothing an agent needs to invoke it or interpret the result is missing.

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 coverage is 100% and the enum descriptions already define each target state, so the schema carries most of the load. The description still adds cross-parameter meaning the schema cannot: a one-layer print satisfies two targets at once, and 'finished' with nothing printing returns immediately with a note.

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 ('wait until the printer is heated, printing, past the first layer or finished') and pins down polling cadence (every 5 seconds). The blocking/polling semantics are distinctive enough that an agent can tell this apart from a status-read sibling without opening the schema.

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

Usage Guidelines4/5

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

Clear about the context of use: it blocks until a state transition occurs or the timeout elapses, and 'Call again to keep waiting' tells the agent the retry pattern for long waits. It never names an alternative for an immediate, non-blocking check (e.g. a status sibling), so the when-not-to-use side is left implicit.

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