Skip to main content
Glama
dsh18235538266-crypto

onshape-mcp-codex

render_part_studio_views

Render Part Studio views as PNG images to visually inspect the 3D result after every modeling change. Pass returned image IDs to crop_image to zoom into suspicious areas.

Instructions

Render one or more shaded views of a Part Studio and return the PNGs so Claude can actually see the 3D result. Use this after every feature that creates or modifies visible geometry. The returned image_ids can be passed to crop_image to zoom into suspicious regions. Claude Opus 4.7 spatial reasoning is weak — always render the view you need rather than mentally rotating. Default views: iso, top, front, right.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
edgesNoRender feature/silhouette edges
viewsNoList of named views (iso, top, front, back, left, right, bottom) or raw comma-separated 12-float viewMatrix strings.
widthNoOutput width in pixels
heightNoOutput height in pixels
elementIdYesPart Studio element ID
documentIdYesDocument ID
workspaceIdYesWorkspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden; it discloses that the tool returns PNGs, produces image_ids, supports multiple named views, and has a default view set. It also explains the model's spatial reasoning limitation, which informs the agent's behavior, though it does not explicitly state non-mutating semantics or failure behaviors.

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 compact and front-loaded: it states purpose, returns, usage timing, a downstream workflow, and defaults in four efficient sentences. No sentence is redundant or filler.

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 relatively simple render tool with a fully documented schema and no output schema, the description provides enough operational context: what it returns, when to use it, how to chain with crop_image, and what the default views are. Nothing essential is missing.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all parameters. The description adds helpful context about default views and the image_ids-to-crop_image workflow, but it does not go beyond the schema for most parameters. Baseline 3 is appropriate.

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 states a specific verb ('Render'), a clear resource ('shaded views of a Part Studio'), and an explicit outcome ('return the PNGs'). It also differentiates from sibling tools like render_sketch and render_assembly_views by naming the Part Studio as the target, so an agent can select it correctly.

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 gives explicit context: use it after every feature that creates or modifies visible geometry, and pass returned image_ids to crop_image for zooming into suspicious regions. It does not explicitly exclude alternatives like render_assembly_views, but the Part Studio scope and 'after every feature' guidance provide clear selection context.

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