Skip to main content
Glama

counterpart_print_progress

Read-onlyIdempotent

Read the printer's cached MQTT report to return current job progress, temperatures, filament, and HMS messages without contacting the printer; reports offline if unreachable.

Instructions

Counterpart contract (counterpart/1): the printer's state, current job (name, task id, percent, time left, layers, stage words), temperatures, active filament and problems with Bambu's HMS messages and links. Read from the MQTT report this server keeps, so a held session asks the printer nothing; observedAt is when the printer sent it. An unreachable printer reports state offline. Read-only; not a safety check.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "counterpart_print_progress"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoHostname or IP of the printer (default: value from env)
bambu_modelNoPrinter model; defaults to BAMBU_MODEL. Used for the chamber sensor and Bambu's per-model messages.
bambu_tokenNoAccess token (default: value from env)
bambu_serialNoSerial number (default: value from env)

Output Schema

NameRequiredDescriptionDefault
jobNo
stateYes
tempsNo
contractYes
physicalNo
problemsYes
observedAtYesWhen the printer reported this (MQTT report time), ISO 8601.
activeFilamentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.93
    • addedOutput schema / properties / physical
      Added value: +{
      +  "properties": {
      +    "assessment": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "evidence": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "observedLayer": {
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "status": {
      +      "enum": [
      +        "unknown",
      +        "consistent",
      +        "suspect_no_growth",
      +        "suspect_no_extrusion"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "evidence",
      +    "limitations"
      +  ],
      +  "type": "object"
      +}
  2. Addedv1.1.51

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds things they cannot: the data is served from a cached MQTT report rather than querying the printer, observedAt is the printer's send time (not the call time), and an unreachable printer yields state=offline instead of an error. Those provenance and failure-mode details are exactly what an agent needs to reason about staleness and error handling.

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?

Front-loaded with the tool's identity and primary payload, then narrowed by three short sentences on data source, timestamp semantics, and failure behavior. The parenthetical field list is dense but every item earns its place; nothing is repeated from the schema or annotations.

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

Completeness4/5

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

With an output schema present, return shape needn't be spelled out, and the description still summarizes it anyway. Data provenance, freshness semantics, and offline behavior are all covered, which is more than most read tools offer. The only soft spot is no guidance on how stale an observedAt can get before re-fetching.

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 all four parameters (host, bambu_model, bambu_token, bambu_serial) are documented there, including their env-var defaults. The description adds nothing parameter-specific beyond hinting at a chamber sensor and per-model messages, which the schema already states. 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 description names the specific resource and enumerates its contents (state, job name/task id/percent/time left/layers/stage words, temperatures, active filament, HMS messages with links), so an agent knows exactly what comes back. It also declares the protocol version (counterpart/1). It stops short of naming the sibling it differs from by name, only saying 'not a safety check' rather than 'use counterpart_print_assess for that'.

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

Usage Guidelines4/5

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

'Read from the MQTT report this server keeps, so a held session asks the printer nothing' tells the agent this is a cheap, non-intrusive poll suitable for repeated/live monitoring. 'Not a safety check' is an explicit exclusion that routes the agent elsewhere for assessment. It lacks a positive statement of when to prefer it over counterpart_printer_info.

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