Skip to main content
Glama

set_viewer_context

Point the Scene Viewer at a network and optional node to enable scene graph views, required before previewing USD stages, setting Hydra delegates, or binding camera prims.

Instructions

Point the Scene Viewer at a network, and optionally a node inside it.

set_current_network moves the network EDITOR; this moves the VIEWER. That is what decides whether a scene graph view exists, so it is the prerequisite for previewing a USD stage or setting a Hydra delegate: call this with "/stage" before set_viewport_renderer or before binding a USD camera prim.

The result reports is_scene_graph_view, which is the question you are usually really asking.

Args: network_path: Network for the viewer to display, e.g. "/stage". current_node: Node inside it to make current, which selects the stage a Solaris viewport shows. pane_name: Pane tab name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pane_nameNo
current_nodeNo
network_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.24.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and it does disclose the key non-obvious behavior: that this call decides whether a scene graph view exists and is a prerequisite for USD-stage preview. It also reveals the return key (is_scene_graph_view). It stops short of permission requirements or failure modes, which keeps it from a 5.

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?

Front-loaded with the core action, then layered: distinction from the sibling, prerequisite ordering, and the return value, followed by a clean Args block. Every sentence adds routing or behavioral value; nothing is 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?

With no annotations and no output schema, the description covers what an agent needs: purpose, sibling disambiguation, prerequisite sequencing, per-parameter meaning, and the result key. Failure and permission behavior are the only omissions, which is minor for a viewer-context tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it largely does: network_path gets a format example ("/stage"), current_node explains its effect ('selects the stage a Solaris viewport shows'), and pane_name is defined, albeit tersely. The weak pane_name definition prevents a 5.

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 effect ('Point the Scene Viewer at a network, and optionally a node inside it') and explicitly contrasts with the sibling set_current_network ('moves the network EDITOR; this moves the VIEWER'). An agent can distinguish these two tools 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?

Explicitly names the alternative (set_current_network), states the prerequisite ordering with a concrete call path ('call this with "/stage" before set_viewport_renderer'), and gives the trigger condition (previewing a USD stage, locating a scene graph view). This is exactly when/when-not/alternatives guidance.

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