Skip to main content
Glama
RobertCoop

OpenSCAD MCP Server

by RobertCoop

model

Create, retrieve, update, list, or delete OpenSCAD .scad files in a workspace. Use templates to generate purchased-part modules. Every operation returns an etag for version checking.

Instructions

Manage .scad files in a workspace: action = "create" | "get" | "update" | "list" | "delete". name is the file name (".scad" added); content is the source for create/update. Every response carries an "etag" (content hash) so a later update can be checked against the version last read. template="part:" with action="create" writes a purchased-part module from the parts catalog (see reference(topic="parts")) instead of content. workspace defaults to the server temp models directory; when allowed_paths is configured the workspace must lie inside it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
actionYes
contentNo
templateNo
workspaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.1

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full disclosure burden. It does this well by revealing the etag/content-hash workflow, automatic '.scad' suffixing, template branching, and workspace path restrictions. It does not detail overwrite or delete side effects, but the key behavioral traits are disclosed.

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?

The description is four dense sentences with no filler. The action list is front-loaded, and every subsequent clause adds a distinct behavioral fact: file suffix, etag, template mode, and workspace restrictions.

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 multi-action CRUD tool with no annotations, this is quite complete: it covers parameter semantics, the etag workflow, speculative template usage, and security constraints. It leaves per-action parameter requirements slightly implicit (e.g., which parameters delete or list need), but the output schema and clear prose keep the gap minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain all parameters in prose. It does: action is enumerated, name includes the '.scad' suffix rule, content is the source for create/update, template defines catalog-part creation and precedence over content, and workspace covers defaults and allowed_paths. Every parameter is given meaningful semantics.

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 description opens with a specific verb and resource: 'Manage .scad files in a workspace,' then enumerates the full action set: create, get, update, list, delete. This clearly differentiates it from sibling tools like render, measure, and export_model, which do entirely different things.

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 description provides concrete usage context: it explains the template alternative for catalog parts, the default workspace behavior, and the allowed_paths restriction. It does not explicitly name sibling alternatives or state when not to use this tool, but the context is clear enough for correct selection in most cases.

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