Skip to main content
Glama

set_machine_repair

Destructive

Mark a 3D printer as needing repair or repaired, or clear the latest mark, to stop routing prints while out of service and restore normal use after repair.

Instructions

Tell Kiln a printer needs repair, or that you have repaired it.

        Kiln judges a printer by its own prints.  Mark it ``needed`` when
        you are taking it out of service: routing stops choosing it, and
        a print you start on it yourself still runs, with a warning.
        Mark it ``done`` once it is fixed: from that moment it is judged
        by what it prints next, and its earlier prints stop counting
        against it.  Nothing is deleted, and the record stays yours.

        Signed in, a mark follows the printer to your Kiln account and
        to your other computers, and marks made elsewhere (another
        computer, the web) come back here.  When your account cannot
        tell whether a printer marked from another computer is this
        one, the reply carries a ``questions`` list; answer one with
        ``same_as`` (it is this printer) or ``different_from`` (it is
        not), passing the question's id and no status.

        A question Kiln asked about this printer (a ``printer_question``
        in ``get_printer_insights``, or an ``ask_the_person`` block whose
        ``about`` is ``printer``) is answered here too: pass its
        ``episode`` as ``answer_to`` and what the person said as
        ``answer``, exactly as the block's ``record`` gives the call, and
        no status.  Kiln then marks the printer needs repair or repaired
        when that is what they said, and keeps the answer on this
        computer either way, so the question is not asked again.

        Args:
            machine_name: The printer, by its name here.
            status: ``needed`` (out of service until repaired), ``done``
                (repaired; ``kind`` required), or ``clear`` (take back
                the latest mark).  Left out only to answer a question.
            kind: What was repaired: nozzle, hotend, extruder, bed,
                belts, or other.  Required for ``done``; optional for
                ``needed``.
            note: What you did, in your own words (optional; kept on
                this computer, never sent to your account).
            when: When it happened, ISO 8601 (``2026-10-20T14:00``).
                Left out, now.  A repair may be dated up to 30 days
                back; never ahead.
            same_as: The id of a question from an earlier reply: this
                printer IS the one marked from the other computer.
            different_from: The id of a question: it is NOT (also undoes
                a wrong yes; never asked again for that pair).
            answer_to: The ``episode`` of a question about this printer.
            answer: The id of the answer the person gave to it.

        Returns ``recorded``, the printer, ``status``, ``kind``,
        ``marked_at``, the printer's ``condition`` now, ``next`` (one
        sentence), for ``done`` a ``reset`` block saying how many
        earlier prints no longer count, and, signed in, ``account``
        (whether the mark reached it) and any ``questions``.  Refuses,
        by name, a printer Kiln cannot tell apart from another, a time
        ahead or too far back, and the hosted server, where the record
        is not kept.
        

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": {
      "machine_name": "<machine_name>"
    },
    "name": "set_machine_repair"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWhat was repaired: nozzle, hotend, extruder, bed, belts, or other. Required for ``done``; optional for ``needed``.
noteNoWhat you did, in your own words (optional; kept on this computer, never sent to your account).
whenNoWhen it happened, ISO 8601 (``2026-10-20T14:00``). Left out, now. A repair may be dated up to 30 days back; never ahead.
answerNoThe id of the answer the person gave to it. Default: "".
statusNo``needed`` (out of service until repaired), ``done`` (repaired; ``kind`` required), or ``clear`` (take back the latest mark). Left out only to answer a question. Default: "".
same_asNoThe id of a question from an earlier reply: this printer IS the one marked from the other computer. Default: "".
answer_toNoThe ``episode`` of a question about this printer. Default: "".
machine_nameYesThe printer, by its name here.
different_fromNoThe id of a question: it is NOT (also undoes a wrong yes; never asked again for that pair). Default: "".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • addedInput schema / properties / answer
      Added value: +{
      +  "description": "The id of the answer the person gave to it. Default: \"\".",
      +  "title": "Answer",
      +  "type": "string"
      +}
    • addedInput schema / properties / answer_to
      Added value: +{
      +  "description": "The ``episode`` of a question about this printer. Default: \"\".",
      +  "title": "Answer To",
      +  "type": "string"
      +}
  2. Addedv1.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that routing stops selecting a needed printer while a self-started print still runs with a warning, that done changes future judging and resets earlier print counts, and that notes stay local. It also explains account sync, cross-computer question resolution, and refusal cases, which is unusually thorough behavioral context.

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?

The description is long but well organized: purpose first, then behavioral context, then Args, then Returns. Some of the prose is discursive and the Args section duplicates schema text, but the length is mostly justified by the tool's complex sync and question-answering behavior.

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, but the description explains the return fields, including recorded status, condition, next, reset, and account/question data. For a nine-parameter tool with cross-device sync and refusal conditions, the definition is complete enough for an agent to call it 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 coverage is 100%, and the Args section largely mirrors the schema's own parameter descriptions. It does clarify cross-parameter conditions such as kind being required for done and status being omitted only when answering, but most of that meaning is already present in the structured schema.

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 states a specific verb and resource: telling Kiln that a printer needs repair or has been repaired. It is clearly a repair-state mutation tool, and it distinguishes itself from get_printer_insights by describing that tool as a source of questions this tool answers.

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?

The description explains when to use each status: needed takes the printer out of service, done records a repair and resets earlier print history, and clear removes the latest mark. It also gives explicit guidance for leaving status out when answering a question, names the relevant question sources, and states when the tool refuses requests.

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