Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Set config values

set_config

Change OrcaSlicer project settings as unsaved, all-or-nothing edits: set keys to null to revert to saved preset values, then slice or save to persist.

Instructions

Change settings on the open project as unsaved edits, all or nothing; a key set to null goes back to its saved preset value; use apply_and_slice to also slice, or edit_preset to change a saved preset.

Returns {applied, errors}; if any key is invalid the whole batch is rejected and nothing changes. Keys set to null are listed under reverted (or already_saved when they had no unsaved edit).

With filament_slot the per-filament keys land in that slot's preset: OrcaSlicer binds the Filament tab to the slot first, as the slot's edit button does, and the reply names the preset written. A preset shared by several slots is still one preset, so the edit reaches every slot using it (get_filament_slots shows shares_preset_with); to change one slot alone, save_preset with filament_slot under a new name first. Only one filament preset can hold unsaved edits at a time: when the Filament tab holds unsaved edits to a different preset the call is refused with filament_edits_unsaved and nothing changes (save them, or put the keys back, first). Unsaved print and printer edits are never touched.

Overrides show as modified in get_status, are not written to any preset file, and revert if the preset is reselected; call save_preset to persist them. Each apply invalidates the last slice, so re-slice afterwards. It does not run the physics gate, so for temperature, speed, acceleration, or flow keys run check_profile_physics before trusting the result. To edit a stored preset rather than the live project, use edit_preset.

Without filament_slot on a multi-filament setup, do filament edits before print edits: changing another slot's value means select_preset for that slot, which discards unsaved print overrides (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": {
      "changes": "<changes>"
    },
    "name": "set_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYesMap of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting. Do NOT echo back a get_config value for a per-filament setting (hot_plate_temp, fan_min_speed, nozzle_temperature_initial_layer, ...): get_config reports those merged across every loaded filament ('70,100,70,70,35'), while this writes one filament preset (the slot's with filament_slot, else the one open in the Filament tab), so pass that preset's single value instead. A key set to null goes back to the value saved in its preset (an unsaved edit undone).
filament_slotNoWrite the per-filament keys to this slot's filament preset (1-based, as the sidebar numbers the slots; get_filament_slots lists them) instead of the preset open in the Filament tab. Needs the OrcaSlicer MCP build with the filament_slots capability.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.25
    • changedInput schema / properties / changes / description
      Previous value: -"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting. Do NOT echo back a get_config value for a per-filament setting (hot_plate_temp, fan_min_speed, nozzle_temperature_initial_layer, ...): get_config reports those merged across every loaded filament ('70,100,70,70,35'), while this writes the one filament preset open in the Filament tab, so pass that preset's single value instead. A key set to null goes back to the value saved in its preset (an unsaved edit undone)."New value: +"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting. Do NOT echo back a get_config value for a per-filament setting (hot_plate_temp, fan_min_speed, nozzle_temperature_initial_layer, ...): get_config reports those merged across every loaded filament ('70,100,70,70,35'), while this writes one filament preset (the slot's with filament_slot, else the one open in the Filament tab), so pass that preset's single value instead. A key set to null goes back to the value saved in its preset (an unsaved edit undone)."
    • addedInput schema / properties / filament_slot
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Write the per-filament keys to this slot's filament preset (1-based, as the sidebar numbers the slots; get_filament_slots lists them) instead of the preset open in the Filament tab. Needs the OrcaSlicer MCP build with the filament_slots capability.",
      +  "title": "Filament Slot"
      +}
  2. Changed1 schema field changedv0.1.22
    • changedInput schema / properties / changes / description
      Previous value: -"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting. Do NOT echo back a get_config value for a per-filament setting (hot_plate_temp, fan_min_speed, nozzle_temperature_initial_layer, ...): get_config reports those merged across every loaded filament ('70,100,70,70,35'), while this writes the one filament preset open in the Filament tab, so pass that preset's single value instead."New value: +"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting. Do NOT echo back a get_config value for a per-filament setting (hot_plate_temp, fan_min_speed, nozzle_temperature_initial_layer, ...): get_config reports those merged across every loaded filament ('70,100,70,70,35'), while this writes the one filament preset open in the Filament tab, so pass that preset's single value instead. A key set to null goes back to the value saved in its preset (an unsaved edit undone)."
  3. Changed1 schema field changedv0.1.17
    • changedInput schema / properties / changes / description
      Previous value: -"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting."New value: +"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting. Do NOT echo back a get_config value for a per-filament setting (hot_plate_temp, fan_min_speed, nozzle_temperature_initial_layer, ...): get_config reports those merged across every loaded filament ('70,100,70,70,35'), while this writes the one filament preset open in the Filament tab, so pass that preset's single value instead."
  4. Changed1 schema field changedv0.1.10
    • addedInput schema / properties / changes / description
      Added value: +"Map of OrcaSlicer config key to new value, e.g. {'layer_height': 0.2, 'sparse_infill_density': '15%'}. Values must match each setting's type; percent settings take strings like '15%'. Discover valid keys with search_settings, find_config_keys, or describe_setting."
  5. First observedv0.1.8

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description supplies the real behavioral contract on top: atomic all-or-nothing batching, the {applied, errors} reply shape, revert-to-saved semantics for null keys, the filament_edits_unsaved refusal, shared-preset fan-out via shares_preset_with, non-persistence of overrides, slice invalidation, and the skipped physics gate. That is far beyond what the annotations convey.

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 the core action, atomicity, and sibling routing before the filament and persistence caveats. Density is high and nearly every sentence carries a non-obvious rule, but the middle paragraphs on filament slot binding are long enough that a reader has to work to extract the refusal condition and the ordering rule.

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?

No output schema exists, and the description compensates by naming the return fields and the failure mode. For a two-parameter mutation tool with heavy preset-interaction side effects, the caveats an agent needs to call it correctly are all present.

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% and the schema itself already explains the changes map thoroughly, so the baseline would be a 3. The description earns credit by adding interpretation the schema doesn't: how filament_slot binds the Filament tab, names the preset written, and reaches every slot sharing that preset. It stops short of repeating value-format guidance already in 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 and resource plus scope: 'Change settings on the open project as unsaved edits, all or nothing.' The opening sentence also contrasts with apply_and_slice and edit_preset, so an agent can distinguish it from the nearest siblings without opening any 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 alternatives are named with the condition that selects each: apply_and_slice when slicing is wanted, edit_preset for stored presets, save_preset to persist, check_profile_physics for temperature/speed/acceleration/flow keys. It also gives a concrete ordering rule for multi-filament setups and the workaround for touching a single slot.

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