Skip to main content
Glama

open_unity_scene

Open a Unity scene in Single or Additive mode for scene loading and switching. Single mode refuses to discard dirty scenes; set saveModifiedScenes to save named unsaved scenes first.

Instructions

Open a Unity scene in Single or Additive mode. Single mode fails rather than discarding dirty scenes. Set saveModifiedScenes=true to save already-named dirty scenes first; untitled scenes must be saved explicitly.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "scenePath": "<scenePath>"
    },
    "name": "open_unity_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoHow Unity opens the scenesingle
scenePathYesExisting Assets/.../*.unity scene asset
setActiveNoMake the opened scene active; defaults true for Single and false for Additive
saveModifiedScenesNoSave named dirty scenes before Single mode unloads them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one high-value trait: Single mode fails rather than silently discarding dirty scenes, plus the named-vs-untitled save distinction. It says nothing about return value, whether the call blocks until the scene is loaded/compiled, or how errors surface for a bad path, leaving real gaps for a state-mutating editor operation.

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?

Three short sentences, front-loaded with the core action and mode choice, then the safety caveat, then the escape hatch. No filler and nothing redundant with the schema.

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?

For a 4-parameter, no-annotation, no-output-schema tool, the description covers the risky path (dirty scenes) and both modes, which is the critical decision surface. It omits return/error behavior and any indication of synchronous blocking, so it is strong but not fully complete.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: saveModifiedScenes only covers already-named dirty scenes, and untitled ones require explicit saving. 'mode' semantics are repeated from the schema rather than extended, keeping it below a 5.

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 first sentence gives a concrete verb and resource ('Open a Unity scene') plus the two supported modes, which is immediately distinguishable from save_unity_scene or get_unity_scenes. It stops short of explicitly contrasting with those siblings, so it lands at clear-but-undifferentiated rather than a 5.

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?

It tells the agent when to set saveModifiedScenes=true and warns that untitled scenes must be saved explicitly beforehand, which is actionable conditional guidance. It never names an alternative tool (e.g. save_unity_scene) or states an explicit exclusion, so no 5.

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