Skip to main content
Glama

multi_copy_print

Destructive

Prints multiple copies of a model on one build plate, automatically spacing them in a grid and slicing the group as a single job so copies do not overlap.

Instructions

Print multiple copies of a model arranged on one build plate.

Automatically arranges copies in a grid with spacing so they don't
overlap, slices the plate as a single job, and prints.

Uses PrusaSlicer's ``--duplicate`` flag when available (handles placement,
collision avoidance, and travel optimization). Falls back to STL mesh
duplication for OrcaSlicer or when fine control is needed.  Copies that do
not all fit the bed are refused, saying so, never sliced short.

With ``fill=True`` (an STL, 1 to 50 copies) Kiln places as many copies
as fit on the plate as it stands, up to ``copies``, beside anything
already there, and never refuses because fewer fit: the result says how
many it placed (``copies_placed``).  The copies that did not fit are
queued on the same printer (``queued_job_id``) and print as the next
plate once this one is taken off and the plate is said to be clear,
plate after plate until all are done; ``cancel_queued_job`` stops the
rest.  How many fit is answered on every tier; placing copies beside a
part still on the plate is part of Kiln Pro.

Requires a slicer (PrusaSlicer or OrcaSlicer) installed locally.
The printer must be idle and connected.

Args:
    keep_record: ``False`` only when the person asks for these prints not to be
        kept ("print this privately", "don't keep a record of this"); never
        suggest it.  Kiln then keeps nothing of them once they end, the copies
        queued for later plates included.  Omit otherwise.
    model_path: Path to input model (STL, OBJ).
    copies: Number of copies to print (2-20; with ``fill``, at most
        this many, 1-50).
    printer_name: Registered printer name in fleet.
    printer_id: Printer model ID for auto-profile selection.
    spacing_mm: Gap between copies in mm (default 10).
    overrides: JSON string of slicer parameter overrides.
    slicer_path: Explicit path to the slicer binary.
    fill: Place as many copies as fit on the plate as it stands.
    preview_token: Token from ``issue_preview_token`` proving this model
        was shown to the person before printing.  Required beside their
        go-ahead: a print is shown to its owner before it starts.
    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.
        With ``fill``, the copies queued for the next plates carry it.
    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.

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>",
      "copies": "<copies>"
    },
    "name": "multi_copy_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
fillNoPlace as many copies as fit on the plate as it stands. Default: false.
copiesYesNumber of copies to print (2-20; with ``fill``, at most this many, 1-50).
overridesNoJSON string of slicer parameter overrides.
model_pathYesPath to input model (STL, OBJ).
printer_idNoPrinter model ID for auto-profile selection.
spacing_mmNoGap between copies in mm (default 10). Default: 10.0.
keep_recordNo``False`` only when the person asks for these prints not to be kept ("print this privately", "don't keep a record of this"); never suggest it. Kiln then keeps nothing of them once they end, the copies queued for later plates included. Omit otherwise.
slicer_pathNoExplicit path to the slicer binary.
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.
preview_tokenNoToken from ``issue_preview_token`` proving this model was shown to the person before printing. Required beside their go-ahead: a print is shown to its owner before it starts.
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. With ``fill``, the copies queued for the next plates carry it. 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 these prints not to be kept (\"print this privately\", \"don't keep a record of this\"); never suggest it.  Kiln then keeps nothing of them once they end, the copies queued for later plates included.  Omit otherwise.",
      +  "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. With ``fill``, the copies queued for the next plates carry it. Default: false.",
      +  "title": "Soft Nozzle Confirmed",
      +  "type": "boolean"
      +}
  2. Changed9 schema fields changedv1.5.1
    • addedInput schema / properties / copies / description
      Added value: +"Number of copies to print (2-20; with ``fill``, at most this many, 1-50)."
    • addedInput schema / properties / fill
      Added value: +{
      +  "description": "Place as many copies as fit on the plate as it stands. Default: false.",
      +  "title": "Fill",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / model_path / description
      Added value: +"Path to input model (STL, OBJ)."
    • addedInput schema / properties / overrides / description
      Added value: +"JSON string of slicer parameter overrides."
    • addedInput schema / properties / preview_token / description
      Added value: +"Token from ``issue_preview_token`` proving this model was shown to the person before printing.  Required beside their go-ahead: a print is shown to its owner before it starts."
    • addedInput schema / properties / printer_id / description
      Added value: +"Printer model ID for auto-profile selection."
    • addedInput schema / properties / printer_name / description
      Added value: +"Registered printer name in fleet."
    • addedInput schema / properties / slicer_path / description
      Added value: +"Explicit path to the slicer binary."
    • changedInput schema / properties / spacing_mm / description
      Previous value: -"Default: 10.0."New value: +"Gap between copies in mm (default 10). Default: 10.0."
  3. Changed8 schema fields changedv1.5.0
    • changedInput schema / properties / overrides / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / overrides / default
      Removed value: -null
    • 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 / slicer_path / default
      Removed value: -null
    • removedInput schema / properties / spacing_mm / default
      Removed value: -10
    • addedInput schema / properties / spacing_mm / description
      Added value: +"Default: 10.0."
  4. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Beyond the destructiveHint and readOnlyHint annotations, the description discloses prerequisites (installed slicer, idle connected printer), refusal behavior when copies do not fit, fill-mode queuing across plates, cancellation via cancel_queued_job, and the irreversible record deletion triggered by keep_record=False. This is unusually rich behavioral context for a destructive print operation.

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?

The purpose and key constraints are front-loaded, and the structure separates behavior, requirements, and arguments. It is still long and dense, with a few run-on sentences and implementation details about PrusaSlicer flags that make it less crisp than it could be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex destructive tool with 13 parameters and no output schema, the description covers prerequisites, failure modes, fill/queue behavior, privacy implications, and key result fields such as copies_placed and queued_job_id. An agent has enough context to invoke it correctly, even though sibling routing remains underspecified.

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%, so the schema already documents all 13 parameters. The description mostly repeats those parameter descriptions, though it adds some operational context around fill-mode queuing and queued jobs; baseline 3 is appropriate because the schema does the primary parameter-documentation work.

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 opening sentence gives a specific verb and resource: printing multiple copies of a model arranged on one build plate. The fill and queuing details further clarify scope, but the description never explicitly contrasts this with sibling tools such as multi_color_copies or plan_multi_copy_split.

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?

The description explains when fill=True applies and gives strict conditions for keep_record, preview_token, and nozzle-confirmation flags. However, it does not say when to choose this tool over related siblings, nor does it state when not to use it; the only routing hint is that cancel_queued_job stops remaining queued plates.

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