Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Set a slot's filament preset

set_filament_slot_preset

Assign a named filament preset to a single slot while preserving other slots and unsaved edits; single-filament projects are refused if unsaved edits exist.

Instructions

Point one filament slot at a named preset, leaving the other slots alone and never dropping an unsaved edit; the slot keeps its colour unless keep_colour is false.

On a multi-filament project it is the same as picking the preset in that slot's sidebar combo: no unsaved print, filament or printer edit is touched. On a one-filament project the slot is the Filament tab's preset, and switching it would drop every unsaved edit, so while there are any the call is refused (unsaved_edits, naming them) and nothing changes: save them or put them back first. The reply ends with filaments, the slots afterwards as get_filament_slots lists them. Needs a build with the preset_slot capability; the colour change needs a writable filament_colour (any build). Unknown names and presets not compatible with the selected printer are refused.

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": {
      "slot": "<slot>",
      "name": "<name>"
    },
    "name": "set_filament_slot_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExact name of a filament preset, as list_presets(type='filament') returns it.
slotYesThe filament slot, 1-based as the sidebar numbers them.
keep_colourNoKeep the slot's current colour (the default). False sets the colour the preset carries as its default (default_filament_colour), when it has one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.25

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses that other slots are untouched, that no unsaved print/filament/printer edit is dropped, the exact single-filament refusal path with its `unsaved_edits` error, colour retention semantics, and the build capability requirements (preset_slot, writable filament_colour). It also documents validation behaviour for unknown names and printer-incompatible presets.

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?

The opening sentence front-loads purpose and the safety guarantee, and the branching multi- vs single-filament behaviour is laid out in order. It runs long and repeats the 'no unsaved edit is touched' guarantee twice, which is minor redundancy rather than filler.

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?

There is no output schema, and the description compensates by stating the reply ends with `filaments` as get_filament_slots lists them. Combined with the error paths and capability prerequisites, an agent has everything needed to call this correctly.

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, but the description adds real meaning: it ties `keep_colour=false` to a writable filament_colour requirement and explains the colour outcome in behavioural terms rather than restating the schema. The 1-based slot convention and exact-name requirement are mostly schema-provided, so it does not fully exceed schema value.

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?

The first clause states a specific verb and resource ('Point one filament slot at a named preset') and immediately delimits scope ('leaving the other slots alone'), which separates it from siblings like set_filament_slot_mapping and get_filament_slots. An agent can identify the operation 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?

It gives clear situational guidance: on multi-filament projects this is equivalent to the sidebar combo, on single-filament projects it is refused while unsaved edits exist, with the instruction to 'save them or put them back first'. It states prerequisites and refusal conditions but does not explicitly name a sibling alternative for the cases where this call fails.

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