Skip to main content
Glama
tomyrese

OpenSCAD Design MCP

by tomyrese

Validate Scad

validate_scad

Compile an OpenSCAD model to temporary STL and inspect for empty geometry, returning diagnostics to verify 3D-printable solid geometry.

Instructions

Compile to a temporary STL and inspect for empty geometry, recording diagnostics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
toolYes
errorsNo
successNo
warningsNo
artifactsNo
project_idNo
duration_msNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does disclose the temporary nature of the STL and the recording of diagnostics, but it does not state whether the project is modified, what occurs on compile failure, or what the diagnostics contain.

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?

A single dense sentence with no filler; 'temporary' signals the side-effect profile and 'recording diagnostics' indicates the outcome. Every word contributes.

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 single-parameter tool with an output schema, the description captures the core workflow (compile, inspect, record) and the output schema can cover return details. It is slightly incomplete in not stating explicit outcome/error behavior, but not severely so.

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

Parameters2/5

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

Schema description coverage is 0% and the description never mentions project_id or its required format/meaning. The parameter name is self-explanatory, but the description adds no semantic value beyond what the schema already shows.

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 gives a specific mechanism — compile SCAD to a temporary STL and inspect for empty geometry — which clearly defines what validate_scad does and distinguishes it from siblings like render_preview and inspect_mesh. The title and description align on the resource and action.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, prerequisites, or comparison to alternatives such as check_printability or inspect_mesh. It does not state when validation should be run or when another tool would be more appropriate.

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

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

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