Skip to main content
Glama

print_3mf

Print a 3MF file on a Bambu Lab printer, auto-slicing when no gcode is present. Requires bambu_model to ensure safe, correct printer operation.

Instructions

Print a 3MF file on a Bambu Lab printer. Auto-slices if the 3MF has no gcode. IMPORTANT: bambu_model must be specified to ensure safe printer operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoHostname or IP of the printer (default: value from env)
dev_idNoBambu device id for FULU BambuNetwork printing; defaults to BAMBU_DEV_ID or BAMBU_SERIAL.
dev_ipNoPrinter IP address for FULU BambuNetwork LAN/local print methods; defaults to host when provided.
use_amsNoWhether to use the AMS (default: auto-detect from 3MF)
bed_typeNoBed plate type currently installed (default: textured_plate)
ams_slotsNoPreferred AMS input: one absolute tray index per USED filament in plate order, e.g. [1] for a single-filament print pulling from AMS 0 slot 1. Expanded to project-level ams_mapping automatically from the 3MF's plate_N.json and gcode header.
timelapseNoEnable timelapse recording (default: false)
user_infoNoOptional BambuNetwork user_info JSON string passed to net.change_user for the FULU bridge.
ams_mappingNoProject-level AMS mapping array. Position = project filament index, value = absolute AMS tray (0-3=AMS 0, 4-7=AMS 1, 8-11=AMS 2, 128+=AMS-HT, 254=external, -1=unused). Prefer ams_slots unless you know the project-level layout.
bambu_modelYesREQUIRED: Bambu Lab printer model. Ask the user if not known. Using the wrong model can damage the printer.
bambu_tokenNoAccess token (default: value from env)
nozzle_typeNoInstalled nozzle material, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle).
plate_indexNoZero-based plate index to print from the sliced 3MF (default: 0)
slicer_pathNoPath to the slicer executable for auto-slicing (default: value from env or a platform default). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_typeNoSlicer to use only if auto-slicing an unsliced 3MF. Bambu-compatible slicer aliases such as fulu-orca and orca-studio are accepted.
bambu_serialNoSerial number (default: value from env)
bed_levelingNoEnable auto bed leveling (default: true)
country_codeNoBambuNetwork country code, such as US, used by the FULU bridge agent.
template_dirNoOptional template directory override when resolving template_name.
template_nameNoOptional named template from the local registry. Resolves to template_3mf_path automatically.
three_mf_pathYesPath to the 3MF file to print
auto_match_amsNoWhen true, match the sliced 3MF's tray_info_idx requirements against live AMS inventory and use the resulting ams_slots. Ignored when ams_mapping or ams_slots is provided.
bridge_commandNoOverride command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profileNoPath to the slicer profile/config file for auto-slicing (optional).
connection_modeNoPrint path: bambu_connect hands a printable file to the signed-in Bambu Connect app for cloud-mode review; X2D otherwise defaults to bambu_native (Bambu Studio's installed local networking plug-in and emmc tunnel); lan_mqtt_ftps is the legacy direct MQTT/FTPS path; bambu_network uses the FULU bridge.
connection_typeNoBambuNetwork connection type when connection_mode is bambu_network; cloud uses restored internet printing, lan uses local bridge printing.
nozzle_diameterNoNozzle diameter in mm for auto-slicing (default: 0.4)
flow_calibrationNoEnable flow calibration (default: true)
nozzle_diametersNoComplete per-nozzle diameters for a pre-sliced job, e.g. [0.4, 0.6]. Omit to verify its declared diameters against live telemetry; cannot combine with nozzle_diameter.
template_3mf_pathNoOptional template 3MF whose embedded Bambu slicer settings should be reused when auto-slicing this print job.
bambu_network_methodNoFULU print method when connection_mode is bambu_network; defaults to start_print for cloud and start_local_print for lan.
vibration_calibrationNoEnable vibration calibration (default: true)
bambu_network_config_dirNoConfig/log directory used by the FULU BambuNetwork agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.22
    • addedInput schema / properties / nozzle_type
      Added value: +{
      +  "description": "Installed nozzle material, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle).",
      +  "enum": [
      +    "stainless_steel",
      +    "hardened_steel",
      +    "tungsten_carbide",
      +    "brass"
      +  ],
      +  "type": "string"
      +}
  2. Changed6 schema fields changedv1.1.14
    • changedInput schema / properties / bambu_model / enum
      Previous value: -[
      -  "p1s",
      -  "p1p",
      -  "p2s",
      -  "x1c",
      -  "x1e",
      -  "a1",
      -  "a1mini",
      -  "h2d",
      -  "h2s"
      -]New value: +[
      +  "p1s",
      +  "p1p",
      +  "p2s",
      +  "x1c",
      +  "x1e",
      +  "a1",
      +  "a1mini",
      +  "h2d",
      +  "h2s",
      +  "h2c",
      +  "x2d"
      +]
    • changedInput schema / properties / bridge_command / description
      Previous value: -"Override command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND."New value: +"Override command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1."
    • changedInput schema / properties / connection_mode / description
      Previous value: -"Print path to use: lan_mqtt_ftps uses this MCP's direct local MQTT/FTPS path; bambu_network uses the restored FULU BambuNetwork bridge."New value: +"Print path: bambu_connect hands a printable file to the signed-in Bambu Connect app for cloud-mode review; X2D otherwise defaults to bambu_native (Bambu Studio's installed local networking plug-in and emmc tunnel); lan_mqtt_ftps is the legacy direct MQTT/FTPS path; bambu_network uses the FULU bridge."
    • changedInput schema / properties / connection_mode / enum
      Previous value: -[
      -  "lan_mqtt_ftps",
      -  "bambu_network"
      -]New value: +[
      +  "lan_mqtt_ftps",
      +  "bambu_network",
      +  "bambu_native",
      +  "bambu_connect"
      +]
    • addedInput schema / properties / nozzle_diameters
      Added value: +{
      +  "description": "Complete per-nozzle diameters for a pre-sliced job, e.g. [0.4, 0.6]. Omit to verify its declared diameters against live telemetry; cannot combine with nozzle_diameter.",
      +  "items": {
      +    "enum": [
      +      0.2,
      +      0.4,
      +      0.6,
      +      0.8
      +    ],
      +    "type": "number"
      +  },
      +  "maxItems": 2,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / slicer_path / description
      Previous value: -"Path to the slicer executable for auto-slicing (default: value from env or a platform default)"New value: +"Path to the slicer executable for auto-slicing (default: value from env or a platform default). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1."
  3. First observedv1.1.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It helpfully discloses the auto-slice fallback when gcode is missing and warns that a wrong bambu_model can damage the printer, which is real behavioral context. But it omits whether the call blocks until print completion, failure/rollback behavior, and auth prerequisite details for an irreversible physical action.

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?

Three short sentences, front-loaded with the action, then the auto-slice behavior, then the safety constraint in caps. Nothing is wasted, though the 'IMPORTANT' warning largely duplicates the schema's own 'REQUIRED' wording rather than adding new information.

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

Completeness3/5

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

For a 33-parameter, no-annotation, no-output-schema tool that physically drives hardware, the description is minimally adequate: it names the action and the one hard requirement. It says nothing about connection-mode selection, slicer prerequisites, or the irreversible nature of a print job, which an agent would need to make a confident call.

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 33 parameters are already well documented in the schema, including enums for bed_type, slicer_type, connection_mode, and others. The description adds only the emphasis that bambu_model is required and dangerous to get wrong, which the schema itself already states, so it does not meaningfully exceed the baseline.

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 description states a specific verb and resource ('Print a 3MF file on a Bambu Lab printer') and discloses the auto-slice behavior, so the core action is unambiguous. However, it does not distinguish itself from near-identical siblings such as print_3mf_bambu_network or start_print, leaving the agent to infer which variant to pick.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the many overlapping print siblings (start_print, start_print_job, print_3mf_bambu_network, x2d_native_control). The only routing-adjacent guidance is the internal note that bambu_model must be supplied, which is a prerequisite rather than a use-when rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.