Skip to main content
Glama
quellant

OpenSCAD MCP Server

by quellant

render_perspectives

Render an OpenSCAD model from multiple standard camera angles in a single call, producing a set of images for a complete visual overview. Choose from front, back, left, right, top, bottom, and isometric views.

Instructions

Render multiple standard views of an OpenSCAD model in a single call.

Renders the model from several predefined camera perspectives in parallel, returning all images at once. Useful for generating a comprehensive visual overview of a 3D model.

Args: scad_content: OpenSCAD code to render (mutually exclusive with scad_file) scad_file: Path to OpenSCAD file (mutually exclusive with scad_content) views: List of view names to render. Valid names: "front", "back", "left", "right", "top", "bottom", "isometric". If not specified, renders all standard views. image_size: Image dimensions - accepts "widthxheight", "width,height", "[width, height]", or [width, height] list (default: [800, 600]) color_scheme: OpenSCAD color scheme (default: "Cornfield") variables: Variables to pass to OpenSCAD via -D flags quality: Quality preset - "draft" (fast, low detail), "normal" (OpenSCAD defaults), or "high" (slow, high detail). User-provided variables override quality preset values. include_paths: Additional include paths for OpenSCAD via the OPENSCADPATH environment variable, enabling multi-file project support ctx: MCP context for logging

Returns: List of rendered PNG images and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewsNo
qualityNo
scad_fileNo
variablesNo
image_sizeNo
color_schemeNo
scad_contentNo
include_pathsNo
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses parallel rendering, returns all images at once, default behavior for views, quality presets, and the variable override behavior. It does not explicitly state whether the operation is read-only, but 'render' strongly implies no modification.

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-structured with a one-line summary, detailed Args section, and Returns section. Every sentence provides value, and the length is justified given the 8 parameters and complex behaviors.

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

Completeness5/5

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

For a tool with no annotations, no output schema, and 8 parameters, the description covers all aspects: purpose, parameters, defaults, behaviors, and return type. It omits error handling, but that is not a critical gap for this rendering tool.

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?

Schema coverage is 0%, but the description thoroughly documents all 8 parameters, including mutual exclusivity of scad_content/scad_file, valid view names, accepted image_size formats, default values, and the behavior of variables and include_paths. This fully compensates for the schema's lack of descriptions.

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 starts with a specific verb and resource: 'Render multiple standard views of an OpenSCAD model in a single call.' It clearly distinguishes from sibling render_single by focusing on multiple predefined perspectives in parallel.

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 states it is 'useful for generating a comprehensive visual overview of a 3D model,' giving clear context for when to use it. It does not explicitly mention render_single or alternatives, but the purpose is implied through 'multiple standard views'.

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