Skip to main content
Glama

Scene Snapshot

scene_snapshot
Read-onlyIdempotent

Capture a complete spatial overview of the current Maya scene, listing all objects with positions, sizes, and types. Use it before changes to see the whole scene and check for unsaved edits.

Instructions

Get a complete spatial overview of the current Maya scene.

Returns a structured description of ALL objects with positions, sizes, and types. Call this once at the start of each task to see the whole scene before changing it.

Sizes are world-axis bounding boxes. Each shape's own box is transformed once, so a rotated parent no longer widens a size layer by layer; geometry that does not fill its own box (an L-shape, a character mesh) can still read up to one axis-alignment too wide.

The first line ends with MODIFIED=y or MODIFIED=n. y means the scene has changes that were never saved; n means it has none. This is Maya's own flag for the whole scene, so it says nothing about which object changed. Changes made through this server's own tools count too, so y does not mean a person edited the scene. JSON output carries the same fact as the top-level scene_modified field. The flag is read again on every call and never comes from the cache, while the object list may be a few seconds old.

Object positions, box corners and zone centers/boxes are in the scene's current linear unit (cm, m or mm); JSON and the CoS header name that unit.

Boundary: Disambiguated from scene_inspect (deep-dive inspection of specific objects or zones) and scene_nodes (granular DAG/DG node name discovery with pagination).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "scene_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoDetail level - "compact" (fast), "standard" (+materials/mesh stats), "full" (+vertices).compact
formatNoOutput format - "cos" (CoS: short one-line-per-object text, compact) or "json" (full JSON).cos
session_keyNoMaya session key (auto-selected if only one session).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • changedInput schema / properties / format / description
      Previous value: -"Output format - \"cos\" (Chain-of-Symbol, compact), \"json\" (full JSON)."New value: +"Output format - \"cos\" (CoS: short one-line-per-object text,\ncompact) or \"json\" (full JSON)."
  2. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds real operational context: the MODIFIED flag's meaning, that it reflects the whole scene rather than a specific object, that server-driven edits count, and that the object list may be a few seconds stale while the flag is re-read every call. The bounding-box caveat (rotated parents no longer widen sizes, but L-shapes can read an axis too wide) is a genuine accuracy limitation worth disclosing. It stops short of saying how large scenes affect output size or latency.

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?

Front-loaded with purpose and the key usage instruction, then caveats. Every paragraph carries information, but the bounding-box discussion is dense and slightly over-explained for a call-time decision, and the two-sentence staleness/unit material could be tightened.

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?

With an output schema present, the description needn't enumerate return fields, and it doesn't overreach — it explains the one field an agent must interpret (scene_modified) plus units and staleness. Given a three-parameter read-only tool with full schema coverage and sibling disambiguation, nothing needed for correct invocation is missing.

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 coverage is 100%, so both meaningful parameters (detail, format) are already documented, establishing the baseline of 3. The description adds only partial meaning beyond the schema — it clarifies that JSON output mirrors the scene_modified fact and that both JSON and the CoS header name the linear unit — but never explains that the detail parameter changes what is returned (materials/mesh stats/vertices), leaving that entirely to 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?

States a specific verb and resource ("Get a complete spatial overview of the current Maya scene") and immediately specifies the payload: all objects with positions, sizes, and types. The explicit boundary paragraph separates it from scene_inspect and scene_nodes, so an agent can pick it without opening sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Call this once at the start of each task to see the whole scene before changing it" gives an explicit trigger and ordering constraint. The boundary section names the two alternative tools and their distinct jobs (deep-dive inspection vs. granular node discovery with pagination), which is proper routing guidance rather than a vague mention.

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