Skip to main content
Glama

duplicate_actor

Clone an actor in the current editor level in place, preserving component overrides, and return JSON for both the clone and the original. Undoable; changes selection.

Instructions

Copy one editor-world actor in place through the editor's duplicate path, keeping its component overrides, and return both the new actor's JSON and the original's. Undoable; it changes the editor SELECTION as a side effect. Matches the INTERNAL name only (no editor labels). The clone exists in memory until save_level writes the .umap -- and a save that answers success while git status stays clean means the .umap is read-only (e.g. a Git LFS lockable file you have not locked), not that the duplicate failed.

Returns: { duplicated_actor: actor JSON (its auto-assigned name lives here), original_actor: actor JSON }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actor_nameYesActor's internal name (GetName), case-insensitive whole-string. Editor labels are NOT accepted; resolve one with find_actors_by_name first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior5/5

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

It discloses important behavior beyond the annotations: it is undoable, it changes the editor selection as a side effect, the clone is only in memory until save_level writes the .umap, and a misleading save success with a clean git status can indicate a read-only LFS-locked file rather than a failed duplicate. It also explains the return shape despite no output schema.

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?

The purpose is front-loaded, followed by side effects, constraints, persistence caveats, and return shape. The Git LFS read-only caveat is long but useful, and the overall structure is coherent with minimal wasted wording.

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 output schema, the description supplies the return object shape and explains the relevant mutation, naming, selection, undo, and persistence behavior. An agent has what it needs to invoke and interpret the tool correctly.

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%, and the single actor_name parameter is fully documented in the schema. The description reinforces the internal-name-only constraint but adds no new syntax or format details beyond the schema.

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?

The description gives a specific verb and resource: copy one editor-world actor in place through the editor's duplicate path, preserving component overrides. It names the return payload and the matching constraint, distinguishing it from sibling actor tools like spawn_actor and copy_actors.

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 clearly frames the intended context: duplicating an editor-world actor in place, matching only the internal name and not editor labels. It does not explicitly compare against alternatives such as spawn_actor or copy_actors/paste_actors, but the practical usage context is understandable.

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