Skip to main content
Glama
bambu-slice-mcp

bambu-slice-mcp

by ZHT0711

Build a project .3mf with chosen settings

build_project

Import an STL or 3MF model and write a Bambu project .3mf with machine, process, and filament presets plus per-run overrides, flattening preset inheritance the CLI ignores.

Instructions

Import a model (.stl or .3mf) and write a Bambu project .3mf that carries the requested machine / process / filament presets plus optional per-run overrides. Preset inheritance is flattened first, because the CLI ignores inherits and silently falls back to defaults.

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": {
      "input": "<input>"
    },
    "name": "build_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPath to .stl or .3mf
outputNoOutput .3mf path (default: alongside the input)
machineNoMachine preset name or absolute .json path
processNoProcess preset name or absolute .json path
filamentNoFilament preset name or absolute .json path
overridesNoRaw Bambu config keys, e.g. {"layer_height":"0.28","enable_support":"1"}
slicer_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/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 behavioral burden. It does disclose a genuinely useful non-obvious trait: preset inheritance is flattened before writing because the CLI ignores `inherits` and silently falls back to defaults. It omits other important behavior: whether an existing output file is overwritten, whether the Bambu CLI must be installed and located via slicer_path, and what happens on failure.

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?

Two tightly packed sentences with the purpose front-loaded and the rationale for flattening trailing as supporting context. Nothing is redundant, though the second sentence's causal clause could have been split for scannability.

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 7-parameter mutation tool with a nested object, no annotations, and no output schema, the description covers the core write behavior but leaves gaps: return value (path? summary? nothing?) is unstated despite the absence of an output schema, and slicer_path and overwrite semantics go unexplained.

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 86%, so the schema already explains input, output, the three preset slots, and the overrides object. The description reinforces the semantics of the preset trio and clarifies that overrides are per-run, which is mild added value. The one undocumented parameter, slicer_path, is also unaddressed in the description.

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 uses a concrete verb pair ("import ... and write a Bambu project .3mf") and names the exact payload it produces: machine, process, and filament presets plus overrides. This clearly separates it from siblings like inspect_3mf or list_presets, though it never explicitly contrasts itself with slice_project or flatten_preset, leaving a small differentiation gap.

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 only implied: the tool clearly applies when you need a project file assembled from presets, and the note about flattening inheritance hints at a prerequisite concern. But there is no statement of when to prefer this over slice_project or flatten_preset, and no exclusions or preconditions (e.g., whether a slicer install is required) are stated.

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