Skip to main content
Glama
PrusaSlicer MCP

PrusaSlicer MCP

by JoFaTech2508

Slice with PrusaSlicer

slice
Read-only

Computes print time, filament use, layer count, and effective settings by slicing STL, 3MF, or OBJ files with PrusaSlicer CLI presets and optional overrides.

Instructions

Slices a model with the PrusaSlicer CLI using the user's selected presets (or the given ones) plus optional overrides, and returns print time, filament grams, layer count, the presets used and the effective key settings. Takes a few seconds to minutes. Writes only to a temp folder. Uses the saved preset files, not unsaved GUI changes. The CLI time estimate differs from the PrusaSlicer window by a few minutes: compare variants with each other, not with the GUI number. The CLI does not auto-orient: use rotate-x/rotate-y to change which side is down.

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

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to an .stl, .3mf or .obj file.
presetsNoPreset names to use instead of the ones selected in PrusaSlicer (user or system presets). Omit to use the selected ones.
overridesNoPrusaSlicer CLI options to change, as {option: value}, e.g. {"perimeters": 3, "fill-density": "15%", "fill-pattern": "grid", "support-material": true}. Only these options are allowed: perimeters, top-solid-layers, bottom-solid-layers, fill-density, fill-pattern, layer-height, first-layer-height, support-material, support-material-auto, support-material-threshold, brim-width, seam-position, ironing, filament-max-volumetric-speed, infill-speed, perimeter-speed, external-perimeter-speed, rotate, rotate-x, rotate-y, scale.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint annotations, it discloses latency ('a few seconds to minutes'), write scope ('writes only to a temp folder'), the saved-preset caveat, and the systematic offset between CLI and GUI time estimates. These are precisely the traits an agent cannot infer from structured fields.

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?

Front-loaded with purpose and return values, and every following sentence carries a distinct operational caveat. The opening sentence is dense with a long return-value list, but little is wasted.

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

Completeness5/5

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

With no output schema, the description takes on the burden of describing return values and does so concretely. Latency, write behavior, preset resolution, and orientation limits are all covered, leaving nothing critical to inference for a 3-parameter tool.

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 parameter meaning is already fully documented, including the allowed overrides keys. The description only adds the framing that presets are 'user's selected presets (or the given ones)' and that rotate-x/rotate-y control which side is down, which is marginal beyond the schema.

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?

States a specific verb (slices) and resource (a model via the PrusaSlicer CLI) and enumerates what comes back: print time, filament grams, layer count, presets used, effective key settings. An agent knows exactly what the call produces without opening the schema.

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?

Gives concrete context for use: presets default to the ones selected in PrusaSlicer, saved preset files are used rather than unsaved GUI edits, and variants should be compared against each other, not the GUI estimate. It also steers orientation changes to rotate-x/rotate-y overrides, though it never names the sibling tools (compare, check_orientation) as alternatives.

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

Deploy Server

Other Tools