Skip to main content
Glama

get_usd_layer_info

Read-onlyIdempotent

Read metadata for one layer in a USD stage's stack: identifier, real path, dirty/muted flags, and sublayer paths. Use it to inspect layer state and composition without changes.

Instructions

Read metadata for a single layer in the stage's stack (identifier, real path, dirty/muted flags, sublayer paths).

Returns: { stage_name: string, layer_index: int, identifier: string, real_path: string, dirty: bool, is_muted: bool, sub_layer_paths: [string], sub_layer_count: int, errors: [string]? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stage_nameYesName the stage was registered under.
layer_indexNo0-based index into the layer stack (root layer is 0; session layers follow). Defaults to 0. Out-of-range returns an error rather than a synthetic empty payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.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 safety is covered. The description adds real value beyond that by disclosing the full return shape, including an optional errors array, which is the main behavioral unknown for a metadata read with no output schema.

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 single sentence stating the operation and the fields covered, followed by a compact return-shape block. No filler, though the inline return sketch adds length that a lighter reference would handle.

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?

With no output schema, the description compensates by spelling out the returned fields; params are fully covered by the schema. Only the absence of any routing guidance relative to the many sibling USD layer/stage tools keeps it short of complete.

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%: stage_name and the 0-based layer_index (including the out-of-range error behavior) are already documented in the schema. The description adds no further parameter nuance, so the baseline 3 applies.

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?

States a specific verb+resource+scope: 'Read metadata for a single layer in the stage's stack', and enumerates the fields returned. The 'single layer' framing implicitly separates it from list_usd_stage_layers, but no sibling is named explicitly.

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?

No when-to-use guidance and no mention of alternatives such as list_usd_stage_layers, get_usd_stage_info, or list_usd_stage_layers for enumerating the stack. The agent must infer usage from the name alone.

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

Deploy Server

Other Tools