Skip to main content
Glama

clear_printer_error

Clears a latched printer error so the printer accepts new prints. Acknowledges firmware-reported faults without fixing the root cause; use when printer_status shows error but the printer's own screen is clear.

Instructions

Clear a latched error on the PRINTER so it will accept prints again.

Different from ``clear_emergency_stop``, which releases Kiln's own safety
latch.  This one acknowledges an error the FIRMWARE is holding — the state
the machine itself reports — after which pre-flight checks pass again.

Reach for it when ``printer_status`` reports ``error`` and the printer's
own screen looks fine.  That combination is not a Kiln bug; the firmware
really is still reporting the fault, and on some machines dismissing the
on-screen message clears the notification without clearing the state.
Before this existed there was no way out of that from Kiln at all — only a
power cycle — so one bad print locked the machine out of every later one.

What it does NOT do is fix the cause.  A printer that halted for a real
fault will halt again the moment it retries, which is the honest outcome:
this reconciles Kiln with the machine, it does not overrule the machine.
Nothing is cleared while a print is running.

:param printer_name: Target printer.  Omit for the default printer.
:returns: Whether the acknowledgement was sent, plus the printer state
    read back afterwards so the caller can see whether it took.

See also: ``printer_status()``, ``preflight_check()``, ``emergency_stop()``.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
printer_nameNo
Behavior5/5

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

With no annotations, the description fully discloses behavior: it acknowledges a firmware-held error, reconciles Kiln with the machine, does not fix the underlying cause, may halt again on retry, and is blocked during an active print. It also states the return value—whether the acknowledgement was sent plus the read-back printer state. This is exemplary transparency for a state-mutating tool.

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

Conciseness5/5

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

Though relatively long, every sentence adds real value: scope, differentiation from a sibling, exact trigger condition, non-goals, runtime constraint, parameter description, return behavior, and cross-references. It is well-structured in digestible paragraphs and avoids redundancy. The length is justified by the conceptual complexity of distinguishing firmware vs. Kiln latches.

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?

This simple one-parameter tool is completely documented despite no annotations and no output schema. The description covers purpose, usage condition, behavior, side effects, limitations, parameter semantics, return value, and related tools. There is nothing an agent would need to know about this tool that is missing from the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only provides `printer_name` as an optional string/null with a default of null, and schema description coverage is 0%. The description compensates fully with ':param printer_name: Target printer. Omit for the default printer.' This adds complete semantic meaning beyond the schema, directly addressing the single parameter's purpose and optionality.

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 opens with a specific verb and resource: 'Clear a latched error on the PRINTER so it will accept prints again.' It clearly distinguishes itself from the sibling `clear_emergency_stop` by contrasting Kiln's own safety latch vs. firmware-reported errors. This leaves no ambiguity about what the tool does or how it differs from related tools.

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 gives an explicit trigger condition: use when `printer_status` reports `error` and the printer's own screen looks fine. It also states what it does NOT do (fix the cause, overrule the machine) and notes that nothing is cleared during a print. This provides strong when-to-use and when-not-to-use guidance, while explicitly referencing `clear_emergency_stop` as an alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/codeofaxel/kiln'

If you have feedback or need assistance with the MCP directory API, please join our Discord server