Skip to main content
Glama

clear_usd_references

DestructiveIdempotent

Remove every reference from a USD prim's reference list to reset its composition; this action is irreversible and cannot be undone.

Instructions

Remove every reference from a prim's reference list (irreversible — there is no "undo" in USD composition authoring).

Returns: { stage_name: string, prim_path: string, cleared: bool, errors: [string]? }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prim_pathYesPrim whose references should be cleared.
stage_nameYesName the stage was registered under.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description isn't carrying the safety profile alone. It still adds genuinely new context: that the operation is irreversible because USD composition authoring has no undo, and it documents the return payload. This is meaningful beyond the annotations, though it omits permission/edit-target requirements.

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 sentences: the irreversible side effect leads, followed by the return shape. No filler, no restatement of the tool name, and the most consequential fact is front-loaded.

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?

No output schema exists, so documenting the return shape ({stage_name, prim_path, cleared, errors}) is the right compensation, and the description does that. The gap is the absence of precondition or permission context for a destructive composition-authoring operation.

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?

With 100% schema description coverage, both stage_name and prim_path are already documented in the schema, and the description adds no syntax, format, or edge-case meaning for either. The baseline of 3 applies when the schema does the heavy lifting.

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?

The description states a precise verb and resource: removing all references from a specific prim's reference list, which is more specific than 'clear references' alone. It distinguishes itself implicitly from mutation siblings like add_usd_reference, but never names a sibling or scope boundary (e.g., all references vs. one) 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?

There is no when-to-use guidance, no prerequisites (stage open, edit target, instanceable prim), and no named alternative such as add_usd_reference or clear_usd_variant_selection. The only usage-adjacent statement is the irreversibility warning, which is a consequence, not a routing rule.

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