Skip to main content
Glama

capture_viewport

Save a Maya viewport or model panel image to a file with configurable camera, size, and overwrite options; fall back to Maya Software render in standalone mode.

Instructions

Capture a GUI model panel; in standalone, return a Maya Software render marked fallback.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "capture_viewport"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
namesNo
widthNo
cameraNofront
heightNo
overwriteNo
frame_namesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/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 burden, and it does disclose one genuine behavioral trait: in standalone mode it returns a Maya Software render flagged as a fallback. It omits other important behavior, though — that it writes a file to disk, what overwrite=false versus true does to existing files, and whether a GUI/model panel must be open.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is tight and front-loads the main action before the standalone caveat, with no filler. But it is undersized for a seven-parameter file-writing tool, so brevity here reflects under-specification rather than discipline.

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?

For a tool with seven parameters, zero schema coverage, no annotations, and file-writing side effects, one sentence is not enough to call it correctly. The existing output schema covers return values, so that is not the gap — the gap is parameter meaning and operational preconditions.

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

Parameters1/5

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

Schema description coverage is 0% across all seven parameters, and the description mentions none of them — not path, names, width, height, camera, overwrite, or frame_names. Nothing compensates for the completely undocumented schema.

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?

"Capture a GUI model panel" gives a specific verb and resource, and the standalone caveat narrows the behavior. However, it never distinguishes this from the sibling render_view, so an agent must guess which capture route to pick.

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?

There is no explicit when-to-use guidance: no mention of when to prefer capture_viewport over render_view, no prerequisites such as requiring an open Maya session, and no statement of when the fallback path is triggered beyond the bare word "standalone".

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