Skip to main content
Glama

printer_snapshot

Capture a JPEG or PNG snapshot from a 3D printer's built-in or registered camera to inspect print status; return the image as base64 or save it to a file.

Instructions

Capture a webcam snapshot from the printer.

Reads the printer's own camera, whichever kind it has.  An answer that
is not a JPEG or PNG picture is refused, never returned.  A camera the
user registered for the printer (``register_printer`` with
``camera_snapshot_url`` / ``camera_stream_url``) is used instead of the
printer's own; ``camera_source`` in the reply says which one answered.

Some cameras need Kiln's free camera add-on.  When it is missing, the
refusal carries a ``camera_addon`` block beside ``error``: say its
``message``, ask its ``ask``, and only after the person says yes make
the call its ``install`` names; then take the snapshot again.

A camera that gave no picture is said in ``error.message`` in words for
the person.  ``detail`` beside ``error``, when present, carries the
specifics (the address asked, what answered) for you, not for them.

:param printer_name: Target printer name.  Omit for the default printer.
:param save_path: Optional path to save the image file.  If omitted, the
    image is returned as a base64-encoded string.

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_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
save_pathNoOptional path to save the image file. If omitted, the image is returned as a base64-encoded string.
printer_nameNoTarget printer name. Omit for the default printer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • addedInput schema / properties / printer_name / description
      Added value: +"Target printer name.  Omit for the default printer."
    • addedInput schema / properties / save_path / description
      Added value: +"Optional path to save the image file.  If omitted, the image is returned as a base64-encoded string."
  2. Changed2 schema fields changedv1.5.0
    • removedInput schema / properties / printer_name / default
      Removed value: -null
    • removedInput schema / properties / save_path / default
      Removed value: -null
  3. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing that non-JPEG/PNG answers are refused rather than returned, that a user-registered camera overrides the printer's own with camera_source reporting which answered, and that a missing camera add-on yields a camera_addon block with a human-confirmation install flow. Error structure is spelled out: human-readable error.message versus machine-oriented error.detail.

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 action, then layered behavior, then recovery path, then params — a sensible order with little wasted prose. The duplicated :param section and the slightly ornate phrasing ("in words for the person") cost a point but do not obscure meaning.

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?

With no output schema, the description carries the return contract itself: base64 string when save_path is omitted, saved file otherwise, plus camera_source and the shape of error/camera_addon blocks. For a zero-required-parameter capture tool this is complete enough to invoke and to handle failures correctly.

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 100%, so both parameters are already documented, and the :param block restates the schema text verbatim without adding format, path constraints, or override semantics. Baseline 3 applies because the schema carries the parameter burden.

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?

Opens with a specific verb and resource: "Capture a webcam snapshot from the printer," and immediately clarifies scope with "Reads the printer's own camera, whichever kind it has." It never names a sibling such as analyze_print_snapshot, so the distinction from other snapshot-adjacent tools is left to inference.

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?

There is no explicit "use this when..." or exclusion of alternatives; usage is only implied by the description of what the tool reads. The add-on recovery sequence (say message, ask ask, run install, retry) is procedural guidance for a conditional path rather than when-to-use guidance relative to other tools.

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