Skip to main content
Glama

run_quick_print

Destructive

Run the full print pipeline in one step: validate the mesh, slice to G-code, safety-check against printer limits, upload, and start printing on a registered 3D printer.

Instructions

Full print pipeline: validate + slice + safety-check + upload + print (recommended one-shot tool).

Preferred over ``slice_and_print`` — adds mesh-level pre-print
validation, G-code safety validation, and auto-detected bundled
slicer profiles.  For custom slicer parameter overrides, use
``run_reslice_and_print`` instead.  The full quick-print pipeline:
1. Validate mesh (printability, manifold, walls, bridges, bed-fit)
2. Resolve slicer profile (bundled, by printer_id)
3. Slice the (possibly auto-repaired) mesh to G-code
4. Safety-validate the G-code against printer limits
5. Upload G-code to the printer
6. Run preflight checks (always — cannot be skipped)
7. Start printing

Args:
    keep_record: ``False`` only when the person asks for this print not to be kept
        ("print this privately", "don't keep a record of this"); never suggest it.
        Kiln then keeps nothing of the print once it ends, and the answer carries
        one line saying so.  ``True`` keeps it, for a start a team's rule held
        (``TEAM_KEEPS_PRINTS``) after the person agreed.  Omit otherwise: the print
        is kept the way the account says.
    mixed_nozzle_experiment: The person has said yes, for this print, to a slice refused with
        ``MULTI_NOZZLE_MIXED_SIZES`` (nozzles of different sizes at once, an experiment). Only
        on their yes, each time; ``slice_model`` says what follows.
    soft_nozzle_confirmed: The owner has said to print anyway a slice
        refused with ``ABRASIVE_ON_SOFT_NOZZLE`` (an abrasive filament
        through a nozzle on record that is not wear-resistant).  Only on
        their word, never on your own judgement.  The slice step's
        ``soft_nozzle`` says which filament goes through which nozzle.
    filament_map: Only for a printer with more than one nozzle: the
        nozzle (1 for the first) each filament prints from, one number
        per filament in filament order.  Leave unset to let the slicer
        choose; a map that does not fit is refused before slicing, as
        ``slice_model`` refuses it.
    model_path: Path to input model (STL, 3MF, STEP, OBJ).
    printer_name: Registered printer name in fleet.
    printer_id: Printer model ID for auto-profile selection
        (e.g. ``"ender3"``, ``"bambu_x1c"``, ``"klipper_generic"``).
    profile_path: Explicit slicer profile. Overrides printer_id auto-selection.
    material: Filament material (e.g. ``"PLA"``).  It sets the slice's
        temperatures, melt rate and cooling, its density weighs the
        print (omitted: the spool the printer reports loaded, then PLA —
        the slice step says which), and AMS auto-routing prefers a
        loaded tray whose type matches.
    use_ams: AMS feeding mode (Bambu): ``"auto"`` (default — detect and
        route to a loaded tray), ``"true"``, or ``"false"``.
    ams_mapping: Explicit AMS slot mapping as a JSON array string,
        e.g. ``"[0]"`` or ``"[0, 2]"``.  Overrides auto-selection.
    skip_validation: Bypass the mesh-level pre-print validation step.
        Defaults to False — designs are pre-tested for printability
        before they reach the printer.  Use True for already-validated
        inputs or pre-sliced 3MFs the validator can't introspect.
    preview_token: Token from ``issue_preview_token`` after the user
        has seen ``model_path``.  Required: this tool ends at the
        printer, so it is gated exactly as ``start_print`` is.
    placement: Where the part goes when the plate still holds the last
        print: ``[x, y]`` in mm, a named region (``"front-left"``,
        ``"centre"``, …), or ``"keep"``.  Omitted, an occupied plate
        refuses at the slice step and lists the spots that would work.

On Bambu AMS printers the response carries ``ams_selection``
(``{slot, type, color}``) naming the tray actually used — routing is
never silent.

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": {
      "model_path": "<model_path>"
    },
    "name": "run_quick_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
