Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Select preset

select_preset

Switch the active print, filament, or printer preset; optionally target a filament slot to change only that slot and preserve unsaved edits.

Instructions

Switch the active print, filament or printer preset; without a filament slot this drops every unsaved edit.

With slot (filament only), only that slot's filament preset changes, like picking it in the sidebar's combo for that slot, and no unsaved edits are discarded (set_filament_slot_preset does the same and can also set the slot's colour). On a single-filament printer slot 1 is the Filament tab's preset, so it behaves like the call without slot below. Needs a slicer build that lists 'preset_slot' in get_status capabilities; older builds would ignore the slot and switch the Filament tab instead, so this tool refuses there.

Without slot: discards unsaved overrides in EVERY preset group, not just the one being switched: a filament switch also drops unsaved print and printer edits, including ones made by hand in the OrcaSlicer window. That is deliberate (OrcaSlicer consults the other groups when switching, and any unsaved one would open a modal dialog nothing can dismiss remotely), so call save_preset first if any unsaved edit should survive. Newer slicer builds report which groups were affected as 'discarded_changes' in the reply.

On the OrcaSlicer MCP plugin (stock OrcaSlicer) nothing is discarded: while any preset group has unsaved edits the switch is refused with unsaved_edits, naming them under modified, because OrcaSlicer would stop for a window on the user's screen. Ask the user whether to keep them (they save them in OrcaSlicer) or drop them (set_config with each key set to null), then switch.

This also makes it the canonical way to reset dirty config. It leaves the last slice invalid, so re-slice afterwards. Use list_presets for valid names. Because of this, make filament selections and edits before print-group edits (docs/order-of-operations.md).

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": {
      "type": "<type>",
      "name": "<name>"
    },
    "name": "select_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExact name of an existing preset in that group, as returned by list_presets (e.g. '0.20mm Standard'). Unknown names are rejected.
slotNoFilament only: the 1-based filament slot (extruder/tool, e.g. 1-4 on a 4-head toolchanger) to set. Omit to switch the preset open in the Filament tab.
typeYesWhich preset group to switch: 'print' (process/quality), 'filament' (material), or 'printer' (machine).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.21
    • addedInput schema / properties / slot
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Filament only: the 1-based filament slot (extruder/tool, e.g. 1-4 on a 4-head toolchanger) to set. Omit to switch the preset open in the Filament tab.",
      +  "title": "Slot"
      +}
  2. Changed2 schema fields changedv0.1.10
    • addedInput schema / properties / name / description
      Added value: +"Exact name of an existing preset in that group, as returned by list_presets (e.g. '0.20mm Standard'). Unknown names are rejected."
    • addedInput schema / properties / type / description
      Added value: +"Which preset group to switch: 'print' (process/quality), 'filament' (material), or 'printer' (machine)."
  3. First observedv0.1.8

TDQS

A4.2/5.0
Behavior2/5

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

The description is unusually candid — it spells out that without `slot` unsaved overrides in EVERY preset group are dropped, including hand edits, and that `discarded_changes` is reported on newer builds. But this directly conflicts with the supplied annotations (readOnlyHint=false, destructiveHint=false): a tool that irreversibly discards user work is destructive in effect, so an agent routing on annotations alone would be misled.

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?

Long but dense: the destructive warning is front-loaded in the first sentence, then partitioned by slot/no-slot and by plugin vs stock OrcaSlicer. A few phrases are redundant ("behaves like the call without `slot` below") and the escalation procedure slightly overloads the definition, but almost every sentence carries operational weight.

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?

For a three-parameter state-switching mutation with no output schema, it covers the capability gate ('preset_slot' in get_status), the fallback behaviour on older builds, the stock-plugin refusal with unsaved_edits and the resulting user prompt path, and the required follow-up (re-slice). Nothing an agent needs to invoke correctly is missing.

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 100%, so the baseline is 3; the description still adds real meaning — `slot` is filament-only, is 1-based extruder/tool numbering, and on a single-filament printer slot 1 is equivalent to omitting it. It also elaborates the `type` group mapping and reinforces that `name` must be an exact existing preset.

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?

Opens with a specific verb and resource ("Switch the active print, filament or printer preset") and immediately names the scoped variant, distinguishing it from the bare call and from siblings like set_filament_slot_preset. An agent can tell what it does and which group it touches 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 Guidelines5/5

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

Explicit routing rules: use save_preset first if unsaved edits should survive, use list_presets for valid names, use set_filament_slot_preset for slot colour, and call it to reset dirty config followed by a re-slice. It also states the ordering constraint (filament selections/edits before print-group edits), which is rare and valuable.

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