Skip to main content
Glama

u1_upload

Uploads a local .gcode file to the Snapmaker U1 without starting the print, letting you stage print jobs for later review or approval.

Instructions

Upload a local .gcode file to the U1. Does not start it.

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": {
      "path": "<path>"
    },
    "name": "u1_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to a .gcode file on this machine

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully clarifies that the upload is non-printing, but it omits what happens if a file with the same name already exists, whether the destination filename is returned, and any size/timeout constraints.

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?

Two short sentences with no filler, and the most decision-relevant fact (it does not start the print) sits up front alongside the action.

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 one-parameter tool with no output schema, this covers the essentials of what it does and what it does not do. It would be stronger if it stated what the call returns (e.g., stored filename or identifier) so the agent can chain into a start call.

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 description coverage is 100% and the single path parameter is documented as an absolute path to a .gcode file. The description only echoes the .gcode constraint, adding no format or path-resolution detail beyond the schema.

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 ('Upload a local .gcode file') and then explicitly negates the adjacent behavior ('Does not start it'), which separates it from u1_start and u1_request_start without the agent needing to open other schemas.

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 clause 'Does not start it' communicates the sequencing rule: uploading is a prerequisite step and printing requires a separate call. It stops short of naming that follow-up tool, but the usage context is clear enough to act on.

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