Skip to main content
Glama

slice

Estimates 3D print time, filament use, spool cost, and warnings by running a local Bambu Studio install headlessly on input files, then writing the .gcode.3mf beside them.

Instructions

Headless Bambu Studio estimate: success/error, print time, filament grams/meters, spool cost, per-object boxes, slicer warnings. Requires a local Bambu Studio install. Writes the .gcode.3mf next to the inputs.

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": {
      "files": "<files>"
    },
    "name": "slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
processNo
filamentNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses a filesystem side effect ('Writes the .gcode.3mf next to the inputs'), an environment dependency (local Bambu Studio), and that failures surface as success/error plus slicer warnings. It does not say whether an existing output file is overwritten, how long a slice takes, or whether the write happens on partial 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?

Three short sentences, front-loaded with the outcome surface, then the environment prerequisite, then the side effect. Dense but every clause carries information; the only weakness is that the comma-separated return list front-loads output details before stating plainly what the tool does.

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?

An output schema exists, so return-shape detail is not required, and the description correctly spends its budget on the side effect and install prerequisite. The remaining gap is parameter semantics for a 3-parameter tool with zero schema coverage, which leaves real ambiguity about how to construct a call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and three parameters exist, so the description must supply the meaning and supplies none. 'files', 'process' and 'filament' are never explained — an agent cannot tell whether 'files' takes 3MF/STL/STEP paths, whether the optional process and filament are preset names or file paths, or what happens when they are null.

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 names the resource (Bambu Studio slicing) and enumerates what the operation produces/slices, plus the concrete output artifact ('.gcode.3mf'), so an agent knows this is a real slicing run rather than a pure estimate. It does not distinguish itself from siblings like check or draft_check, which likely also touch model files.

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?

The prerequisite 'Requires a local Bambu Studio install' is genuine usage guidance that tells an agent when the call can succeed at all. However, there is no statement of when to prefer this over check/draft_check/project_run, and no guidance about cost or latency that would matter when choosing to invoke it.

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