Skip to main content
Glama
orcaslicer-mcp

orcaslicer-mcp

Get printer trays

get_printer_slots
Read-only

Reads filament trays from Bambu Lab AMS, external spool, or Elegoo CANVAS units and returns each slot's status, material, brand, color, and remaining filament.

Instructions

Read the printer's filament trays: a Bambu Lab printer's AMS and external spool (instant), or an Elegoo Centauri Carbon 2's CANVAS unit (slow, up to about 18 s). Read-only.

The reply says which kind of printer answered. On a Bambu Lab printer (kind "bambu": the printer selected in OrcaSlicer's Device tab, read from the state OrcaSlicer's own connection keeps, nothing sent to the printer) each tray has its label as the AMS panel shows it (A1, HT-A, Ext), status (loaded, unknown, empty), filament_type as the AMS words it (ASA-Aero, PLA-CF, ...), filament_name, brand, colour, remain_percent, whether it is the tray feeding the nozzle (active), and ams summarises the units with their humidity. unknown_filament is true when a spool is in but the printer reports no type or colour for it: the user sets it in the AMS panel. Needs the OrcaSlicer MCP build with the bambu_ams capability.

On an Elegoo CC2 (kind "canvas") each tray has its label, status (loaded, preloaded: filament waiting at the feeder; disconnected; error), material, brand and colour, and canvas_id and tray_id for set_filament_slot_mapping. OrcaSlicer's API serves one request at a time while that printer is asked, so other tools wait. Needs fork v2.4.2-mcp.14 or later. ready is true when the tray can be printed from now.

When the printer is not supported or not reachable the reply is supported false with a reason (not_supported, no_printer_selected, printer_offline; on a CC2 not_elegoo_cc2, no_canvas, unreachable, too_many_clients, registration_refused, timeout, printer_error, firmware_too_old) and a message. Relay the message to the user.

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_printer_slots"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.19

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnlyHint the description discloses a great deal: Bambu reads come from OrcaSlicer's cached connection state with 'nothing sent to the printer', the CC2 path serializes OrcaSlicer's API so other tools block, and there are explicit version ('fork v2.4.2-mcp.14 or later') and capability ('bambu_ams') prerequisites. The enumerated failure reasons (not_supported, no_printer_selected, too_many_clients, firmware_too_old, etc.) tell the agent exactly how partial failure manifests. Nothing here contradicts readOnlyHint — it explicitly says 'Read-only'.

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 structure is sound and front-loaded: purpose and read-only status first, then Bambu behavior, then CC2 behavior, then error handling — mirroring how the response is keyed by `kind`. It is dense and occasionally overwrought ('read from the state OrcaSlicer's own connection keeps, nothing sent to the printer'), but since no output schema exists, the field-level prose largely earns its place.

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?

With no output schema, the description carries the full burden of documenting returns, and it does so for both printer kinds field by field (label, status, filament_type, remain_percent, active, ams humidity; canvas_id, tray_id, ready) plus the supported=false error envelope. There is essentially nothing an agent needs to interpret the reply that 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?

The tool takes zero parameters, so there is no argument semantics to explain and the schema baseline of 4 applies. The description instead spends its space on the response shape, which is appropriate for a no-arg reader.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ('Read the printer's filament trays') and immediately scopes it to the two supported hardware families: Bambu Lab AMS/external spool and Elegoo CC2 CANVAS. It even cross-references set_filament_slot_mapping for the canvas_id/tray_id fields. What it never addresses is the very similarly named sibling get_filament_slots, so an agent still cannot tell the two apart from this text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: the latency notes ('instant' for Bambu, 'up to about 18 s' for the CC2) and the blocking warning ('other tools wait') give an agent de facto guidance about when this call is cheap versus costly. However, there is no explicit when-to-use/when-not statement and no named alternative, so the comparison against get_filament_slots or get_printer_status is left to inference.

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