Skip to main content
Glama

open_usd_stage

Destructive

Open an existing USD stage from a file path with caching and force-reload controls. Returns a stage_id for unique reference across follow-up commands.

Instructions

Open an existing USD stage from a file path. Wraps UnrealUSDWrapper::OpenStage with caching and force-reload controls. When use_stage_cache is true (default) and the file is already open in the UnrealUSDWrapper stage cache, the existing stage is returned. When force_reload is true, all local layers are forced-reloaded from disk (useful when the file was modified by another tool since the last open). The opened stage is added to the LLM-facing UEAgent::UsdRegistry::GStageNameCache under either the explicit stage_name or a derived one (basename without extension). The stage_id returned is the root layer's USD identifier — a stable string handle useful as a unique reference across follow-up commands.

Returns: { stage_name: string, stage_id: string, identifier: string, real_path: string, from_cache: bool, file_path: string, errors: [string]? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the .usd/.usda/.usdc/.usdz file (or a USD layer identifier).
stage_nameNoLLM-facing name to register the opened stage under. Defaults to the file basename without extension (optional).
force_reloadNoForce-reload all local layers from disk, bypassing the layer registry (default false).
use_stage_cacheNoUse UnrealUSDWrapper's stage cache (default true). When false the stage is re-read and not added to the cache.
initial_load_setNo"LoadAll" (default; loads payloads) or "LoadNone" (faster; inspect without loading payloads).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: the stage-cache return path, forced disk reload of local layers, and registration into GStageNameCache with a derived name. It leaves some ambiguity about why destructiveHint is true (registry/cache mutation is not explicitly framed as a destructive side effect), but the operational behavior is well disclosed.

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?

Well front-loaded: the core action comes first, then caching/reload semantics, then registry naming, then the return shape. It is dense but each sentence carries operational information; slightly verbose but not padded.

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 no output schema present, the description supplies the full return shape (stage_name, stage_id, identifier, real_path, from_cache, file_path, errors) and explains that stage_id is a stable handle for follow-up commands. Nothing an agent needs to invoke or chain it 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%, so the schema already documents all five parameters including defaults and enum-like values for initial_load_set. The description's notes on caching and derived naming largely restate the schema, so the baseline of 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 and resource ('Open an existing USD stage from a file path') and immediately identifies the implementation wrapper and its caching/reload semantics. An agent can distinguish it from create_usd_stage or close_usd_stage from the description alone.

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?

Gives clear context for the key decision points: when use_stage_cache is true the existing stage is returned, and force_reload is recommended 'when the file was modified by another tool since the last open.' However, it never names or routes to alternatives such as create_usd_stage or close_usd_stage as siblings.

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