Skip to main content
Glama

auto_detect_nozzle

Destructive

Parse raw printer payloads into a NozzleState to detect nozzle condition and warnings for Bambu, Klipper, and OctoPrint machines.

Instructions

Parse a raw printer payload into a NozzleState.

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>",
      "brand": "<brand>",
      "raw_payload": "<raw_payload>"
    },
    "name": "auto_detect_nozzle"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYesOne of ``bambu``, ``klipper``, ``octoprint``.
printer_idYesStable printer identifier this nozzle state belongs to.
raw_payloadYesThe raw text or JSON the LAN fetch returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.1
    • addedInput schema / properties / brand / description
      Added value: +"One of ``bambu``, ``klipper``, ``octoprint``."
    • addedInput schema / properties / printer_id / description
      Added value: +"Stable printer identifier this nozzle state belongs to."
    • addedInput schema / properties / raw_payload / description
      Added value: +"The raw text or JSON the LAN fetch returned."
  2. Addedv1.5.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, so the bar is to say what gets overwritten — but the description describes only a pure transformation of text into a state object, never mentioning that a saved nozzle record is replaced. The tier list (warnings, wear duration, fleet checks) is marketing copy, not behavioral disclosure about this call.

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 one useful sentence is front-loaded, but it is immediately followed by two lines of pricing-tier advertising ("Free: Warnings... Enterprise: ✓") that earn no place in a tool definition and actively distract from invocation decisions.

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?

Three required, well-documented parameters and no output schema keep the missing information moderate, but a destructive write tool with no stated side effects on the stored nozzle record leaves a real gap an agent needs filled before calling it.

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%, including the enumerated brand values (bambu, klipper, octoprint) and the meaning of printer_id and raw_payload, so the schema carries parameter semantics fully. The description adds nothing beyond that, which is the baseline-3 case rather than a failure.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a concrete verb and resource ("Parse a raw printer payload into a NozzleState"), which is more specific than a restated name. However, it never explains the relationship to siblings such as get_nozzle_state, list_nozzle_states, or set_nozzle_state, and the parsing framing omits the persist/refresh behavior that the tool's own title claims.

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 get_nozzle_state (read a saved state) or set_nozzle_state (write one explicitly), nor prerequisites like having just run a LAN fetch. The remaining text is a subscription-tier sales pitch, which gives the agent no selection guidance at all.

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