Skip to main content
Glama

Scene Checkpoint

scene_checkpoint

Saves the current Maya scene to a self-contained .ma file inside a checkpoints/ directory, letting agents create restore points before risky edits. Names unnamed scenes and rejects duplicate names unless overwrite is enabled.

Instructions

Save the current scene to a .ma file on disk under checkpoints/.

Boundary: Disambiguated from scene_checkpoint_list (list the checkpoint files already written) and scene_rollback (open one and point the scene at it) — scene_checkpoint is the save half.

Writes a self-contained .ma into a checkpoints/ directory next to the scene file. A scene that was never saved to disk needs an explicit name, and its temporary checkpoint goes under the Maya workspace — returned with original_file_status="no_original_file" and scene_rebound_to=null. Same-name checkpoints are rejected unless overwrite=True (the old file is preserved via rename).

Honest bounds: the file contains no undo history — after scene_rollback, call scene_snapshot to rebuild context. References are flattened (self-contained, no write-back). Assumes one scene file per session.

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": "scene_checkpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCheckpoint name (^[A-Za-z0-9_-]+$). Required when the scene was never saved to disk.
overwriteNoReplace a same-name checkpoint, preserving the old file.
session_keyNoMaya session key.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • changedInput schema / properties / name / description
      Previous value: -"Checkpoint name (^[A-Za-z0-9_-]+$). Required on untitled scenes."New value: +"Checkpoint name (^[A-Za-z0-9_-]+$). Required when the scene\nwas never saved to disk."
  2. First observedv0.4.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare non-read-only, non-destructive, non-idempotent; the description goes well beyond that by disclosing the write location, same-name rejection, old-file preservation via rename, and the unsaved-scene path with original_file_status="no_original_file". The "Honest bounds" block adds valuable limits (no undo history, references flattened, one scene per session). It does not conflict with destructiveHint=false since the old file is preserved rather than replaced in place.

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?

Front-loaded with the core action, then boundary, then mechanics — a sensible order for an agent. There is mild redundancy between the opening line and "Writes a self-contained .ma into a checkpoints/ directory", and the "Honest bounds" framing is verbose, but no sentence is wasted.

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?

For a mutating save tool with an output schema and full param coverage, the description covers destination, naming preconditions, collision policy, non-obvious failure modes, and post-rollback recovery advice. An agent has everything needed to call it correctly.

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 baseline is 3; the description adds context by tying the `name` requirement to the never-saved case and explaining that overwrite preserves the prior file through a rename rather than an in-place clobber. Much of this restates the schema descriptions, limiting the added value.

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?

Opens with a specific verb and resource plus destination: "Save the current scene to a `.ma` file on disk under checkpoints/". The Boundary paragraph explicitly separates it from scene_checkpoint_list (list) and scene_rollback (restore), so an agent can route 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?

Names both alternatives and their behaviors, then states "scene_checkpoint is the save half" — an explicit when-to-use statement. It also gives the preconditions that change invocation: an unsaved scene requires an explicit name, and same-name collisions require overwrite=True.

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