Skip to main content
Glama
dkpoulsen

OpenSCAD MCP Server

by dkpoulsen

render

Compile OpenSCAD code into 3D-printable mesh files in STL, OFF, AMF, 3MF, or CSG format.

Instructions

Compile OpenSCAD code to a 3D mesh format (STL, OFF, AMF, 3MF, or CSG). Use this to generate 3D-printable files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scadYesOpenSCAD code to compile
formatNoOutput format for the 3D meshstl
parametersNoVariables to pass to OpenSCAD via -D flags (e.g., {width: 10, name: "test"})
exportFormatNoFor STL: "asciistl" for ASCII format, "binstl" for binary (smaller file)
hardwarningsNoTreat warnings as errors
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the core transformation (compiling OpenSCAD to mesh formats) and the intent to produce printable files. However, it does not explain error behavior, how the result is delivered (file path, binary, URL), or other operational characteristics, leaving notable gaps.

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 two sentences, front-loaded with the main action, formats, and use case. Every sentence earns its place, and there is no repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters, a nested object, and no output schema, the description omits essential operational context: what the tool returns, whether compilation can fail and how errors are reported, and how the generated file is exposed to the agent. It provides the 'what' but not the 'what happens next', making the definition incomplete for safe invocation.

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%, so the schema documents all parameters. The description's format list overlaps with the format enum and adds no new parameter semantics. Baseline 3 is appropriate because the description does not need to compensate for schema gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Compile'), a specific resource ('OpenSCAD code'), and the outcome ('3D mesh format' with named formats). It clearly identifies the tool's role relative to siblings like preview or validate, but it does not explicitly name or contrast them, so it misses the full differentiation of a 5.

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?

'Use this to generate 3D-printable files' gives clear, direct guidance on when to invoke this tool. It does not mention alternatives or exclusions, so it lacks the explicit when-not-to-use guidance needed for a 5, but it is more than an implied usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dkpoulsen/openscad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server