Skip to main content
Glama

run_speed_schedule

Destructive

Run, report, or stop a layer-based speed schedule on a 3D printer, applying each segment's speed as the print reaches its layers and capping speeds at the nozzle's melt limit.

Instructions

Run, report or stop a layer-based speed schedule on this computer.

A schedule is a list of ``{"from_layer", "to_layer", "speed_percent"}``
segments.  With ``action="run"`` it starts on the printer that is
printing now, replacing a schedule already running for that printer:
the printer is asked which layer it is on every few seconds and each
segment's speed is set once, as the print reaches it.  It stops on its
own when the print ends, when the printer is found running a different
print, or on ``action="stop"`` (the printer stays at the last speed set).
``action="status"`` reports what has been applied so far.

Here the schedule's shape is checked, and each segment's speed-up is
held to what the running print's file lets the nozzle melt on that
segment's layers: above that it is lowered (never below the sliced
speed) and the answer says so; when that cannot be checked the answer
says that too.  Which speeds suit this printer is decided by Kiln's
served ``set_speed_schedule``, which hands the checked schedule here.

Args:
    schedule: The segments to run (``action="run"`` only): a list of 1
        to 64 ``{"from_layer": int, "to_layer": int, "speed_percent":
        int}`` entries, ``speed_percent`` within 10-300.
    printer_name: Which printer.  Omit for the default printer.
    action: ``"run"`` (default), ``"status"`` or ``"stop"``.
    past_the_melt_limit: ``True`` (``action="run"`` only) keeps every
        segment's speed as asked even past what the nozzle can melt, for
        this run only.  Pass it only when the person has read the
        warning a capped answer gave and still wants the faster speeds.

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

Input Schema

NameRequiredDescriptionDefault
actionNo``"run"`` (default), ``"status"`` or ``"stop"``. Default: "run".
scheduleNoThe segments to run (``action="run"`` only): a list of 1 to 64 ``{"from_layer": int, "to_layer": int, "speed_percent": int}`` entries, ``speed_percent`` within 10-300.
printer_nameNoWhich printer. Omit for the default printer.
past_the_melt_limitNo``True`` (``action="run"`` only) keeps every segment's speed as asked even past what the nozzle can melt, for this run only. Pass it only when the person has read the warning a capped answer gave and still wants the faster speeds. 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`` (``action=\"run\"`` only) keeps every segment's speed as asked even past what the nozzle can melt, for this run only.  Pass it only when the person has read the warning a capped answer gave and still wants the faster speeds. Default: false.",
      +  "title": "Past The Melt Limit",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv1.5.1
    • changedInput schema / properties / action / description
      Previous value: -"Default: \"run\"."New value: +"``\"run\"`` (default), ``\"status\"`` or ``\"stop\"``. Default: \"run\"."
    • addedInput schema / properties / printer_name / description
      Added value: +"Which printer.  Omit for the default printer."
    • addedInput schema / properties / schedule / description
      Added value: +"The segments to run (``action=\"run\"`` only): a list of 1 to 64 ``{\"from_layer\": int, \"to_layer\": int, \"speed_percent\": int}`` entries, ``speed_percent`` within 10-300."
  3. Addedv1.5.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=true, openWorldHint=false; the description adds far more, including that a running schedule for that printer is replaced, that the printer is polled every few seconds, that each segment applies once, and the three automatic stop conditions. It also discloses safety behavior: speeds are capped to what the nozzle can melt, never below the sliced speed, with the answer reporting the cap or the inability to check it.

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 first sentence front-loads the purpose and the remaining prose is organized as behavior, then caveats, then args. It is somewhat long for a four-parameter tool and the schedule/printer_name/action text largely duplicates the schema, so it is efficient but not maximally economical.

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 destructive, no-output-schema mutation tool, the description covers lifetime, side effects, and stopping conditions well enough to call it safely. The remaining gap is the shape of return values, especially for action='status', which is only gestured at ('reports what has been applied so far') rather than described.

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 100%, so the schema already documents all four parameters. The description still adds behavioral meaning the schema lacks, notably what 'status' reports, what state 'stop' leaves the printer in, and the policy governing past_the_melt_limit beyond its type declaration.

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 opening sentence gives specific verbs and resource (run/report/stop a layer-based speed schedule) and scopes it to the local computer. The description also distinguishes it from the sibling set_speed_schedule by assigning that tool the job of deciding speeds and this tool the job of executing the checked schedule.

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?

Usage is clearly laid out: action='run' is the default and replaces an existing schedule for the currently printing printer, 'status' reports progress, 'stop' halts while leaving the last speed set. It also gives explicit when-to guidance for past_the_melt_limit (only after the person has read a capping warning). It stops short of stating outright exclusions, e.g. what to do if no print is running, but the routing to set_speed_schedule covers the main alternative.

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