Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
U1_HOSTYesThe host (IP address) of the Snapmaker U1 printer, e.g. 192.168.1.50.
U1_APPROVAL_DIRNoOverride for the directory where approvals are stored (defaults to ~/.u1-mcp/approvals).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
u1_statusA

Print state, progress, bed and four toolhead temperatures.

u1_list_filesB

List G-code files stored on the U1.

u1_cameraA

Latest camera frame. The U1 only refreshes it while a viewer is attached, so check age_seconds.

u1_uploadA

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

u1_pauseB

Pause the current print.

u1_resumeB

Resume a paused print.

u1_cancelA

Cancel the current print. Allowed when a failure is visible (spaghetti, detached part).

u1_request_startA

Ask a human to approve printing a file already on the U1. Returns a code; Pim must run u1-approve <code> himself in a terminal. You cannot approve it.

u1_startB

Start a print using a code Pim approved out-of-band. Single use, 10 minutes.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 9 tools

Disambiguation5/5

Each tool has a clearly distinct action and resource: status, file listing, camera, upload, pause/resume/cancel, and a two-step approval/start flow. The related u1_request_start and u1_start pair is explicitly disambiguated by the approval-code descriptions.

Naming Consistency5/5

All tools consistently use the u1_ prefix followed by snake_case verbs or verb_noun combinations. The pattern is predictable and readable throughout.

Tool Count5/5

Nine tools is well-scoped for a 3D printer control server. Each tool maps to a necessary monitoring or print-control operation without obvious redundancy.

Completeness4/5

The surface covers the core print lifecycle: monitoring, file listing, upload, approval-gated start, pause, resume, and cancel. Minor gaps include file deletion or detailed job/file management, but core workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues