Skip to main content
Glama
zinin

sketchup-mcp2

by zinin

get_viewport_screenshot

Capture the current SketchUp viewport as a PNG for visual scene verification between steps. Optionally adjust view preset, style, or zoom extents before capture.

Instructions

Capture the current SketchUp viewport as a PNG and return it as an MCP Image.

Useful for letting Claude visually verify the scene between steps.

Parameters

  • max_size: largest side of the returned PNG (64..4096). Aspect ratio is taken from the current viewport; the smaller side is scaled proportionally.

  • view_preset: switch the camera to a standard view before snapping. current leaves the camera alone.

  • zoom_extents: call view.zoom_extents before snapping.

  • style: temporarily flip a small set of rendering_options keys. default leaves them alone.

  • restore_view: when true (default), camera and rendering_options are snapshotted before mutation and restored after the snapshot, so the user's viewport is unchanged.

Note on operation order (Ruby handler): snapshot → preset → style → zoom_extents → write_image → restore. Restore runs in an outer ensure block, so an exception anywhere between snapshot and write_image still leaves the viewport in its original state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_sizeNo
view_presetNocurrent
zoom_extentsNo
styleNodefault
restore_viewNo
Behavior5/5

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

With no annotations provided, the description fully covers behavioral traits: it describes the snapshot process, camera and rendering modifications, the ensure block for restoration, and the order of operations. This gives the agent complete 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-structured with a concise purpose, a bulleted parameter list, and a note on operation order. Every sentence adds value without redundancy.

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?

Given the tool's complexity (5 parameters, view mutation), the description covers purpose, parameters, operation order, restoration safety, and return type (MCP Image). No gaps remain, even without an output schema.

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 description coverage is 0%, but the description explains each parameter in detail, including constraints (e.g., max_size range, aspect ratio), enums (view_preset, style), default behavior (current, default), and the restore_view mechanism. This fully compensates for the lack of schema 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 clearly states 'Capture the current SketchUp viewport as a PNG and return it as an MCP Image.' This is a specific verb-resource-output combination, and it is distinct from sibling tools (all modeling operations).

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 says 'Useful for letting Claude visually verify the scene between steps,' providing a clear use case. It does not explicitly list when not to use or alternatives, but the context and parameter explanations offer sufficient guidance.

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/zinin/sketchup-mcp2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server