Skip to main content
Glama

record_nozzle_replacement

Destructive

Record a 3D printer nozzle replacement with its reason and new material to keep maintenance history and wear tracking accurate.

Instructions

Pro+ — record a nozzle replacement event with the WHY.

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": {
      "printer_id": "<printer_id>",
      "reason": "<reason>",
      "new_material": "<new_material>"
    },
    "name": "record_nozzle_replacement"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesOne of ``worn_out`` / ``damaged`` / ``upgraded`` / ``downgraded`` / ``diameter_change`` / ``preventive`` / ``experimental`` / ``other``. Missing / invalid → returns ``code=WHY_REQUIRED`` with the allowed list and one example sentence per reason.
positionNoThe nozzle position the swap was at, numbered from 1 as the printer numbers them. Omitted, position 1. Below 1, or past what the printer takes when Kiln knows the model, it is refused with ``VALIDATION_ERROR``.
printer_idYesStable printer identifier.
install_dateNoISO 8601 date string for the install event. Defaults to today.
new_materialYesMaterial of the nozzle going in: ``brass``, ``stainless_steel``, ``hardened_steel``, ``ruby_tip``, ``cht_brass``, ``cht_hardened``, ``tungsten_carbide`` or ``custom`` (case-insensitive), or ``unknown`` when nobody knows; anything else is refused.
printer_modelNoResolved printer model key (e.g. "bambu_a1") for cohort bucketing. Falls through to an empty string when the agent can't resolve from the user's printer registry. Default: "".
reason_detailNoOptional free-text "tell me more" that the agent should elicit alongside the reason. REQUIRED when ``reason == "other"``. Default: "".
client_event_idNoA stable id the caller assigns to this swap, used as the replacement event's id so a retried call names the same event. Empty, Kiln uses the lifecycle entry's own id, or mints one. Default: "".
failure_subtypeNoFor ``reason="worn_out"``: which part of the nozzle failed — ``tip`` (orifice wear, drift in dimensions), ``bore`` (melt-zone wear, uneven flow), ``both``, or ``other`` (a failure outside that split: diameter sag, body crack). Omitted, the event records no sub-type. Pass the ``replacement_recommendation`` an earlier ``nozzle_wear_status`` or ``check_nozzle_capacity_for_print`` answer gave when you have one.
new_diameter_mmNoDiameter in mm (optional, falls back to whatever the previous nozzle was).
printer_readingNoWhat the printer itself reports as its nozzle, filled in by the caller's own Kiln when it can reach the machine, so the answer can say whether the printer agrees with the new record. Used only where this process cannot read the printer; leave it unset by hand.
filament_materialNoThe filament that wore the nozzle out (e.g. ``"PETG-CF"``, ``"PLA"``). Given, the event also feeds the anonymous community wear baseline; omit it when unknown and the event is still recorded. Default: "".
previous_materialNoThe nozzle that came OUT, when the caller knows it. Wins over whatever the stored record holds — the caller is the only party that watched the swap. Pass it whenever the record may already have been updated, and always when this call follows a ``set_nozzle_state``. When it disagrees with the record, the stored wear counters belong to a different nozzle and are dropped rather than recorded against this one. Default: "".
previous_diameter_mmNoDiameter of the outgoing nozzle. Only meaningful alongside *previous_material*; defaults to whatever the record held.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / position
      Added value: +{
      +  "description": "The nozzle position the swap was at, numbered from 1 as the printer numbers them.  Omitted, position 1. Below 1, or past what the printer takes when Kiln knows the model, it is refused with ``VALIDATION_ERROR``.",
      +  "title": "Position",
      +  "type": "integer"
      +}
  2. Addedv1.5.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds a genuinely useful fact beyond the annotations — that this is a Pro+ tier feature — but it never explains what the mutation destroys (the schema notes stored wear counters get dropped) or the consequence of recording against a mis-identified nozzle.

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?

Nine words with zero padding and the tier note front-loaded before the action. It is efficient, though the extreme brevity is a deficiency in substance rather than a model of concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, 14-parameter mutation with no output schema and nested objects, the description supplies almost no context. The schema does essentially all the work, and the agent gets no description-level warning about the destructive overwrite or the interaction with prior set_nozzle_state calls.

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% and every one of the 14 parameters carries a detailed in-schema explanation, so the baseline is 3. The description repeats no parameter detail and adds no meaning beyond what the schema already supplies.

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?

The description pairs a specific verb ("record") with a specific resource ("a nozzle replacement event") and flags the required reason via "with the WHY." It does not distinguish this from the closely named sibling record_cutter_replacement or explain how it relates to set_nozzle_state, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Pro+" signals a tier requirement, but nothing tells the agent when to call this instead of set_nozzle_state or auto_detect_nozzle, nor what preconditions exist. The only usage signal is the parenthetical insistence on supplying a reason.

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