Skip to main content
Glama

Capture Viewport

viewport.capture
Read-onlyIdempotent

Capture the current viewport frame as a JPEG or PNG image. Read-only snapshot without modifying the scene.

Instructions

Capture a single viewport frame as inline image content using Maya playblast. Read-only: does not modify scene data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNoOptional frame to capture (defaults to current time)
panelNoOptional preferred modelPanel name
widthNoCapture width in pixels (64-4096)
formatNoImage format: 'jpeg' (default) or 'png'jpeg
heightNoCapture height in pixels (64-4096)
qualityNoJPEG quality 1-100 (used when format='jpeg')
offscreenNoUse offscreen capture when available (default False)
show_ornamentsNoShow viewport ornaments/gizmos (default True)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameYes
panelYes
widthYes
formatYes
heightYes
mime_typeYes
size_bytesYes
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint. The description adds context by mentioning the use of Maya playblast and reinforcing the read-only nature, providing additional value beyond annotations.

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, concise sentence that effectively communicates the tool's purpose without any wasted words.

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?

Given the existence of an output schema (not shown), the description provides sufficient context for a simple capture tool. It could mention return of inline image, but annotations and schema fill in gaps.

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 baseline is 3. The description does not add parameter-level details, but the schema already covers each parameter's meaning.

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 the tool captures a single viewport frame using Maya playblast, with a specific verb and resource. It is the only viewport tool among siblings, so it effectively distinguishes itself.

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 implies usage for capturing viewport frames but does not provide explicit when-to-use or alternatives. Since there are no sibling tools with similar function, this is acceptable.

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/GimbalGoats/GG_MayaMCP'

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