Skip to main content
Glama
bambu-studio

bambu-studio

slice

Converts .3mf projects or STL files into .gcode.3mf using selected printer, process, and filament presets, returning print time, filament usage, layers, support status, and warnings.

Instructions

Slice a project .3mf (from prepare_project or saved in Bambu Studio) or one or more STL files and write a .gcode.3mf. Returns per plate and in total: print time, filament in grams and metres, layer count, whether support material was generated, and the slicer's warnings.

For a project the stored presets are used; pass printer/process/filament or settings only to change them. For STL files printer and filament are required. Check warnings and support_used before telling the user the part is ready to print: support is only generated when the process enables 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": {
      "models": "<models>"
    },
    "name": "slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelsYes
orientNo
outputNo
arrangeNo
printerNo
processNo
bed_typeNo
filamentNo
settingsNo
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load, and it does disclose a real behavioral caveat: support material is only generated when the process enables it, so `support_used` may be false and warnings must be read. It also enumerates the return payload. However, for a 10-parameter tool that writes a file, it says nothing about execution duration, what `timeout_s` does on expiry, whether an existing output is overwritten, or whether `arrange`/`orient` silently modify geometry.

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 paragraphs, front-loaded with what the tool does and what it returns before the conditional guidance. Nearly every sentence carries information, though the return-value enumeration is a dense run-on that could be split for faster scanning.

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?

There is no output schema, and the description fully compensates by listing the per-plate and total metrics returned plus the warning signal. Given 10 parameters and no annotations, the remaining gap is the unmentioned parameters and the absence of any note on runtime or timeout handling for a potentially long slicing job.

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 coverage is 0%, so the description has to compensate and it only partially does: it explains the project-vs-STL semantics of `models` and the role of `printer`, `process`, `filament`, and `settings`. Five parameters (`orient`, `output`, `arrange`, `bed_type`, `timeout_s`) get no mention at all, including non-obvious defaults like `arrange=true`, so the agent must infer their meaning from bare names.

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?

The description opens with a specific verb and resource ('Slice a project .3mf ... or one or more STL files') and names the artifact produced ('.gcode.3mf'). It also distinguishes its input modes and points at prepare_project as an upstream producer, so an agent can tell it apart from prepare_project, list_presets, and render_plate.

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

Usage Guidelines4/5

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

Mode-specific guidance is explicit: for a project the stored presets are used and overrides should only be passed to change them, while for STL files `printer` and `filament` are required. It also gives a post-call instruction (check warnings and support_used before declaring a part printable). There is no explicit statement of when NOT to call it in favor of a sibling, which keeps it short of a 5.

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