Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Edit preset (overwrites stored settings)

edit_preset
Destructive

Modify and save an existing OrcaSlicer preset under the same name after a physics check; blocks changes that would introduce new physics failures.

Instructions

Change a stored preset and save it under the same name, after the physics check; set_config changes only the open project.

It selects the preset, applies the changes atomically and saves under the same name. Runs the check_profile_physics gate first (F15) and refuses with error=physics_blocked if the changes would INTRODUCE a failing physics check (pre-existing failures do not block unrelated edits). For type='filament', checks that also depend on the currently selected PRINT preset (flow_ceiling, temp_vs_flow) do not block; they come back as cross_layer_warnings, because a filament preset pairs with many print presets.

OrcaSlicer 2.5's temperature safety check applies to the save as in save_preset: past it the reply is temperature_pairs_unsafe with the pairs, and the changes stay unsaved.

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>",
      "changes": "<changes>"
    },
    "name": "edit_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
typeYes
changesYes
allow_temperature_pairsNoFilament only: save even though OrcaSlicer's temperature safety check finds the first-layer temperature far from the other layers' (its own 'Continue anyway?'). Only after the user has agreed to those temperatures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.25
    • addedInput schema / properties / allow_temperature_pairs
      Added value: +{
      +  "default": false,
      +  "description": "Filament only: save even though OrcaSlicer's temperature safety check finds the first-layer temperature far from the other layers' (its own 'Continue anyway?'). Only after the user has agreed to those temperatures.",
      +  "title": "Allow Temperature Pairs",
      +  "type": "boolean"
      +}
  2. First observedv0.1.8

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description adds substantial behavior beyond them: the check_profile_physics gate, the error=physics_blocked refusal, the cross_layer_warnings channel for filament/print dependencies, and the temperature_pairs_unsafe outcome where 'the changes stay unsaved'. It stops short of saying whether a partial write can occur or how to recover, but the failure surface is unusually well disclosed for a mutation.

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?

Dense and mostly front-loaded, with the set_config contrast placed in the very first line where it matters most. It loses a little to redundancy — 'save it under the same name' is restated in the second sentence as 'saves under the same name' — and the stray line break splits the opening sentence awkwardly.

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 destructive mutation with a nested object parameter and no output schema, the definition covers the important unknowns: the physics gate, the block-vs-warn distinction by preset type, and the two named error outcomes. The remaining gap is the shape and merge semantics of the 'changes' payload, which an agent would still have to guess at.

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 coverage is only 25%, so the description should carry more weight than it does. It does add meaning for type='filament' (which checks block vs. become warnings) and explains the consequence behind allow_temperature_pairs, but 'name' and the nested 'changes' object are left entirely to the schema, with no hint of what keys changes accepts or whether it is a partial patch.

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 ('Change a stored preset and save it under the same name') and immediately distinguishes it from the sibling that does something similar ('set_config changes only the open project'). The agent can tell edit_preset apart from set_config and save_preset without opening a 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: use this instead of set_config when the change must persist to the stored preset rather than the open project. It also documents the gating condition and the exclusion case ('pre-existing failures do not block unrelated edits'), plus the filament-specific carve-out for cross_layer_warnings, which is exactly the kind of when-it-applies guidance that prevents wrong calls.

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