Skip to main content
Glama
bambu-mcp

bambu-mcp

set_fan

Set a Bambu Lab printer fan speed to 0–100% by fan name; changes run as a dry run until confirmed, letting you preview before applying.

Instructions

Set a fan speed 0-100%. Fan names come from get_printer_profile (e.g. part, aux, chamber). Dry run unless confirm=true.

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": {
      "fan": "<fan>",
      "percent": "<percent>"
    },
    "name": "set_fan"
  }
}

Input Schema

NameRequiredDescriptionDefault
fanYes
confirmNo
percentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the dry-run-by-default semantics are genuinely new information that the agent could not get from structured fields. It still omits what happens on an invalid fan name or out-of-range percent, and whether the change persists or affects an in-progress print.

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?

Three short sentences, each carrying a distinct fact (action and range, input source, dry-run default), with the core action front-loaded. No filler or repetition of the tool name.

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 three-parameter mutation tool with no output schema, the description covers the action, the value domain, the name source, and the dry-run gate, which is most of what an agent needs. It could add what a successful versus dry-run response looks like and any printer-state constraints.

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 description coverage is 0%, so the description carries the full burden and largely succeeds: it defines the fan name domain with source and examples, gives the percent range, and explains that confirm gates a real write versus a dry run. Residual gaps are edge-case behavior for unknown fan names and clamping/validation of percent values.

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?

States a specific verb and resource with its range: "Set a fan speed 0-100%." The resource (fan) is inherently distinct from siblings like set_light and set_temperature, but the description never explicitly contrasts with them, so it stops short of full sibling differentiation.

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 a clear prerequisite path for valid inputs by pointing to get_printer_profile as the source of fan names, plus the key operating condition that the call is a dry run unless confirm=true. It does not state when not to use this tool or what conditions (e.g. an active print) make it inappropriate.

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