use_amsNoAMS feeding mode (Bambu): ``"auto"`` (default — detect and route to a loaded tray), ``"true"``, or ``"false"``.
materialNoFilament material (e.g. ``"PLA"``). It sets the slice's temperatures, melt rate and cooling, its density weighs the print (omitted: the spool the printer reports loaded, then PLA — the slice step says which), and AMS auto-routing prefers a loaded tray whose type matches.
placementNoWhere the part goes when the plate still holds the last print: ``[x, y]`` in mm, a named region (``"front-left"``, ``"centre"``, …), or ``"keep"``. Omitted, an occupied plate refuses at the slice step and lists the spots that would work.
model_pathYesPath to input model (STL, 3MF, STEP, OBJ).
printer_idNoPrinter model ID for auto-profile selection (e.g. ``"ender3"``, ``"bambu_x1c"``, ``"klipper_generic"``).
ams_mappingNoExplicit AMS slot mapping as a JSON array string, e.g. ``"[0]"`` or ``"[0, 2]"``. Overrides auto-selection.
keep_recordNo``False`` only when the person asks for this print not to be kept ("print this privately", "don't keep a record of this"); never suggest it. Kiln then keeps nothing of the print once it ends, and the answer carries one line saying so. ``True`` keeps it, for a start a team's rule held (``TEAM_KEEPS_PRINTS``) after the person agreed. Omit otherwise: the print is kept the way the account says.
filament_mapNoOnly for a printer with more than one nozzle: the nozzle (1 for the first) each filament prints from, one number per filament in filament order. Leave unset to let the slicer choose; a map that does not fit is refused before slicing, as ``slice_model`` refuses it.
printer_nameNoRegistered printer name in fleet.
profile_pathNoExplicit slicer profile. Overrides printer_id auto-selection.
preview_tokenNoToken from ``issue_preview_token`` after the user has seen ``model_path``. Required: this tool ends at the printer, so it is gated exactly as ``start_print`` is.
skip_validationNoBypass the mesh-level pre-print validation step. Defaults to False — designs are pre-tested for printability before they reach the printer. Use True for already-validated inputs or pre-sliced 3MFs the validator can't introspect. Default: false.
soft_nozzle_confirmedNoThe owner has said to print anyway a slice refused with ``ABRASIVE_ON_SOFT_NOZZLE`` (an abrasive filament through a nozzle on record that is not wear-resistant). Only on their word, never on your own judgement. The slice step's ``soft_nozzle`` says which filament goes through which nozzle. Default: false.
mixed_nozzle_experimentNoThe person has said yes, for this print, to a slice refused with ``MULTI_NOZZLE_MIXED_SIZES`` (nozzles of different sizes at once, an experiment). Only on their yes, each time; ``slice_model`` says what follows. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.6.0
    • addedInput schema / properties / filament_map
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "integer"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Only for a printer with more than one nozzle: the nozzle (1 for the first) each filament prints from, one number per filament in filament order.  Leave unset to let the slicer choose; a map that does not fit is refused before slicing, as ``slice_model`` refuses it.",
      +  "title": "Filament Map"
      +}
    • addedInput schema / properties / keep_record
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "``False`` only when the person asks for this print not to be kept (\"print this privately\", \"don't keep a record of this\"); never suggest it. Kiln then keeps nothing of the print once it ends, and the answer carries one line saying so.  ``True`` keeps it, for a start a team's rule held (``TEAM_KEEPS_PRINTS``) after the person agreed.  Omit otherwise: the print is kept the way the account says.",
      +  "title": "Keep Record"
      +}
    • addedInput schema / properties / mixed_nozzle_experiment
      Added value: +{
      +  "description": "The person has said yes, for this print, to a slice refused with ``MULTI_NOZZLE_MIXED_SIZES`` (nozzles of different sizes at once, an experiment). Only on their yes, each time; ``slice_model`` says what follows. Default: false.",
      +  "title": "Mixed Nozzle Experiment",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / soft_nozzle_confirmed
      Added value: +{
      +  "description": "The owner has said to print anyway a slice refused with ``ABRASIVE_ON_SOFT_NOZZLE`` (an abrasive filament through a nozzle on record that is not wear-resistant).  Only on their word, never on your own judgement.  The slice step's ``soft_nozzle`` says which filament goes through which nozzle. Default: false.",
      +  "title": "Soft Nozzle Confirmed",
      +  "type": "boolean"
      +}
  2. Changed10 schema fields changedv1.5.1
    • addedInput schema / properties / ams_mapping / description
      Added value: +"Explicit AMS slot mapping as a JSON array string, e.g. ``\"[0]\"`` or ``\"[0, 2]\"``.  Overrides auto-selection."
    • addedInput schema / properties / material / description
      Added value: +"Filament material (e.g. ``\"PLA\"``).  It sets the slice's temperatures, melt rate and cooling, its density weighs the print (omitted: the spool the printer reports loaded, then PLA — the slice step says which), and AMS auto-routing prefers a loaded tray whose type matches."
    • addedInput schema / properties / model_path / description
      Added value: +"Path to input model (STL, 3MF, STEP, OBJ)."
    • addedInput schema / properties / placement / description
      Added value: +"Where the part goes when the plate still holds the last print: ``[x, y]`` in mm, a named region (``\"front-left\"``, ``\"centre\"``, …), or ``\"keep\"``.  Omitted, an occupied plate refuses at the slice step and lists the spots that would work."
    • addedInput schema / properties / preview_token / description
      Added value: +"Token from ``issue_preview_token`` after the user has seen ``model_path``.  Required: this tool ends at the printer, so it is gated exactly as ``start_print`` is."
    • addedInput schema / properties / printer_id / description
      Added value: +"Printer model ID for auto-profile selection (e.g. ``\"ender3\"``, ``\"bambu_x1c\"``, ``\"klipper_generic\"``)."
    • addedInput schema / properties / printer_name / description
      Added value: +"Registered printer name in fleet."
    • addedInput schema / properties / profile_path / description
      Added value: +"Explicit slicer profile. Overrides printer_id auto-selection."
    • changedInput schema / properties / skip_validation / description
      Previous value: -"Default: false."New value: +"Bypass the mesh-level pre-print validation step. Defaults to False — designs are pre-tested for printability before they reach the printer.  Use True for already-validated inputs or pre-sliced 3MFs the validator can't introspect. Default: false."
    • addedInput schema / properties / use_ams / description
      Added value: +"AMS feeding mode (Bambu): ``\"auto\"`` (default — detect and route to a loaded tray), ``\"true\"``, or ``\"false\"``."
  3. Changed11 schema fields changedv1.5.0
    • changedInput schema / properties / ams_mapping / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "integer"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / ams_mapping / default
      Removed value: -null
    • removedInput schema / properties / material / default
      Removed value: -null
    • addedInput schema / properties / placement
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Placement"
      +}
    • addedInput schema / properties / preview_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Preview Token"
      +}
    • removedInput schema / properties / printer_id / default
      Removed value: -null
    • removedInput schema / properties / printer_name / default
      Removed value: -null
    • removedInput schema / properties / profile_path / default
      Removed value: -null
    • removedInput schema / properties / skip_validation / default
      Removed value: -false
    • addedInput schema / properties / skip_validation / description
      Added value: +"Default: false."
    • removedInput schema / properties / use_ams / default
      Removed value: -null
  4. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare destructive/not-read-only; the description goes well beyond by disclosing that preflight checks always run and cannot be skipped, that the tool terminates at the printer and is gated exactly like `start_print`, what keep_record=False actually destroys ('Kiln keeps nothing of the print once it ends'), and that an occupied plate refuses at the slice step rather than silently relocating. It also promises AMS routing is 'never silent' with an `ams_selection` field, which is real behavioral context for a destructive operation.

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?

