Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOUPE_KICADNoPath to the KiCad app bundle, overriding the auto-discovered locations (/Applications/KiCad or ~/Applications/KiCad). Example: /path/to/KiCad.app

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
checkA

Deterministic geometry check — your specification, not a vibe.

Watertightness is always checked. Add interference_max (mm3 boolean overlap
between every pair of parts), min_wall (mm), overhang (deg, unsupported area),
or clearance ("colPart:borePart:gap@z=lo:hi") as needed. The report is always
returned; the final line is `PASS` or `FAIL:` — gate your build on it.
sheetA

Render a labeled contact sheet and return it INLINE as a PNG to read now.

views: comma list ("iso,front,top") or "none". slices: e.g. ["z=50%", "x=12"].
cutaways: e.g. ["y<50%"] (removes y<mid; opens toward a front-right-above camera).
view: "AZ,EL" custom camera (negatives fine here — passed as one token).
roi: "z=lo:hi[,x=..]" zooms every tile onto a region.
Interference between parts is painted red with the area in the tile caption.
draft_checkA

Assert a draft spec — the planning-stage gate, before any CAD exists.

Checks that every dimension expression resolves, that features sit inside their
outline and hold the declared min_wall, that the `checks:` expressions hold, and
that declared fits land in their clearance class. Pass `stl` to also assert an
exported mesh still matches the draft (bbox, and drafted holes present at the
right diameter and position). Final line is `PASS` or `FAIL:` — gate on it.
draft_sheetB

Render a draft's dimensioned drawing and return it INLINE as a PNG to read now.

Each view is drawn with real extension lines, arrowheads, ⌀/R callouts and ± tolerances, beside a table of every dimension with its value, tolerance and provenance. Dimensions are measured off the resolved geometry, so an expression that evaluates wrong shows a wrong number on the drawing.

sliceB

Headless Bambu Studio estimate: success/error, print time, filament grams/meters, spool cost, per-object boxes, slicer warnings. Requires a local Bambu Studio install. Writes the .gcode.3mf next to the inputs.

project_statusC

Return fresh/stale content-bound evidence for a local loupe.json project.

project_runB

Run the local project workflow. Release only creates local review ZIPs.

No upload, order, printing or device flashing. Failed checks propagate errors.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 7 tools

Disambiguation4/5

The set has a deliberate two-stage structure (draft_check/draft_sheet for planning, check/sheet for real CAD) and descriptions clearly state which stage each applies to. The residual risk is an agent confusing check with draft_check or sheet with draft_sheet at a glance, since the names alone don't signal the stage. Project tools (project_status vs project_run) are cleanly separated by 'evidence' vs 'workflow'.

Naming Consistency3/5

There is a readable scheme — bare verbs (check, sheet, slice) for geometry operations and draft_/project_ prefixes for stage- or project-scoped variants — but it mixes verbs and nouns and inconsistent prefixing. The pairing check/draft_check and sheet/draft_sheet is helpful, yet the overall pattern isn't a predictable verb_noun convention.

Tool Count5/5

Seven tools map one-to-one onto the verification pipeline (draft check/drawing, final check/contact sheet, slicing, project status/run). Each tool covers a distinct step with no filler or redundant variants. Well within the ideal 3–15 range for a focused CAD gate server.

Completeness4/5

The surface covers the full gate lifecycle: draft-stage assertions and dimensioned drawings, final watertightness/interference/wall/clearance checks with visual review, slicer estimates, and project-level status/run. Minor gaps exist — no inspection of individual dimensions or parts, no project listing, and no revision-diff comparison — but agents can work around these via sheets and reports.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues