Skip to main content
Glama
bambutler-mcp

bambutler-mcp

slice

Generate Bambu Studio 3MF print files from STL/OBJ/3MF models using presets or overrides, with bed centering, supports, prime tower, and per-filament time/weight output.

Instructions

Slice models with the Bambu Studio CLI. Presets by name or file, with overrides. Centres STL/OBJ on the bed (exact position, no auto-arrange), sets plate type, supports and prime tower. Returns the output 3MF path, time and weight per filament, and the nozzle map check for dual-nozzle printers.

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": {
      "models": "<models>",
      "machine": "<machine>",
      "process": "<process>",
      "filaments": "<filaments>"
    },
    "name": "slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
plateNoPlate to slice (0 = all, default).
scaleNoUniform factor or [sx, sy, sz].
centerNoCentre STL/OBJ models on the bed (default true).
lift_zNoLowest point height in mm (default 0).
modelsYesModel files (STL/OBJ/3MF). STEP is not supported.
orientNo
outputNoOutput .3mf path (default next to the first model: <name>.gcode.3mf).
rotateNo[rx, ry, rz] degrees, applied X then Y then Z.
arrangeNo
machineYesMachine preset name or JSON path.
processYesProcess preset name or JSON path.
positionNo[x, y] centre position in mm instead of the bed centre.
supportsNoenable, type, style, threshold_angle, on_build_plate_only, filament, interface_filament, top_z_distance, bottom_z_distance, interface_top_layers, interface_bottom_layers, interface_spacing, interface_pattern, object_xy_distance.
filamentsYesFilament preset names or JSON paths, in filament order.
timelapseNo
timeout_sNo
plate_typeNocurr_bed_type, e.g. 'Textured PEI Plate'.
prime_towerNoenable, x, y, width.
filament_idsNoFilament (1-based) per STL/OBJ model. Default all 1.
filament_mapNoDual nozzle: nozzle per filament, 'left'/'right' or 1/2. Checked after slicing.
keep_configsNoKeep the generated preset JSON files next to the output.
machine_overridesNo
process_overridesNoProcess keys to set, e.g. {"layer_height": 0.16}.
filament_overridesNoDict for all filaments, or a list of dicts per filament.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description carries most of the burden and does well: it discloses that models are centred at an exact position with no auto-arrange, that preset JSON files may be written (keep_configs), and that the nozzle map is validated after slicing on dual-nozzle printers. It omits runtime/long-running expectations and how timeout_s affects failure, which are relevant for a CLI-backed mutation.

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?

A tight paragraph of roughly four sentences that front-loads the core action and then the behavioral caveats and return values. Dense but every clause carries information; no filler or restatement of the tool name.

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 24-parameter tool with nested objects and no output schema, the description covers the important axes: what is produced (3MF path, time/weight per filament, nozzle map check) and the key geometric behaviors. Gaps remain around prerequisites and execution time/failure modes, but nothing essential to forming a call is missing.

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 79%, so the baseline is 3. The description adds useful glosses on centering, plate type, supports, prime tower, and preset 'name or file' semantics, but many of the 24 parameters (arrange, orient, timelapse, scale, lift_z, timeout_s, overrides) get no mention, so it does not fully compensate for the uncovered quarter.

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?

States a specific verb and resource ('Slice models with the Bambu Studio CLI') and enumerates the operations it bundles: preset selection, centering, plate type, supports, prime tower, plus what it returns. It does not explicitly distinguish itself from nearby siblings such as slice_info or make_studio_project, so it stops short of a 5.

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?

Usage is implied by describing the slicing operation and the centering-vs-auto-arrange behavior, but there is no explicit when-to-use/when-not guidance relative to siblings like slice_info (inspect) or make_studio_project. No prerequisites are stated, e.g. that Bambu Studio must be locatable via find_slicer or that preset names come from list_presets.

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