Skip to main content
Glama

get_nozzle_state

Read-only

Retrieve a printer's recorded nozzle state to check warnings, filament lifespan, swap timing, and whether each machine's nozzle matches its record.

Instructions

Return the recorded nozzle state for a printer.

Free door, tiered answer — Free: Warnings — always free · Pro: How long it lasts on that filament, and when to swap · Business: + Every machine’s nozzle checked against its record · Enterprise: ✓.

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>"
    },
    "name": "get_nozzle_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
printer_idYesStable printer identifier — same key the public ``PrinterRegistry`` uses (e.g. ``"bambu_a1"``).
printer_modelNoOptional explicit model lookup key (e.g. ``"bambu_a1"``) when *printer_id* is a user-named instance ID like ``"kitchen_printer"``. Falls through to longest-prefix match against the overlay otherwise. Default: "".
file_nozzle_mmNoThe nozzle size in mm a sliced file states it was made for. Given one, the answer carries ``sliced_file``; a value that is not a plausible nozzle size is refused with ``VALIDATION_ERROR``. Omitted, no file check.
printer_readingNoWhat the printer itself reports as its nozzle, filled in by the caller's own Kiln when it can reach the machine. Used only where this process cannot read the printer, as data; omitted, the answer carries no printer-side comparison unless this process can read it. Leave it unset by hand.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.5.1
    • addedInput schema / properties / file_nozzle_mm / description
      Added value: +"The nozzle size in mm a sliced file states it was made for.  Given one, the answer carries ``sliced_file``; a value that is not a plausible nozzle size is refused with ``VALIDATION_ERROR``.  Omitted, no file check."
    • addedInput schema / properties / printer_id / description
      Added value: +"Stable printer identifier — same key the public ``PrinterRegistry`` uses (e.g. ``\"bambu_a1\"``)."
    • changedInput schema / properties / printer_model / description
      Previous value: -"Default: \"\"."New value: +"Optional explicit model lookup key (e.g. ``\"bambu_a1\"``) when *printer_id* is a user-named instance ID like ``\"kitchen_printer\"``.  Falls through to longest-prefix match against the overlay otherwise. Default: \"\"."
    • addedInput schema / properties / printer_reading / description
      Added value: +"What the printer itself reports as its nozzle, filled in by the caller's own Kiln when it can reach the machine.  Used only where this process cannot read the printer, as data; omitted, the answer carries no printer-side comparison unless this process can read it.  Leave it unset by hand."
  2. Addedv1.5.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The tier sentence does disclose a real behavior — the answer's content is gated by plan (warnings only on Free, lifetime estimates on Pro, fleet-wide record checks on Business) — but it is phrased as upsell copy rather than specification, and it says nothing about permissions, errors, or how partial answers look.

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

Conciseness2/5

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

The opening sentence is tight and front-loaded, but the remainder is a malformed pricing ladder ('Free door', 'Enterprise: ✓') that spends most of the description's length on commercial framing instead of tool behavior.

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

Completeness3/5

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

With four parameters, one nested object, a 100%-covered schema, and no output schema, the structured data carries most of the load. What remains unexplained is the one thing only the description could tell: that the returned record is truncated differently per subscription tier and what a truncated answer actually contains.

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 the schema already explains printer_id, printer_model fallback, file_nozzle_mm, and the caller-supplied printer_reading. The description adds no parameter-level meaning at all beyond what those field descriptions provide, so the baseline 3 applies.

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 first sentence gives a specific verb and resource — 'Return the recorded nozzle state for a printer' — which is unambiguous and readable next to siblings like set_nozzle_state. It never explicitly contrasts itself with list_nozzle_states or get_my_nozzle_wear_patterns, so the read-one-vs-many distinction rests on the name alone.

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?

There is no statement of when to call this versus set_nozzle_state (write), list_nozzle_states (enumerate), or auto_detect_nozzle (probe the hardware). The second sentence describes subscription tiers, not invocation conditions, and never mentions a prerequisite or exclusion.

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