Skip to main content
Glama

set_speed_profile

Destructive

Set print speed by preset or as a percentage of sliced speed, capping speed-ups to the nozzle's melt limit so prints stay reliable.

Instructions

Set the print speed: a preset by name, or a percentage of the sliced speed.

One door for both ways a printer takes a speed.  Give exactly one of:

Args:
    profile: A preset — ``"silent"`` (50%), ``"standard"`` (100%),
        ``"sport"`` (124%) or ``"ludicrous"`` (166%).  Bambu Lab
        printers only; sport and ludicrous raise the nozzle
        temperature to keep up with the flow.
    percent: The speed as a percentage of the speed the file was
        sliced at — the feedrate override every FDM firmware has (100
        is the sliced speed; 10 to 300 is accepted).  A Bambu takes
        only its four presets, so the nearest one is set and the
        answer says which (``preset``, ``percent_actual``).
    printer_name: Which printer.  Omit for the default printer.
    past_the_melt_limit: ``True`` sets the asked speed even past what
        the nozzle can melt, for this request only.  Pass it only when
        the person has read the warning a capped answer gave and still
        wants the faster speed.

A speed-up is held to what the running print's file lets the nozzle
melt: above that it is lowered (never below the sliced speed) and the
answer says so, with the numbers, what going faster does, and how to
go past it, in ``message`` and ``speed_floor``.  With
``past_the_melt_limit`` the asked speed is set and the answer says it
was set past the limit at the person's choice.
When that cannot be checked (Kiln did not send the file, or the
printer's melt limit is unknown) the speed is set as asked and the
answer says it was not checked.  A slow-down is never changed.  Which
speeds suit THIS printer is decided by Kiln's served
``set_speed_percent`` and ``set_speed_schedule``, which hand the
checked value here.  Use ``printer_status()`` to see the current speed
profile in ``printer.speed_profile``.

Branch on ``outcome`` — one field, three values, the same shape
``start_print`` uses for ``print_start``:

- ``"confirmed"``: the printer, in a report AFTER the command, shows the
  effect. For a Bambu, the reported speed level moved.
- ``"accepted"``: the command was sent and not refused, and the printer
  has not shown the effect yet. Normal on a quiet printer. Read
  ``printer_status()`` before building on it.
- ``"failed"``: the printer's interface refused the command.

``accepted`` (the boolean) keeps its old meaning: sent, not refused. It
is never proof the printer acted. ``success`` is ``False`` only for
``"failed"``.

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": "set_speed_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
percentNoThe speed as a percentage of the speed the file was sliced at — the feedrate override every FDM firmware has (100 is the sliced speed; 10 to 300 is accepted). A Bambu takes only its four presets, so the nearest one is set and the answer says which (``preset``, ``percent_actual``).
profileNoA preset — ``"silent"`` (50%), ``"standard"`` (100%), ``"sport"`` (124%) or ``"ludicrous"`` (166%). Bambu Lab printers only; sport and ludicrous raise the nozzle temperature to keep up with the flow.
printer_nameNoWhich printer. Omit for the default printer.
past_the_melt_limitNo``True`` sets the asked speed even past what the nozzle can melt, for this request only. Pass it only when the person has read the warning a capped answer gave and still wants the faster speed. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / past_the_melt_limit
      Added value: +{
      +  "description": "``True`` sets the asked speed even past what the nozzle can melt, for this request only.  Pass it only when the person has read the warning a capped answer gave and still wants the faster speed. Default: false.",
      +  "title": "Past The Melt Limit",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv1.5.1
    • addedInput schema / properties / percent / description
      Added value: +"The speed as a percentage of the speed the file was sliced at — the feedrate override every FDM firmware has (100 is the sliced speed; 10 to 300 is accepted).  A Bambu takes only its four presets, so the nearest one is set and the answer says which (``preset``, ``percent_actual``)."
    • addedInput schema / properties / printer_name / description
      Added value: +"Which printer.  Omit for the default printer."
    • addedInput schema / properties / profile / description
      Added value: +"A preset — ``\"silent\"`` (50%), ``\"standard\"`` (100%), ``\"sport\"`` (124%) or ``\"ludicrous\"`` (166%).  Bambu Lab printers only; sport and ludicrous raise the nozzle temperature to keep up with the flow."
  3. Changed5 schema fields changedv1.5.0
    • addedInput schema / properties / percent
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Percent"
      +}
    • addedInput schema / properties / printer_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "title": "Printer Name"
      +}
    • addedInput schema / properties / profile / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / profile / type
      Removed value: -"string"
    • removedInput schema / required
      Removed value: -[
      -  "profile"
      -]
  4. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses the melt-limit capping behavior, that slow-downs are never changed, the unchecked case, the exact outcome values (confirmed/accepted/failed), what 'accepted' and 'success' mean, and what fields appear in the answer. This is rich behavioral context that an agent cannot infer from annotations alone.

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

Conciseness3/5

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

The description is front-loaded and sectioned, but the Args block duplicates the schema descriptions nearly verbatim, which is wasteful. The behavioral paragraphs are dense and necessary, but the overall length is high for a four-parameter tool, and some sentences (such as the 'accepted' boolean explanation) could be tightened.

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?

Given the tool's complexity, the absence of an output schema, and the four parameters, the description is complete. It explains the outcome states, the fields returned (message, speed_floor, preset, percent_actual, accepted, success), and the capping behavior so an agent can call it and interpret results 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 schema already documents each parameter. The description adds meaningful semantics beyond the schema by stating that exactly one of profile or percent must be given, and by explaining the interaction between past_the_melt_limit and a capped response. It does not add syntax or format details beyond what the schema provides, but the mutual-exclusivity rule is valuable.

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 description opens with a specific verb and resource: 'Set the print speed: a preset by name, or a percentage of the sliced speed.' It also distinguishes this unified entry point from sibling tools by noting that set_speed_percent and set_speed_schedule decide which speeds suit the printer and hand the checked value here.

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?

The description clearly states 'Give exactly one of' profile or percent, explains when to use past_the_melt_limit (only after a warning), and points to printer_status() for current speed. However, it does not explicitly say when to call this tool instead of the sibling set_speed_percent or set_speed_schedule; the routing is implied rather than stated as an exclusion.

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

Deploy Server

Other Tools