Skip to main content
Glama
hedless

Onshape MCP Server

by hedless

capture_part_studio_screenshot

Render a shaded-view screenshot of a Part Studio's current geometry to verify CAD models visually.

Instructions

Render a shaded-view screenshot of a Part Studio's current geometry (for visual verification)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoiso/isometric, a named view (top/bottom/front/back/left/right), or a raw 12-number view matrixiso
elementIdYesPart Studio element ID
documentIdYesDocument ID
outputPathNoOptional local file path to also save the PNG to
outputWidthNoImage width in pixels
workspaceIdYesWorkspace ID
outputHeightNoImage height in pixels
showAllPartsNoShow all parts regardless of visibility settings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It says it renders a screenshot, but does not mention whether it writes to outputPath, returns image data, modifies anything, or how the render behaves relative to current view state. This is a thin behavioral picture for a tool with no annotation support.

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 a single front-loaded sentence with no filler. It states the action, target, output type, and purpose compactly, so every word earns its place.

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

Completeness2/5

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

Given no annotations, no output schema, and 8 parameters, the description is too minimal to be fully actionable. It does not explain what happens after rendering (file saving vs. returned image data), how the screenshot relates to the outputPath parameter, or when this tool is preferred over sibling capture/export tools.

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 description coverage is 100%, so the parameters are already well documented. The description adds only the 'shaded-view' rendering context and 'current geometry' scope, which slightly enrich the purpose but do not materially add parameter-level semantics beyond the 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 uses a specific verb ('Render') and a specific resource ('a Part Studio's current geometry') and identifies the output type ('shaded-view screenshot'). It is clearly distinguished from the sibling capture_assembly_screenshot by scoping to Part Studios rather than assemblies.

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 offers only a purpose tag ('for visual verification') but gives no guidance on when to choose this tool over alternatives such as capture_assembly_screenshot or export_part_studio. It does not state exclusions, prerequisites, or a decision rule.

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