Skip to main content
Glama
bambutler-mcp

bambutler-mcp

decode_hms

Read-only

Decodes Bambu Lab HMS codes and print_error values into severity, module, explanatory text, help URL, and troubleshooting hints.

Instructions

Decode HMS codes ('0300_0100_0001_0007', {attr, code}) or print_error values (int, '0500-4002', '05004002'): severity, module, text (from the local Bambu Studio HMS table when present), help URL, and a hint for known codes.

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": {
      "codes": "<codes>"
    },
    "name": "decode_hms"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYesCodes in any supported form.
printerNoPrinter name or serial from the config. Default: the first printer.
serial_prefixNoFirst 3 serial characters (model) for model-specific text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description goes further by naming the returned fields (severity, module, text, help URL, hint) and by disclosing the important caveat that text comes from the local Bambu Studio HMS table 'when present', so the agent knows lookup can be incomplete. It does not say what happens for unknown codes or whether one bad code fails the whole batch.

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?

A single dense sentence with the verb front-loaded and examples grouped in parentheses after each claim. Every clause carries information, though the return-field list makes it slightly long for one sentence.

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 no output schema, the description correctly spends its words enumerating the return values, and it covers the notable data-source caveat. Remaining gaps are minor: behavior on unrecognized codes and multi-code batching are not described.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by enumerating the concrete accepted code forms that the schema only gestures at with 'Codes in any supported form'. The printer and serial_prefix parameters are left to their schema descriptions, which already explain defaults and purpose.

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 ('Decode HMS codes') and immediately enumerates the accepted input shapes, including concrete literal examples ('0300_0100_0001_0007', {attr, code}, int, '0500-4002', '05004002'). No sibling tool in the catalog does HMS/print_error decoding, so the scope is unambiguous to an agent.

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

Usage Guidelines3/5

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

It implicitly tells the agent this is the tool for turning HMS or print_error codes into human-readable meaning, and the example inputs make the trigger condition clear. However, there is no explicit when-to-use framing, no guidance on where such codes come from (e.g. status or events output), and no when-not or alternative guidance.

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