Skip to main content
Glama
klipper-doctor-mcp

klipper-doctor-mcp

by kd-011

Moonraker's reported printer state

printer_status
Read-onlyIdempotent

Retrieves Klipper's current state, last error or shutdown message, and print status from Moonraker to diagnose why a print stopped.

Instructions

Ask Moonraker for Klippy's state and state message (which holds the last error when Klippy is in error or shutdown) and the print state. Needs MOONRAKER_URL. Read-only: two GET requests.

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": "printer_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
printNo
klippyYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered structurally. The description adds real context beyond that: it is two GET requests, it requires MOONRAKER_URL, and the state message carries the last error when Klippy is in error or shutdown. It does not discuss latency, polling expectations, or failure behavior when Moonraker is unreachable.

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?

One dense sentence that front-loads the primary return value and parenthetically explains the error-field semantics, then tacks on prerequisites and request count. Nothing is wasted, though the trailing 'Read-only: two GET requests' partially restates the 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 values need no prose explanation, and with no parameters the input side is trivially complete. The description still covers the key interpretive nuance (the state message is where the last error lands) and the config requirement, leaving only edge-case behavior when the server is down unaddressed.

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?

There are zero parameters, so the baseline is 4. The only actionable input mentioned is the MOONRAKER_URL configuration dependency, which is genuinely useful to an agent even though it lives outside the empty schema.

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 a specific retrieval: Klippy's state and state message plus the print state from Moonraker. That is a concrete resource and scope an agent can distinguish from the sibling tools (log diagnosis, rule explanation, config linting/listing). The verb phrase 'Ask Moonraker for' is slightly soft but the payload is unambiguous.

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?

Usage is implied rather than stated: this is the status probe you call to learn the current printer/Klippy condition, and the prerequisite (MOONRAKER_URL) is spelled out. There is no explicit when-not guidance or named alternative for cases like reading job history versus live state, so the agent must infer.

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