Skip to main content
Glama

add_usd_reference

Add an external USD reference composition arc to a prim, linking an asset layer into a stage and optionally retargeting it to a prim inside that layer.

Instructions

Add an external reference composition arc to a prim (asset_path -> target prim, optionally re-targeted by prim_path_for_target).

Returns: { stage_name: string, prim_path: string, asset_path: string, added: bool, position: string, errors: [string]? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionNoOne of "FrontOfPrependList" / "BackOfPrependList" / "FrontOfAppendList" / "BackOfAppendList" (default BackOfPrependList — pxr::'s default for the strongest-anonymous opinion).
prim_pathYesPrim that owns the reference (target of the composition op on the consumer side).
asset_pathYesIdentifier of the layer to reference (absolute file path or USD-style relative identifier).
stage_nameYesName the stage was registered under.
prim_path_for_targetNoPrim inside the referenced layer to import. Empty (default) means the referenced layer's pseudo-root '/'. The default matches the common "import the whole layer" use case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the full safety profile (not read-only, non-destructive, not idempotent, closed world), so the bar is lower. The description usefully discloses the return payload shape, but adds little behavioral context beyond the schema - e.g., no notes on permissions, edit-target requirements, or side effects on existing references.

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?

Two sentences with the purpose front-loaded and the return shape clearly separated. No wasted filler, though the parenthetical mapping notation is slightly dense.

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 100% schema coverage and an inline description of the return value (no output schema exists), the definition gives an agent enough to call the tool correctly. Minor gaps remain around when to prefer it over the other add_usd_* composition tools.

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 thoroughly, including position enum values and prim_path_for_target behavior. The description reinforces the asset_path/target mapping but adds no syntax or format detail beyond the schema, so the baseline 3 holds.

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 ('Add') and resource ('external reference composition arc to a prim') and clarifies the mapping direction (asset_path -> target prim). The word 'external' implicitly distinguishes it from the sibling add_usd_internal_reference, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the composition semantics (referencing an external layer onto a prim), but there is no explicit when-to-use vs add_usd_internal_reference or add_usd_payload, and no stated prerequisites or ordering constraints.

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