Skip to main content
Glama

Capture Viewport

capture_viewport

Screenshot the Maya viewport to visually check modeling progress before or after changes, returning the PNG path for reuse.

Instructions

Screenshot the Maya viewport and return the image so you can see the scene.

Use this to visually check modeling progress before/after making changes. The returned path is also included for reuse.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cameraNoLook through this camera instead of the active viewport (e.g. 'persp', 'front').
outputNoSave the PNG to this path. Defaults to ~/.maya-mcp/captures/.
session_keyNoTarget Maya session; omit if only one is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that an image is returned and that a reusable path is provided (implying a file is written to disk), but it omits whether the operation is side-effect-free on the scene, whether it can fail on headless sessions, or any cost/latency considerations.

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?

Two short paragraphs with the core action front-loaded and no filler. The second sentence about the returned path earns its place, though it slightly overlaps with the output parameter's schema description.

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?

There is no output schema, so the description must cover the return value; it does state that both an image and a reusable path are returned. Combined with 100% schema coverage, an agent has enough to call it correctly, leaving only minor gaps around failure modes.

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 camera, output, and session_key parameters are already fully documented in the schema (including defaults and examples). The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource ('Screenshot the Maya viewport and return the image'), making the tool's function immediately clear. It does not, however, distinguish itself from the sibling 'view_image' tool, so an agent must infer the boundary between capturing and viewing.

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 clear context for use ('visually check modeling progress before/after making changes'), which is actionable guidance. It stops short of naming when-not-to-use or pointing to alternatives such as view_image or get_scene_info, so it is clear but not exhaustive.

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