Skip to main content
Glama

check_print_readiness

Check whether a 3D mesh is printable in one call: validates manifold geometry, floating regions, degenerate triangles, and bed fit, returns a clear verdict, and can auto-repair faults when enabled.

Instructions

Single-call print readiness check with optional auto-repair.

        Checks the mesh is sound (parseable, manifold, no floating
        regions, no degenerate triangles, fits the build plate) and reads
        ``analyze_printability``'s verdict, which knows a short ceiling
        bridges.  ``can_print`` is true only when the mesh is sound and
        Kiln's verdict lets the part print, the same verdict the print
        pipeline refuses on.  ``verdict`` is ``ready_to_print``,
        ``printable_with_supports``, ``check_before_printing`` (the
        verdict asks for a check; ``can_print`` is false, and a print of
        it still starts on the person's yes, the check said in the
        approval),
        ``wont_print`` (sound, but it won't print as it is) or
        ``needs_fixes`` (a mesh fault, named in ``issues``).
        ``validate_and_prepare`` runs the full pre-print pipeline.

        ``bed_check`` says which bed the part was held to: ``printer_id``'s,
        else the three bed dimensions, else this install's printer.  With
        none of those ``bed_check.checked`` is false and no bed size is
        assumed: relay ``bed_check.note``, and never say the part fits a
        bed that was not checked.

        With ``auto_fix=True``, automatically repairs degenerate triangles,
        closes holes, and removes floating regions.

        :param file_path: Path to mesh file.
        :param auto_fix: Attempt automatic repairs (default False).
        :param output_path: Where to write the fixed file.
        :param bed_x_mm: Build plate X dimension in mm.  Give all three
            bed dimensions, or none (0).
        :param bed_y_mm: Build plate Y dimension in mm.
        :param bed_z_mm: Build plate Z dimension in mm.
        :param printer_id: Optional supported printer model id, or the
            name of a printer set up in Kiln.  When provided, printer
            intelligence supplies the build volume.
        :param material: Material the supports verdict and the
            ``printability_verdict`` are judged for (default ``"pla"``) —
            ``analyze_printability``'s own, so the two agree.
        :returns: Dict with can_print verdict, issues, and actions taken.
        

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": {
      "file_path": "<file_path>"
    },
    "name": "check_print_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
