Skip to main content
Glama

save_unity_scene

Save an open Unity scene to disk without a dialog. Defaults to the active scene, or targets another open scene or new Assets path, with optional overwrite of an existing asset.

Instructions

Save an open Unity scene without opening a dialog. Defaults to the active scene. Use scenePath to select another open scene or saveAsPath for an existing Assets/... folder. Existing scene assets are not replaced unless overwrite=true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_unity_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
overwriteNoAllow saveAsPath to replace a different existing scene asset
scenePathNoOptional open Assets/.../*.unity scene; defaults to the active scene
saveAsPathNoOptional new Assets/.../*.unity path in an existing folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.7.7

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the non-interactive behavior, the default target, and the important safety trait that existing scene assets are preserved unless overwrite=true. Gaps remain on side effects (asset refresh, recompilation, unsaved-changes handling) and failure modes when the named scene is not open.

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?

Four short sentences, front-loaded with the action, then defaults, then per-parameter usage, then the destructive-safety caveat. Nothing is redundant and no sentence could be cut without losing information.

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 zero-required-parameter tool with no output schema and no annotations, the definition covers the default target, both path parameters, folder constraints, and the overwrite safeguard. It would be complete with a note on what happens when the scene is not open or when the folder does not exist.

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 explains all three parameters. The description largely restates those semantics (scenePath = another open scene, saveAsPath = existing folder) and only adds the caveat that overwrite gates replacing a different existing asset, so the baseline 3 is appropriate.

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 and resource ("Save an open Unity scene") plus a distinguishing mode detail ("without opening a dialog"), which separates it from dialog- or menu-driven alternatives like execute_editor_menu_item. The "open scene" precondition also scopes it relative to open_unity_scene, though no sibling is named explicitly.

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 operational context: it defaults to the active scene, scenePath targets another already-open scene, and saveAsPath requires an existing Assets/... folder. It does not state a when-not-to-use case or name an alternative path (e.g., calling open_unity_scene first to load a closed scene), so it stops short of full routing guidance.

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