Skip to main content
Glama

print_plate_object

Destructive

Extract a chosen object from a multi-object .gcode.3mf file, upload its G-code, and start printing it on the selected 3D printer in one workflow.

Instructions

Extract a single object from a multi-object .gcode.3mf and print it.

This is a compound workflow tool that performs the complete pipeline
in one call:

1. **Extract** the requested object's G-code (``extract_plate_object``)
2. **Upload** the extracted G-code to the printer (``upload_file``)
3. **Preflight + Start** the print (``start_print``, which runs its
   own preflight safety check)

Bambu Studio supports multiple plates (plate_1, plate_2, etc.).
Use ``plate_number`` to select which plate to extract and print from.

Object matching is case-insensitive and supports partial names:
``"cap"`` matches ``"TreatHolder - cap.stl"``.

Use ``list_plate_objects`` first if you want to preview what's
available before committing to a print.

:param file_path: Path to the .gcode.3mf file.
:param object_name: Name (or partial name) of the object to print.
:param use_ams: AMS mode — ``"auto"``, ``"true"``, or ``"false"``.
:param ams_mapping: The tray per extruder by the printer's tray id
    (e.g. ``[0]`` for slot A1, ``[5]`` for B2; see ``ams_status``).
:param bed_leveling: Run bed leveling before print.
:param flow_cali: Run flow calibration before print.
:param vibration_cali: Run vibration calibration before print.
:param bed_type: Bed surface type (Bambu only): ``"auto"``,
    ``"textured_plate"``, ``"hot_plate"`` (smooth PEI), ``"cool_plate"``,
    ``"eng_plate"`` or ``"supertack_plate"``.
:param plate_number: Which plate to extract from (1-based, default 1).
:param printer_name: Which printer to print on.  Omit for the default
    printer.  Both steps are aimed at it, so the object is uploaded to
    and started on the same machine.
:returns: Dict with extraction info and print start status.
:param preview_token: Token from ``issue_preview_token`` proving the
    object was shown to the person before printing.  Required beside their
    go-ahead: a print is shown to its owner before it starts.
:param 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.

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>",
      "object_name": "<object_name>"
    },
    "name": "print_plate_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
