Skip to main content
Glama
PrusaSlicer MCP

PrusaSlicer MCP

by JoFaTech2508

Compare slicing variants

compare
Read-only

Slices one model across preset variants and returns print time, filament grams, and differences from the first reference variant to evaluate settings such as perimeter count or infill.

Instructions

Slices the same model once per variant and returns a table of time, grams and the difference from the first variant. Use it for questions like "how long with 3 vs 4 perimeters?". Give a variant with no overrides first as the reference. 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.

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>",
      "variants": "<variants>"
    },
    "name": "compare"
  }
}

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.
variantsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds real context beyond them: the preset source ('saved preset files, not unsaved GUI changes') and the accuracy caveat about CLI vs GUI time estimates. It does not warn about the cost of slicing up to 8 variants, which is the main remaining behavioral unknown.

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?

Four sentences, front-loaded with the action and return shape, followed by usage and caveats; nothing is redundant. Slightly dense as a run-on block rather than separated purpose/usage/caveat lines, but no sentence is wasted.

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 nested-schema tool with no output schema, the description supplies the return shape (time, grams, delta vs first variant) and the key gotchas about preset source and estimate accuracy. Remaining gaps, such as how invalid override options fail or how long a multi-variant run takes, are minor given the schema enumerates allowed options.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates by explaining variant ordering semantics (the first variant is the reference) and the preset resolution rule ('saved preset files, not unsaved GUI changes'), neither of which is in the schema. The 'path' parameter is left entirely to the schema, which documents it adequately.

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 a specific verb and resource ('Slices the same model once per variant') and states exactly what comes back ('a table of time, grams and the difference from the first variant'). This distinguishes it in practice from the plain 'slice' sibling, though it never names that sibling explicitly.

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?

It gives a concrete usage trigger ('questions like "how long with 3 vs 4 perimeters?"'), a mandatory setup rule ('Give a variant with no overrides first as the reference'), and interpretation guidance ('compare variants with each other, not with the GUI number'). No explicit when-not-to-use or named alternative is offered, so it stops 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.

Deploy Server

Other Tools