Skip to main content
Glama
roblox-studio
by nardjay

Clone instance

clone_instance

Deep-clone a Roblox Studio instance, optionally rename it, and place it under a new parent while preserving undo history.

Instructions

Deep-clone an instance (Archivable is set on the clone), optionally renaming it and placing it under a new parent.

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": {
      "path": "<path>"
    },
    "name": "clone_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the clone.
pathYesInstance path. Accepts "Workspace.Model.Part", "game.Workspace.Model.Part" or "game.Workspace[\"My Part\"].Model". Use "game" or omit for the DataModel root.
parentNoNew parent path. Defaults to the original parent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, non-idempotent, non-destructive local mutation. The description genuinely adds to that by saying the copy is deep (children come with it) and that Archivable is set on the clone, which is a meaningful side effect for later persists and deletes. It does not describe what is returned (no output schema exists) or how invalid paths or unarchivable sources are handled.

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?

One sentence, front-loaded with the operation and immediately followed by the side effect and the optional modifiers. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation with full schema coverage and clear annotations, the definition covers purpose and side effects adequately. The remaining gap is the absence of any output schema combined with no statement of what the call returns (a clone reference or its path), which an agent needs in order to chain follow-up calls such as set_properties on the new object.

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% and the schema already documents name, path formats, and the parent default, so the baseline is 3. The description reinforces which parameters are optional and ties 'placing it under a new parent' to the parent parameter, but it adds no format or edge-case detail beyond the schema.

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 ('deep-clone an instance') plus a non-obvious side effect (Archivable is set on the clone), so the agent knows this duplicates an existing object rather than creating one from scratch. It stops short of naming the nearby alternative create_instance, so differentiation is inferable rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance; nothing says to pick this over create_instance when the source object already exists, nor over reparent_instance when only a location change is needed. The optional rename/parent behavior is described as a capability, not as a selection criterion.

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