The numbered pipeline and the lead-in alternative routing are strong and front-loaded. However, the ~15-line Args section restates the schema descriptions almost word for word at 100% coverage, which is padding for an already long description. Backtick-heavy RST formatting adds noise without adding information.

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?

For a 14-parameter destructive pipeline with no output schema, this is largely complete: stage order, gating precondition, refusals, defaults, and the one notable response field (`ams_selection`) are all covered. What is missing is failure semantics — what state the printer/plate is left in if validation, upload, or print start fails partway through, and whether a retry is safe.

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 in the description is essentially a verbatim copy of the schema parameter descriptions, so it adds little meaning beyond the structured data. The genuinely additive parts (default-chain for material, refusal behavior for an unfit filament_map) already appear in the schema text as well. Baseline 3 is appropriate when the schema carries the full parameter burden.

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?

Opens with a specific verb chain and resource: 'Full print pipeline: validate + slice + safety-check + upload + print (recommended one-shot tool),' then enumerates all seven internal stages. It explicitly positions itself against both `slice_and_print` (less validation) and `run_reslice_and_print` (custom slicer overrides), so an agent can separate the three without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing rules: preferred over `slice_and_print`, use `run_reslice_and_print` for custom slicer parameter overrides, and gate via `preview_token` from `issue_preview_token`. It also states per-parameter usage conditions and prohibitions ('never suggest it' for keep_record, 'only on their word' for soft_nozzle_confirmed) rather than leaving them to inference.

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