Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Get filament slot mapping

get_filament_slot_mapping
Read-only

Check which printer tray each plate filament will map to before sending, verify the tray matches the slot preset, and flag warnings without sending anything.

Instructions

Show which printer tray each filament of the plate would print from on the next Send, and whether that tray holds what the slot's preset says (Bambu Lab AMS, or an Elegoo Centauri Carbon 2's CANVAS); read-only. The check to run before telling the user a plate is ready to send.

The filaments listed are the ones on the plate the next Send would use, each with its 0-based index (on a Bambu Lab printer also slot, the 1-based number the sidebar shows), type, preset name, colour, the tray it maps to (or null), the source of that choice and any warnings. valid is true when that Send would go through without a choice from the user; if not, problems says why. Nothing is sent to the printer. A supported false reply carries a reason to relay, as get_printer_slots does.

On a Bambu Lab printer (kind "bambu", the OrcaSlicer MCP build with bambu_ams) the mapping is the one OrcaSlicer's Send dialog pre-fills: it takes a tray only when the AMS's filament type equals the slot preset's type, then the nearest colour. Each filament gets match: exact (its tray holds its type; note names the tray's filament when it is a different one of the same type), soft (no tray holds the type, but candidates hold the same base material, say Polymaker LW-ASA / ASA-Aero in A2 for a Generic ASA slot: the Send dialog takes it if the user picks it, so show both names and ask), none (nothing loaded fits: load a spool or change the slot's preset) or unknown. Relay headline and warnings; they already say what to do.

On an Elegoo CC2 (kind "canvas", fork v2.4.2-mcp.14 or later) the source is saved, matched, user, api or none, and set_filament_slot_mapping can change it. It reads the printer when no slot list is cached, so it can take up to about 18 seconds, and OrcaSlicer's API serves one request at a time meanwhile, so other tools wait.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_filament_slot_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.19

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true: it states nothing is sent to the printer, that a supported=false reply carries a relayable reason, that the Elegoo path may take ~18 seconds and blocks other tools because the API serves one request at a time. It also explains the match semantics (exact/soft/none/unknown) and what to relay to the user.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the one-line purpose and the pre-send check, then branches by printer kind. Dense with parenthetical detail, but each sentence carries distinct operational information and the structure mirrors the two code paths.

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, so the description must carry the return contract, and it does: field list, match categories, valid/problems, and the supported=false reason. Latency and concurrency caveats are also covered, leaving nothing an agent needs 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?

Zero parameters, so the baseline is 4; the schema has nothing to clarify. The description instead spends its space on return-value semantics (index, slot, match, candidates, valid, problems), which is useful but not parameter-related.

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 ('Show which printer tray each filament of the plate would print from on the next Send') and scopes it to two printer families (Bambu Lab AMS, Elegoo CC2 CANVAS). It is clearly distinguishable from get_printer_slots and set_filament_slot_mapping, which are named.

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?

Gives an explicit usage rule: 'The check to run before telling the user a plate is ready to send,' and points to set_filament_slot_mapping as the way to change a mapping on Elegoo. It does not state when not to use it or contrast with get_printer_slots beyond a passing reference, so it falls short of full routing guidance.

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