auto_fixNoAttempt automatic repairs (default False). Default: false.
bed_x_mmNoBuild plate X dimension in mm. Give all three bed dimensions, or none (0). Default: 0.0.
bed_y_mmNoBuild plate Y dimension in mm. Default: 0.0.
bed_z_mmNoBuild plate Z dimension in mm. Default: 0.0.
materialNoMaterial the supports verdict and the ``printability_verdict`` are judged for (default ``"pla"``) — ``analyze_printability``'s own, so the two agree. Default: "pla".
file_pathYesPath to mesh file.
printer_idNoOptional supported printer model id, or the name of a printer set up in Kiln. When provided, printer intelligence supplies the build volume. Default: "".
output_pathNoWhere to write the fixed file. Default: "".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.6.0
    • changedInput schema / properties / bed_x_mm / description
      Previous value: -"Build plate X dimension (default 256). Default: 256.0."New value: +"Build plate X dimension in mm.  Give all three bed dimensions, or none (0). Default: 0.0."
    • changedInput schema / properties / bed_y_mm / description
      Previous value: -"Build plate Y dimension (default 256). Default: 256.0."New value: +"Build plate Y dimension in mm. Default: 0.0."
    • changedInput schema / properties / bed_z_mm / description
      Previous value: -"Build plate Z dimension (default 256). Default: 256.0."New value: +"Build plate Z dimension in mm. Default: 0.0."
    • changedInput schema / properties / material / description
      Previous value: -"Material the supports verdict and the ``printability_score`` are judged for (default ``\"pla\"``) — ``analyze_printability``'s own, so the two agree. Default: \"pla\"."New value: +"Material the supports verdict and the ``printability_verdict`` are judged for (default ``\"pla\"``) — ``analyze_printability``'s own, so the two agree. Default: \"pla\"."
  2. Changed8 schema fields changedv1.5.1
    • changedInput schema / properties / auto_fix / description
      Previous value: -"Default: false."New value: +"Attempt automatic repairs (default False). Default: false."
    • changedInput schema / properties / bed_x_mm / description
      Previous value: -"Default: 256.0."New value: +"Build plate X dimension (default 256). Default: 256.0."
    • changedInput schema / properties / bed_y_mm / description
      Previous value: -"Default: 256.0."New value: +"Build plate Y dimension (default 256). Default: 256.0."
    • changedInput schema / properties / bed_z_mm / description
      Previous value: -"Default: 256.0."New value: +"Build plate Z dimension (default 256). Default: 256.0."
    • addedInput schema / properties / file_path / description
      Added value: +"Path to mesh file."
    • changedInput schema / properties / material / description
      Previous value: -"Default: \"pla\"."New value: +"Material the supports verdict and the ``printability_score`` are judged for (default ``\"pla\"``) — ``analyze_printability``'s own, so the two agree. Default: \"pla\"."
    • changedInput schema / properties / output_path / description
      Previous value: -"Default: \"\"."New value: +"Where to write the fixed file. Default: \"\"."
    • changedInput schema / properties / printer_id / description
      Previous value: -"Default: \"\"."New value: +"Optional supported printer model id, or the name of a printer set up in Kiln.  When provided, printer intelligence supplies the build volume. Default: \"\"."
  3. Changed13 schema fields changedv1.5.0
    • removedInput schema / properties / auto_fix / default
      Removed value: -false
    • addedInput schema / properties / auto_fix / description
      Added value: +"Default: false."
    • removedInput schema / properties / bed_x_mm / default
      Removed value: -256
    • addedInput schema / properties / bed_x_mm / description
      Added value: +"Default: 256.0."
    • removedInput schema / properties / bed_y_mm / default
      Removed value: -256
    • addedInput schema / properties / bed_y_mm / description
      Added value: +"Default: 256.0."
    • removedInput schema / properties / bed_z_mm / default
      Removed value: -256
    • addedInput schema / properties / bed_z_mm / description
      Added value: +"Default: 256.0."
    • addedInput schema / properties / material
      Added value: +{
      +  "description": "Default: \"pla\".",
      +  "title": "Material",
      +  "type": "string"
      +}
    • removedInput schema / properties / output_path / default
      Removed value: -""
    • addedInput schema / properties / output_path / description
      Added value: +"Default: \"\"."
    • removedInput schema / properties / printer_id / default
      Removed value: -""
    • addedInput schema / properties / printer_id / description
      Added value: +"Default: \"\"."
  4. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Adds substantial context beyond the annotations (readOnlyHint=false, destructiveHint=false): auto_fix mutates the mesh by closing holes and removing floating regions, output_path receives the fixed file, and can_print is only true when the mesh is sound AND Kiln's verdict permits printing. The verdict enum and the check_before_printing edge case are disclosed. However, the check_before_printing parenthetical is garbled enough that the actual downstream behavior is hard to parse.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and repair behavior, but the verdict enumeration is a run-on, and the check_before_printing clause ("a print of it still starts on the person's yes, the check said in the approval") is confusing and should be rewritten. The all-or-none bed rule is repeated in both the body and the :param block.

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 8 parameters and no output schema, the description does the work of explaining return values: can_print, the verdict values, issues, bed_check.checked/note, and actions taken. It is nearly complete, though the verdict semantics would be clearer as a plain list rather than prose.

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 description's :param entries largely restate the schema text (bed dimensions all-or-none, material default "pla", printer_id accepts a model id or a Kiln printer name). It adds only marginal semantics beyond the structured fields, so the baseline 3 applies.

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?

States a specific verb and resource ("Single-call print readiness check with optional auto-repair") and enumerates exactly what is verified (parseable, manifold, floating regions, degenerate triangles, build-plate fit). It also names the related sibling it wraps (analyze_printability's verdict) and contrasts with validate_and_prepare, so the agent can place it in the family without opening another schema.

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?

Explicitly routes the agent: this is the single-call check, while "validate_and_prepare runs the full pre-print pipeline" — a clear alternative and condition. It also gives an operational rule when no bed is specified (relay bed_check.note, never claim the part fits an unchecked bed). No explicit when-not guidance beyond that, so not a 5.

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