Skip to main content
Glama
bambu-mcp

bambu-mcp

send_gcode

Destructive

Transmit raw newline-separated G-code to a Bambu Lab printer, bypassing safety limits; commands run as a dry run unless confirm=true.

Instructions

Send raw G-code lines (newline separated). Bypasses all safety limits. 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": {
      "gcode": "<gcode>"
    },
    "name": "send_gcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
gcodeYes
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds two behaviors the annotations cannot express: all safety limits are bypassed, and the call is a dry run unless confirm=true. That dry-run gating is the single most important safety detail and is stated plainly. It stops short of describing what a dry-run response looks like or any rate/transport limits.

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, zero filler, with the format hint, the risk, and the confirmation gate ordered by importance. Nothing needs trimming and nothing is buried.

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 two-parameter raw-command tool with no output schema, the definition covers format, risk profile, and the confirm gate — enough to invoke it safely. The only gap is what a dry run returns, which is minor absent an output schema.

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 0%, so the description must carry both parameters, and it does explain the gcode format (newline separated) and the confirm gate semantics. Baseline 3 applies given that both parameters are addressed, though the format of validation errors or line-ending tolerance is not covered.

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 (send raw G-code lines) and immediately distinguishes the tool from higher-level siblings like extrude or move_axis by calling out that it bypasses all safety limits. An agent can tell this is the low-level escape hatch 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 Guidelines3/5

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

Implies a cautionary usage context through 'bypasses all safety limits,' which signals this is not the default path, but it never explicitly says when to prefer it over the structured siblings or when to avoid it. No alternative is named, leaving routing to inference.

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