Skip to main content
Glama

duplicate_object

Copies an object by ID, offsets it by dx/dy woxels, and returns the new element ID. Use snap to align copies to grid steps.

Instructions

Duplicate an object by id, offset by (dx, dy) woxels. Returns the new element id.

snap: rounds dx, dy to the nearest whole grid steps; see get_snap_settings.

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": {
      "id": "<id>"
    },
    "name": "duplicate_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxNo
dyNo
idYes
snapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and does disclose two useful traits: the operation returns the new element id, and snap rounds the offset to whole grid steps. It does not cover what happens to the source object, whether the duplicate lands on the same level, or any failure behavior for an invalid id.

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?

Two short sentences front-load the action and return value, then a focused line explains snap. The third line reads as a fragment, but every sentence still carries information an agent needs.

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 4-parameter mutation tool with no annotations and no output schema, the essentials are present, including the return value and unit of offset. Missing are default values, valid snap values, and any behavioral caveats around the duplicated object, so it is adequate rather than 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 description coverage is 0%, so the description must compensate, and it does: id is the target, dx/dy are an offset expressed in woxels, and snap rounds those offsets to whole grid steps with a cross-reference to get_snap_settings. It omits the defaults (64/0 and empty-string snap) and does not say which snap values are accepted.

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 description opens with a specific verb and resource, 'Duplicate an object by id', and adds the offset semantics in 'woxels', which lets an agent distinguish it from purely creative siblings. It does not explicitly contrast itself with place_object or modify_object, so it stops short of full sibling differentiation.

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 statement of when to duplicate an object versus placing or copying it another way, and no preconditions such as needing the object to exist on the current level. The only pointer is 'see get_snap_settings', which is parameter guidance rather than a when-to-use rule.

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