Skip to main content
Glama
quellant

OpenSCAD MCP Server

by quellant

compare_renders

Render two OpenSCAD model versions side-by-side for visual comparison, using different code or variable sets to highlight changes.

Instructions

Render two versions of a model for visual comparison.

Supports two modes:

  1. Two different SCAD contents: provide scad_content_before and scad_content_after.

  2. Same file with different variables: provide scad_file with variables_before and variables_after.

Both versions are rendered in parallel for efficiency. Uses the existing render_scad_to_png helper and QUALITY_PRESETS.

Args: scad_content_before: OpenSCAD code for the "before" version scad_content_after: OpenSCAD code for the "after" version scad_file: Path to OpenSCAD file (used with variable diffs) variables_before: Variables for the "before" render variables_after: Variables for the "after" render view: View preset name (default: "isometric"). Valid names: "front", "back", "left", "right", "top", "bottom", "isometric", "dimetric" image_size: Image dimensions - accepts "widthxheight", "width,height", "[width, height]", or [width, height] list (default: [800, 600]) quality: Quality preset - "draft", "normal", or "high" (default: "draft") ctx: MCP context for logging

Returns: List with before/after images and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoisometric
qualityNodraft
scad_fileNo
image_sizeNo
variables_afterNo
variables_beforeNo
scad_content_afterNo
scad_content_beforeNo
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 parallel rendering, use of the render_scad_to_png helper, and QUALITY_PRESETS, but does not cover edge cases like conflicting parameters or error behavior. This is moderate transparency.

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 well-organized with clear sections and front-loaded purpose. It is somewhat lengthy, but every sentence earns its place given the absence of schema descriptions and the need to explain two usage modes.

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 complex 8-parameter tool with no annotations or output schema, the description is largely complete: it covers modes, all parameters, defaults, and return type. It misses explicit mutual-exclusion details, but overall it is sufficient for an agent to invoke correctly.

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?

With 0% schema coverage, the description compensates by documenting all 8 parameters with defaults, valid view presets, image_size format options, and quality presets. This adds substantial meaning beyond the bare input schema.

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 begins with a specific verb+resource: 'Render two versions of a model for visual comparison.' It clearly differentiates from sibling tools like render_single and render_perspectives by focusing on comparison of two versions.

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 explicitly documents two distinct usage modes with exact parameter combinations, giving clear context for when to use each. It does not explicitly name alternatives or exclusion conditions, but the mode breakdown is strong enough for an agent to determine appropriate use.

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