Skip to main content
Glama

Scene Inspect

scene_inspect
Read-onlyIdempotent

Inspect a Maya object or zone to retrieve transform, bounding box, material, mesh stats, and nearby object distances for spatial audits and scene validation.

Instructions

Deep inspection of a specific object or zone.

Returns detailed properties including transform, BBox, material, mesh stats, and optionally nearby objects with distances.

Object positions, box corners, sizes, neighbor distances and zone centers/boxes are in the scene's current linear unit (cm, m or mm). JSON object results name that unit. Centimetre output keeps its previous shape; non-centimetre zone results and the CoS view add the unit.

An object's BBox is the node's own box, without its ancestors' transforms. The zone branch reports world-axis boxes built from each shape's own box transformed once, so a rotated parent no longer widens them layer by layer; geometry that does not fill its own box can still read up to one axis-alignment too wide. Boundary: Disambiguated from scene_snapshot (broad whole-scene spatial overview) and scene_describe (API-level attribute metadata, types, and connection wiring).

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": {
      "target": "<target>"
    },
    "name": "scene_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format - "cos" or "json".cos
targetYesObject name or zone name to inspect.
session_keyNoMaya session key.
include_neighborsNoWhether to include nearby objects (default True).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds substantial context the annotations cannot: output units depend on scene linear unit, centimetre output keeps a legacy shape while non-cm results add the unit, and an object's BBox excludes ancestor transforms. It even discloses a known imprecision — rotated parents and geometry that doesn't fill its own box can read up to one axis-alignment too wide — which is exactly the kind of caveat that prevents misreading results.

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?

Purpose and output contents are front-loaded, then units, then BBox semantics, then the boundary — a sensible order with no filler sentences. It is dense and the unit discussion is somewhat repetitive across three sentences, keeping it short of a 5.

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?

An output schema exists, yet the description still flags the non-obvious parts of the return data (unit variability, BBox frame of reference, over-wide boxes). For a 4-parameter read tool with full annotation and schema coverage, nothing an agent needs in order to call and interpret it is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description still adds meaning beyond the schema by explaining the consequence of the format switch (JSON results name the unit; the CoS view adds it) and by tying include_neighbors to "optionally nearby objects with distances." Minor value-add, above baseline but not deep per-parameter guidance.

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 first sentence names a specific verb+resource ("Deep inspection of a specific object or zone") and the second enumerates exactly what comes back: transform, BBox, material, mesh stats, and optional neighbors with distances. The closing Boundary line explicitly separates it from scene_snapshot (whole-scene overview) and scene_describe (API-level metadata/wiring), so an agent can route without opening a schema.

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 Boundary section gives explicit alternatives and what each is for, which effectively tells the agent when not to pick this tool. It stops short of stating positive preconditions or a crisp "use this when you need X for a single object" rule, but the guidance is clear enough to select correctly.

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