Skip to main content
Glama

Scene Describe

scene_describe
Read-onlyIdempotent

Describes a Maya node at the API level, including exact type, attribute metadata, and connection wiring, so you can compose accurate execute_code, setAttr, and connectAttr calls using real names.

Instructions

API-level self-description of ONE node (not spatial).

Boundary: scene_inspect answers WHERE an object is (position, bbox, neighbors); scene_nodes discovers candidate node names; scene_describe answers WHAT the node is at the API level - exact node type, per-attribute metadata, and connection wiring - so you can compose accurate execute_code/setAttr/connectAttr calls against real names.

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": {
      "node": "<node>"
    },
    "name": "scene_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYesNode name (short name or long DAG path).
attrsNoAttribute names to describe; None (default) lists every attribute listAttr reports UP TO the response budget (limit) - over-budget output is truncated and disclosed via attrs_truncated + total_count, never silent; narrow further with an explicit attrs list or raise limit and re-query. A named attr that does not exist aborts the whole call (attr_not_found) - no partial metadata (same contract as scene_export's missing_objects).
limitNoMax items returned per face (attrs and connections). Soft default 200; a caller may relax explicitly to the hard cap 1000 - bounds response size only, not the per-attribute query cost.
session_keyNoMaya session key (auto-selected if one session).
include_valuesNoAlso return value + soft_min/soft_max per attr (default False). Reading a value can trigger DG evaluation inside Maya - still read-only, but the eval may cost time on heavy graphs.
include_connectionsNoReturn connection wiring {src_plug, dst_plug, direction} (default True); the same budget applies (connections_truncated + total_connections; no cursor in v1 - narrow and re-query).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max items returned per face (attrs and connections).\nSoft default 200; a caller may relax explicitly to the\nhard cap 1000 (D-110) - bounds response size only, not\nthe per-attribute query cost."New value: +"Max items returned per face (attrs and connections).\nSoft default 200; a caller may relax explicitly to the\nhard cap 1000 - bounds response size only, not\nthe per-attribute query cost."
  2. First observedv0.4.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds scope-level behavior beyond that: the result is API-level metadata (type, per-attribute metadata, wiring) rather than spatial data, which shapes what the agent can expect. It does not restate truncation/error contracts, but those are fully carried by the parameter schema, so the remaining gap is small.

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?

Two tight blocks: a one-line purpose followed by a boundary paragraph. The exclusion is front-loaded and every clause carries routing information; no filler.

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, so return values need not be explained, and the schema carries the truncation and failure contracts. Combined with explicit sibling disambiguation, nothing an agent needs to call this correctly 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 description coverage is 100% and every parameter is documented in detail (budget/limit semantics, attrs_truncated, attr_not_found abort, include_values DG-evaluation cost). The description contributes nothing about parameters, so the baseline 3 applies.

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+resource ('API-level self-description of ONE node') and immediately scopes it as not spatial. It names the exact sibling it is not (scene_inspect answers WHERE, scene_nodes discovers names) so an agent can select it without opening either schema.

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?

Explicit when-to-use routing across three siblings with a stated division of labor, plus the downstream purpose ('so you can compose accurate execute_code/setAttr/connectAttr calls against real names'). This is a genuine decision rule, not an implied one.

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