Skip to main content
Glama
quellant

OpenSCAD MCP Server

by quellant

create_model

Create a new OpenSCAD model file by providing a name and source code. The file is saved to the configured workspace, with .scad extension added automatically if missing.

Instructions

Create a new OpenSCAD model file.

Args: name: File name for the model (alphanumeric, hyphens, underscores; .scad extension added automatically if missing) content: OpenSCAD source code for the model workspace: Directory to save the model in. Defaults to the configured temp_dir/models directory. ctx: MCP context for logging

Returns: Dict with success status, path, and name of the created file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
contentYes
workspaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Without annotations, the description carries the behavioral transparency burden. It does disclose useful traits: .scad extension auto-appending, default workspace directory, and the return dict shape. However, it does not mention overwrite behavior, directory creation, permission requirements, or error conditions, which are notable gaps for a file-creating tool.

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 concise and well-structured, opening with the core purpose followed by a clean Args section and a one-line Returns section. Every part adds useful information without repetition or fluff.

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 relatively simple create tool, the description covers the necessary invocation details: parameter formats, default workspace, and return values; an output schema exists and the description summarizes the response. It lacks edge-case details like file collision behavior, but the essential selection and invocation information is present.

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

Parameters4/5

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

The description adds significant meaning beyond the raw schema: name format and allowed characters, automatic .scad extension handling, content as OpenSCAD source, and workspace default. However, it lists a 'ctx' argument that does not appear in the input schema, which could confuse an agent about the exact supported parameters.

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 clearly states the action and resource: 'Create a new OpenSCAD model file.' This specific verb-object pairing, especially the word 'new,' differentiates it from sibling tools like update_model and delete_model.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by saying 'Create a new OpenSCAD model file,' but it does not explicitly state when to prefer this tool over update_model, export_model, or other siblings, nor does it provide any 'when not to use' guidance. Usage is inferred rather than clearly delineated.

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/quellant/openscad-mcp'

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