Skip to main content
Glama

printer_bench

Destructive

Teach Kiln how your 3D printer moves and what it can print through a guided, one-question-at-a-time session that fills unknown motion and print-limit data.

Instructions

Help Kiln get to know your printer in a few minutes: a guided session, one ask at a time.

WHEN TO REACH FOR IT: Offer it once per printer, and never before the printer's first print: when a reply carries an offer of it, say that offer as written, and offer it when the person asks why Kiln cannot do something on their printer or wants to teach Kiln their printer. printer_bench() with no answer starts or resumes it, or says there is nothing to teach; printer_bench(lesson="limits") starts the second lesson on its own, and printer_bench(lesson="walk", move=...) starts a walk a reply offered. Relay each ask word for word, show its pictures, and take 'later' as an answer.

Kiln judges where a second part can go on an occupied plate from a record of how each printer moves its head on its own. Where that record has a blank -- a pause, cancel or end nobody has described, a head nobody has measured -- Kiln assumes the worst. This session fills the blanks for THIS printer: it prints a coin-sized square, pauses, resumes, cancels and ends it, and watches where the head goes. A Klipper or Marlin printer says where its head is, so nothing about the moves is asked; a closed-firmware printer is asked which numbered zone the head stopped in (a picture is included) and about how high it lifted. Numbers only ever leave the machine, and only while telemetry is on. Runout is never tested.

Call it with no answer to start or resume. Every reply carries ask (one sentence -- relay it word for word), images (what each picture is; the pictures themselves follow the reply as images, in the same order -- show them), options when the answer is a choice, and waiting with check_again_in_seconds when Kiln is watching the print and there is nothing to ask yet. Hand the person's answer back as answer. The test print is a real print: when the reply says so, show the file with visualize_model, get a token with issue_preview_token and start it with run_quick_print -- the normal approval dialog shows, once. restart=True throws the session away and begins again.

A second lesson teaches Kiln how steep, how far and how thin this printer prints in one plastic, from a small test print the person reads a few numbers off. It is offered when the first lesson ends or has nothing to teach; lesson="limits" starts it on its own. Kiln makes the test print; slice it as the reply's how_to_slice says and hand the sliced files back as gcode_paths (Kiln reads them before it asks anything), then print each plate as how_to_start says. It needs a free Kiln account, where the test print and the readings are kept.

A third lesson learns a home or a park with the person, one small step at a time, on a printer Kiln cannot yet home or park itself. A refusal from home_axes or park_head offers it only when Kiln has one on offer for that printer; lesson="walk" with move starts it. Kiln sends one step, says what the person should see, and sends the next only after the person says the printer did exactly that. The printer stays cold, and its own stop, pause and power switch work at every moment. It needs a free Kiln account, and is the same on every plan.

Args: printer_name: Which printer. Omit for the default one. answer: The person's answer to the previous ask, verbatim. restart: Begin again from the first ask. lesson: "motion" (how the printer moves its head), "limits" (what it can really print) or "walk" (a home or a park learned with the person, one step at a time). Omit to start or resume whichever is due. gcode_paths: The second lesson's sliced files, one per plate, in plate order, when its reply asks for them. move: "home" or "park": the move a walk learns.

Returns the next ask, or done with what Kiln learned and the payoff line.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "printer_bench"
  }
}

Input Schema

NameRequiredDescriptionDefault
moveNo``"home"`` or ``"park"``: the move a walk learns.
answerNoThe person's answer to the previous ask, verbatim.
lessonNo``"motion"`` (how the printer moves its head), ``"limits"`` (what it can really print) or ``"walk"`` (a home or a park learned with the person, one step at a time). Omit to start or resume whichever is due.
restartNoBegin again from the first ask. Default: false.
gcode_pathsNoThe second lesson's sliced files, one per plate, in plate order, when its reply asks for them.
printer_nameNoWhich printer. Omit for the default one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / gcode_paths
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The second lesson's sliced files, one per plate, in plate order, when its reply asks for them.",
      +  "title": "Gcode Paths"
      +}
    • addedInput schema / properties / lesson
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "``\"motion\"`` (how the printer moves its head), ``\"limits\"`` (what it can really print) or ``\"walk\"`` (a home or a park learned with the person, one step at a time).  Omit to start or resume whichever is due.",
      +  "title": "Lesson"
      +}
    • addedInput schema / properties / move
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "``\"home\"`` or ``\"park\"``: the move a walk learns.",
      +  "title": "Move"
      +}
  2. Changed3 schema fields changedv1.5.1
    • addedInput schema / properties / answer / description
      Added value: +"The person's answer to the previous ask, verbatim."
    • addedInput schema / properties / printer_name / description
      Added value: +"Which printer.  Omit for the default one."
    • changedInput schema / properties / restart / description
      Previous value: -"Default: false."New value: +"Begin again from the first ask. Default: false."
  3. Addedv1.5.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses that this performs a real test print, pauses, resumes, cancels and ends it, observes where the head goes, and only sends numbers off-machine while telemetry is on. It also states that the walk lesson keeps the printer cold, that the printer's own stop, pause and power switch work throughout, and that the limits and walk lessons require a free Kiln account.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose and usage guidance, but it is very long and repeats key points, including the no-answer invocation and lesson descriptions in both the body and the Args section. The structure is clear, yet several sentences could be consolidated without losing essential guidance.

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 complex, multi-lesson interactive tool with no output schema, the description is complete: it explains the reply shape (ask, images, options, waiting, done), how to hand answers back, how to start the real test print through visualize_model, issue_preview_token and run_quick_print, and what each lesson requires. It also covers telemetry limits, runout exclusions, account requirements, and safety behavior during the walk lesson.

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 coverage is 100%, so the input schema already documents all six parameters, including answer, restart, lesson, gcode_paths, move and printer_name. The description adds some interaction context, such as calling with no answer to start or resume, restart throwing the session away, and gcode_paths being read before any question is asked, but much of this repeats the schema-level descriptions.

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?

The description states a specific purpose: a guided, one-ask-at-a-time session that teaches Kiln how a particular printer moves and prints. It clearly distinguishes this from sibling tools by naming when it may be offered after refusals from home_axes or park_head, and by naming run_quick_print and visualize_model as downstream steps rather than alternatives.

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?

It gives explicit when-to-use rules: offer once per printer, never before the first print, when a reply carries an offer, when the person asks why Kiln cannot do something, or when they want to teach Kiln their printer. It also explains how to select lessons, how to resume, how restart works, and when the limits and walk lessons are offered.

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