use_amsNoAMS mode — ``"auto"``, ``"true"``, or ``"false"``. Default: "auto".
bed_typeNoBed surface type (Bambu only): ``"auto"``, ``"textured_plate"``, ``"hot_plate"`` (smooth PEI), ``"cool_plate"``, ``"eng_plate"`` or ``"supertack_plate"``. Default: "auto".
file_pathYesPath to the .gcode.3mf file.
flow_caliNoRun flow calibration before print. Default: true.
ams_mappingNoThe tray per extruder by the printer's tray id (e.g. ``[0]`` for slot A1, ``[5]`` for B2; see ``ams_status``).
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.
object_nameYesName (or partial name) of the object to print.
bed_levelingNoRun bed leveling before print. Default: true.
plate_numberNoWhich plate to extract from (1-based, default 1). Default: 1.
printer_nameNoWhich printer to print on. Omit for the default printer. Both steps are aimed at it, so the object is uploaded to and started on the same machine.
preview_tokenNoToken from ``issue_preview_token`` proving the object was shown to the person before printing. Required beside their go-ahead: a print is shown to its owner before it starts.
vibration_caliNoRun vibration calibration before print. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • 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"
      +}
  2. Changed11 schema fields changedv1.5.1
    • addedInput schema / properties / ams_mapping / description
      Added value: +"The tray per extruder by the printer's tray id (e.g. ``[0]`` for slot A1, ``[5]`` for B2; see ``ams_status``)."
    • changedInput schema / properties / bed_leveling / description
      Previous value: -"Default: true."New value: +"Run bed leveling before print. Default: true."
    • changedInput schema / properties / bed_type / description
      Previous value: -"Default: \"auto\"."New value: +"Bed surface type (Bambu only): ``\"auto\"``, ``\"textured_plate\"``, ``\"hot_plate\"`` (smooth PEI), ``\"cool_plate\"``, ``\"eng_plate\"`` or ``\"supertack_plate\"``. Default: \"auto\"."
    • addedInput schema / properties / file_path / description
      Added value: +"Path to the .gcode.3mf file."
    • changedInput schema / properties / flow_cali / description
      Previous value: -"Default: true."New value: +"Run flow calibration before print. Default: true."
    • addedInput schema / properties / object_name / description
      Added value: +"Name (or partial name) of the object to print."
    • changedInput schema / properties / plate_number / description
      Previous value: -"Default: 1."New value: +"Which plate to extract from (1-based, default 1). Default: 1."
    • addedInput schema / properties / preview_token / description
      Added value: +"Token from ``issue_preview_token`` proving the object 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_name / description
      Added value: +"Which printer to print on.  Omit for the default printer.  Both steps are aimed at it, so the object is uploaded to and started on the same machine."
    • changedInput schema / properties / use_ams / description
      Previous value: -"Default: \"auto\"."New value: +"AMS mode — ``\"auto\"``, ``\"true\"``, or ``\"false\"``. Default: \"auto\"."
    • changedInput schema / properties / vibration_cali / description
      Previous value: -"Default: true."New value: +"Run vibration calibration before print. Default: true."
  3. Changed15 schema fields changedv1.5.0
    • removedInput schema / properties / ams_mapping / default
      Removed value: -null
    • removedInput schema / properties / bed_leveling / default
      Removed value: -true
    • addedInput schema / properties / bed_leveling / description
      Added value: +"Default: true."
    • removedInput schema / properties / bed_type / default
      Removed value: -"auto"
    • addedInput schema / properties / bed_type / description
      Added value: +"Default: \"auto\"."
    • removedInput schema / properties / flow_cali / default
      Removed value: -true
    • addedInput schema / properties / flow_cali / description
      Added value: +"Default: true."
    • removedInput schema / properties / plate_number / default
      Removed value: -1
    • addedInput schema / properties / plate_number / description
      Added value: +"Default: 1."
    • addedInput schema / properties / preview_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Preview Token"
      +}
    • removedInput schema / properties / printer_name / default
      Removed value: -null
    • removedInput schema / properties / use_ams / default
      Removed value: -"auto"
    • addedInput schema / properties / use_ams / description
      Added value: +"Default: \"auto\"."
    • removedInput schema / properties / vibration_cali / default
      Removed value: -true
    • addedInput schema / properties / vibration_cali / description
      Added value: +"Default: true."
  4. Changed1 schema field changedv1.3.1
    • addedInput schema / properties / printer_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Printer Name"
      +}
  5. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the full upload-then-start pipeline, that start_print runs its own preflight safety check, that both steps target the same printer, and precisely what keep_record=False destroys once the print ends. What is missing is failure/partial-state behavior — e.g. what happens if the object name matches nothing or the upload succeeds but the start fails.

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 numbered pipeline is front-loaded and scannable, with the disambiguation and preview advice placed early. However, roughly a third of the text is the :param: block that duplicates schema descriptions already at 100% coverage, which is padding rather than 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 destructive, 12-parameter compound tool this covers the workflow, printer targeting, plate selection, object matching, and the privacy flag, and it states the return shape at a high level. No output schema exists, so the one-line ':returns: Dict with extraction info and print start status' is acceptable but thin, and error/partial-failure semantics are absent.

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 :param: block largely repeats the schema text verbatim (use_ams, bed_type, ams_mapping, printer_name, keep_record), so it adds little. The one genuine addition is the object matching rule — case-insensitive and partial, with the 'cap' → 'TreatHolder - cap.stl' example — plus the note that printer_name applies to both pipeline steps. Baseline 3 fits.

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?

Names a specific verb+resource (extract a single object from a .gcode.3mf and print it) and enumerates the three underlying steps (extract_plate_object, upload_file, start_print) so the agent knows exactly which primitive operations are being composed. It also distinguishes itself from siblings by naming list_plate_objects for preview and extract_plate_object for extraction-only.

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?

Explicitly advises calling list_plate_objects first to preview before committing to a print, and explains when to use keep_record=False ('print this privately') versus omitting it. preview_token is described as required alongside the person's go-ahead, which is a clear gating condition; the multi-plate selection via plate_number is also spelled out.

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