Skip to main content
Glama

look_at_plate

Destructive

Fetches a camera image of the 3D printer build plate and records whether it is clear or occupied, so agents can verify bed state before printing.

Instructions

Look at the build plate through the machine's camera, and record what is there.

Two steps, one tool.  Called WITHOUT ``seen`` it fetches a frame and
hands it to you as a picture, after a short text record that names
``snapshot_path``, the same picture saved on this computer -- and
records nothing.  Look at it, then call again with ``seen="clear"``
(nothing on the plate) or ``seen="occupied"`` (something is), and that
answer becomes the plate record with you named as the one who looked.

The picture shows whatever the camera sees, the room around the
printer included.  This tool saves it only on this computer and hands
it only to you; it is never written to a log.

A refusal over a recorded part (a slice with no spot named, a print
start, a park or home that would cross it) already carries that frame
as ``snapshot_path`` and says how old the record is: look at it and
come straight here with ``seen``.  A record days old most likely
describes a part someone took off -- look before you ask a person.

A print held with ``ALWAYS_ALLOW_LOOK_FIRST`` carries a frame the same
way: nobody is being asked about it (always allow, or a standing window
while the plate record names a part), so the bed is looked at first.  Judge that frame here with ``seen`` and start the print again;
the picture is kept with the print's record.  Beside a part on record,
``seen="as_recorded"`` says that part is all that is on the bed.  If
you cannot tell, say ``occupied`` -- the person is then the one who
decides.

When the PERSON tells you the bed is clear -- typed to you in a chat,
after a refusal that says a part is on it -- pass their words exactly
as ``person_says``.  They have to say it flatly ("bed clear", "the
plate is empty"); a hedge or a question is not that.  Where this app
can show a dialog, Kiln asks the person itself and records their
answer; otherwise the words are recorded as passed on by you, kept on
the record.  Never write these words yourself: if they have not said
it, ask them.  It settles a plate the record says is occupied; a plate
with no such record is settled by looking.

Kiln ships no vision model and judges nothing here.  The eyes are
yours; this tool is the camera and the pen.  Say what you actually see:
a plate you are not sure about is ``occupied``, because the cost of a
wrong "clear" is a print driven into a part and the cost of a wrong
"occupied" is one question.

Works on any printer with a camera Kiln can read -- the machine's own,
or one registered against it with ``camera_snapshot_url``, which works
on every printer type including those with no camera of their own.
A machine with neither says so and stays ``unknown``.

Args:
    printer_name: Which printer.  Omit for the default one.
    seen: Omit to fetch the picture.  ``"clear"`` or ``"occupied"`` to
        record what you saw in the picture you were just given;
        ``"as_recorded"`` when the plate record names parts and they
        are all that is on it.
    person_says: The person's own words that the bed is clear, exactly
        as they typed them.  Not with ``seen``.

Returns the ``plate`` record and a ``look`` block saying whether a
frame was available and which camera it came from -- followed, when a
picture was taken, by the picture itself as image content.

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": "look_at_plate"
  }
}

Input Schema

NameRequiredDescriptionDefault
seenNoOmit to fetch the picture. ``"clear"`` or ``"occupied"`` to record what you saw in the picture you were just given; ``"as_recorded"`` when the plate record names parts and they are all that is on it.
person_saysNoThe person's own words that the bed is clear, exactly as they typed them. Not with ``seen``.
printer_nameNoWhich printer. Omit for the default one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / seen / description
      Previous value: -"Omit to fetch the picture.  ``\"clear\"`` or ``\"occupied\"`` to record what you saw in the picture you were just given."New value: +"Omit to fetch the picture.  ``\"clear\"`` or ``\"occupied\"`` to record what you saw in the picture you were just given; ``\"as_recorded\"`` when the plate record names parts and they are all that is on it."
  2. Changed3 schema fields changedv1.5.1
    • addedInput schema / properties / person_says / description
      Added value: +"The person's own words that the bed is clear, exactly as they typed them.  Not with ``seen``."
    • addedInput schema / properties / printer_name / description
      Added value: +"Which printer.  Omit for the default one."
    • addedInput schema / properties / seen / description
      Added value: +"Omit to fetch the picture.  ``\"clear\"`` or ``\"occupied\"`` to record what you saw in the picture you were just given."
  3. Addedv1.5.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true) it discloses what is actually mutated: the first call records nothing, the second writes the plate record with the agent named as the observer. It also states the privacy contract (saved only on this computer, handed only to the caller, never written to a log), the camera resolution rules including ``camera_snapshot_url`` and the ``unknown`` fallback, and the cost asymmetry that justifies the conservative default.

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?

Structure is strong: the two-step mechanism is front-loaded, then privacy, then refusal/held-print flows, then the person_says path, then args and returns. It is long for a three-parameter tool, and a few passages (the closing "eyes are yours / camera and the pen" framing, some restatement in the privacy paragraph) could be trimmed without losing 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?

There is no output schema, so the description carries the return contract: it explains the ``plate`` record, the ``look`` block with frame availability and camera source, and the fact that image content follows. For a tool with a stateful two-call protocol and safety consequences, the definition covers the edge cases an agent would otherwise get wrong.

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%, so the baseline would be 3, but the description adds real meaning the schema does not: the strict flatness requirement for ``person_says``, the instruction never to author those words, the fact that they are preserved on the record, and that Kiln may prompt the person itself instead. The ``as_recorded`` semantics are also tied to a precondition (the plate record names parts) beyond the schema's wording.

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 opening sentence names a specific verb and resource ("Look at the build plate through the machine's camera") and immediately adds the side effect ("and record what is there"), which is the non-obvious part. The two-step protocol is spelled out per call mode, so an agent knows this is both a camera read and a plate-state write, distinct from siblings like plate_status.

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 for each mode: call without ``seen`` to fetch, then call again with ``clear``, ``occupied``, or ``as_recorded``. It also names the situations that route here (a refusal carrying a snapshot_path, an ALWAYS_ALLOW_LOOK_FIRST hold) and the alternative path ("look before you ask a person"), plus when ``person_says`` replaces looking entirely.

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