Skip to main content
Glama

get_printer_insights

Read-only

Query a specific 3D printer's cross-printer learning insights: success rates, failure modes, per-material stats, unresolved prints, and outcome questions to settle with the user.

Instructions

Query cross-printer learning insights for a specific printer.

        Returns success rates, failure mode breakdown, and per-material
        statistics based on previously recorded outcomes — plus any
        UNRESOLVED prints: jobs that started (or ended) while no Kiln
        process was watching, whose outcome nobody has settled yet.

        **Agent contract for ``unresolved_prints``**: these entries are
        waiting on the one witness the machine can't replace — the
        user, who has the part.  When the moment is natural (not
        mid-task), ask casually ("Your ashtray finished while Kiln
        wasn't watching — did it come out OK?") and settle the answer
        via ``record_print_outcome(job_id=..., outcome=...,
        determined_by="user_reported")``.  Never guess an outcome on
        the user's behalf; an unresolved print stays out of all
        success-rate math until someone who knows answers.

        **Agent contract for ``endings_to_ask_about``**: recent prints
        the printer stopped without a reason, or that someone stopped
        before they finished.  Only the person knows whether the part
        was coming out bad.  Each entry carries ``ask``: the question,
        and the exact ``record_print_outcome`` call for each thing they
        can say.  Ask once, at a natural moment, and never pick an
        answer for them.  The same block rides as ``ask_the_person`` on
        the tool that reports a print's ending.

        **Agent contract for ``printer_question``**: one question about
        this printer itself, or ``null``.  ``seen``, ``check`` (when
        present) and ``question`` are sentences to say to the person as
        written; ``record`` maps each thing they can say to the exact
        ``set_machine_repair`` call that records it.  ``check_part``
        names the part ``check`` is about: offering that part's steps is
        not an answer.  Ask once, at a natural moment, and never pick an
        answer for them.  The same block can ride as ``ask_the_person``
        on the tool that reports a print's ending, when that ending owes
        no question of its own.

        A row carrying ``ending_said`` ("Stopped: power cut") is a stop,
        not a bad print: say those words to the person, never "failed".
        A row carrying ``repair_said`` is a bad print made while the
        printer was marked needs repair: say those words; it counts
        about the printer and not against the design or the material.

        ``insights.printer_own_history`` counts jobs Kiln only read off
        the printer's own log: it neither started nor watched them, and
        nobody told Kiln how the parts came out.  They are in no success
        rate.  Say them apart ("your printer's own log lists N earlier
        jobs, M ran to the end"), never as prints that succeeded.  A row
        of that kind carries ``ending_said`` with the same meaning.  If
        the person says how one came out, ``record_print_outcome`` with
        its ``job_id`` makes it count.

        **Note**: Insights are advisory.  They do NOT override safety limits
        or preflight checks.

        Args:
            printer_name: The printer to get insights for.
            limit: Maximum recent outcomes to include (default 20).
        

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_name": "<printer_name>"
    },
    "name": "get_printer_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum recent outcomes to include (default 20). Default: 20.
printer_nameYesThe printer to get insights for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • changedInput schema / properties / limit / description
      Previous value: -"Default: 20."New value: +"Maximum recent outcomes to include (default 20). Default: 20."
    • addedInput schema / properties / printer_name / description
      Added value: +"The printer to get insights for."
  2. Changed2 schema fields changedv1.5.0
    • removedInput schema / properties / limit / default
      Removed value: -20
    • addedInput schema / properties / limit / description
      Added value: +"Default: 20."
  3. First observedv0.1.0

TDQS

A3.7/5.0
Behavior5/5

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

Annotations already establish a safe read, yet the description adds substantial behavior: insights are advisory and do NOT override safety limits or preflight checks, unresolved prints are excluded from all success-rate math until settled, printer_own_history jobs are in no success rate at all, and the agent is explicitly forbidden from guessing outcomes. It also disambiguates semantics (ending_said is a stop, not a failure; repair_said counts against the printer, not the design).

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 purpose is front-loaded in one sentence, but it is followed by several hundred words of mixed return-value semantics and repeated instruction ("Ask once, at a natural moment, and never pick an answer for them" appears three times in near-identical wording). The per-field contracts are not separated into scannable sections, and a large share of the text governs follow-up tools rather than this one.

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?

No output schema exists, so the description must carry return semantics — and it does in detail for unresolved_prints, endings_to_ask_about, printer_question, ending_said, repair_said and printer_own_history. What is missing is any sense of the overall response shape or pagination/limit interaction, despite the emphasis on individual fields.

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% and the Args block merely restates both parameters (printer_name, limit) verbatim from the schema. No extra meaning, format, or constraint is added beyond what the schema already documents, so the baseline of 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?

Opens with a specific verb and resource ("Query cross-printer learning insights for a specific printer") and enumerates the content returned: success rates, failure mode breakdown, per-material statistics. It does not distinguish itself from closely-named siblings such as printer_stats, printer_usage_summary or printer_trend_analysis, so an agent must guess which insight tool to reach for.

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?

Strong guidance on what to do AFTER calling it (settle unresolved_prints via record_print_outcome, ask endings_to_ask_about once at a natural moment, never guess), but no guidance on when to call this tool rather than the other read-only printer tools. Usage is implied by the returned data rather than stated selection criteria.

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