Skip to main content
Glama
Topsail

Topsail

by AidanZealley

start_print

Destructive

Starts a G-code print on a selected Klipper 3D printer and checks the bed is clear via webcam when available before printing.

Instructions

Start printing a G-code file from list_files or upload_gcode. First tell the user which file and printer, with its facts. Check the bed is clear with webcam_snapshot first when a webcam exists.

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": {
      "filename": "<filename>"
    },
    "name": "start_print"
  }
}

Input Schema

NameRequiredDescriptionDefault
printerNoPrinter name from list_printers. Optional when only one is configured.
filenameYesPath from list_files or filename from upload_gcode.

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?

The annotations already declare this is a destructive, non-read-only operation. The description adds operational context beyond that: it requires telling the user which file and printer with facts, and checking the bed via webcam before starting. It does not describe what happens on failure or whether the start is immediate, which keeps it from a 5.

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?

Three concise sentences, front-loaded with the action and followed by safety checks. The phrase 'with its facts' is slightly vague, but there is little wasted text.

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 print-start tool with no output schema, the description covers the key pre-flight workflow, including user confirmation and bed-clear verification. It omits edge cases like failure handling and existing-print conflicts, leaving a small gap.

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 100%, so both parameters are already documented, including printer being optional when only one is configured. The description reinforces the filename source but adds no format or syntax meaning beyond the schema, so the baseline of 3 applies.

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: 'Start printing a G-code file', and names the source tools list_files and upload_gcode. An agent can distinguish this from cancel_print, pause_print, or resume_print 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 Guidelines4/5

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

Gives clear preconditions: identify the file and printer with facts, and check the bed with webcam_snapshot when a webcam exists. It does not state when not to use it, such as when a print is already active or when resume_print is the correct alternative, so it falls short of a 5.

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