Skip to main content
Glama

Render views

render_views
Read-onlyIdempotent

Render PNG images of an OpenSCAD design from chosen sides with console output to verify geometry before export; override parameters for one render without editing the file.

Instructions

OpenSCAD: renders PNG images of a design from the chosen sides (iso, iso_back, front, back, left, right, top, bottom; default iso, front, top, right) and returns them with the console output. Mode "render" (the default when OpenSCAD has the Manifold backend) shows the exact geometry that would be exported. Mode "preview" is OpenSCAD's quick OpenCSG view with $preview = true; it can show holes or missing faces that are not in the model. params overrides parameters for this render only, without changing the file.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "render_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDefault: "render" with the Manifold backend, otherwise "preview".
nameYesDesign name, e.g. "broom-holder-28mm". Stored as lower-case letters, digits and dashes.
viewsNoSides to render. Default: iso, front, top, right.
paramsNoParameter overrides as name → value, e.g. {"pole_diameter": 32, "label": "A"}. Values are numbers, booleans, strings or lists of those.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the response includes console output alongside the images, and `params` affects only this render without changing the file. It does not describe image encoding or size, but that is a minor omission given the annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three front-loaded sentences with the purpose first, then mode semantics, then the scoping caveat on `params` — each carries information. There is mild duplication, since the default view list and default mode appear both here and in the schema, but it costs little.

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?

All four parameters are fully documented in the schema and the description explains the return content (PNG images plus console output), so an agent can call this correctly. No output schema exists, yet the description does not specify how images are delivered in the response payload, which is the one remaining gap.

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 coverage is 100%, so defaults for `mode` and `views` are already documented and repeating them earns little. The real value is the statement that `params` overrides apply only to this render and leave the stored file unchanged, which the schema does not convey. That meaningfully extends parameter understanding beyond the structured field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: renders PNG images of a design from chosen sides, and states what is returned (images plus console output). That clearly separates it from a file-writing export tool, but it never names a sibling (e.g. export_design or open_in_openscad), so the differentiation is inferred rather than stated.

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?

It gives explicit guidance on the key selection decision: use "render" to see the exact geometry that would be exported, and "preview" for a fast OpenCSG view that may show holes or missing faces not present in the model. It offers no guidance on when to choose this tool over siblings such as export_design, so it stops short of full alternative routing.

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