Skip to main content
Glama
quellant

OpenSCAD MCP Server

by quellant

get_model

Retrieve OpenSCAD model files by name and obtain their code, path, and size for analysis or rendering.

Instructions

Read an OpenSCAD model file and return its contents.

Args: name: File name of the model to read workspace: Directory containing the model. Defaults to the configured temp_dir/models directory. ctx: MCP context for logging

Returns: Dict with success status, name, content, path, and size_bytes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
workspaceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It discloses that the operation reads a file (implying no mutation) and details the return dict fields (success status, name, content, path, size_bytes), plus the default workspace behavior. This goes beyond a terse statement, though it doesn't cover error handling or permissions.

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 a well-structured docstring with a one-sentence summary followed by concise Args and Returns sections. Every sentence contributes useful information, with no fluff or repetition.

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 simple read operation, the description covers the essential aspects: what the tool does, parameters, and return payload. An output schema exists (context shows true), and the description even summarizes the return fields. It lacks error-handling details but is otherwise complete for typical usage.

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?

Schema description coverage is 0%, but the description compensates by explaining both parameters: 'name' as file name, 'workspace' as directory with a default to temp_dir/models. This adds meaning beyond the raw schema types and defaults, making parameter usage clear.

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 verb ('Read') and resource ('OpenSCAD model file'), and specifies the return of file contents. This distinguishes it from sibling tools like list_models (listing) and render_single (rendering), since it targets raw file content retrieval.

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 usage is implied by the description: read a model file to get its contents. However, it does not explicitly mention when to prefer this over alternatives (e.g., list_models for names, analyze_model for analysis) or any exclusions, so guidance is only implicit rather than explicit.

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