Skip to main content
Glama

copy_environment_with_changes

Destructive

Copy a visible environment, preserving its movement, effects, boundaries and colors, then apply reviewed part replacements, color changes or new parts composed from existing pieces. The source is never modified. All selected parts, styles and pieces must match templateId; pieces must also match the replacement part class.

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": {
      "name": "<name>",
      "baseId": "<baseId>",
      "templateId": "<templateId>"
    },
    "name": "copy_environment_with_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
baseIdYes
colorsNo
partIdsNoComplete selected parts. Omit to preserve all source parts.
templateIdYes
partCompositionsNoOptional new parts assembled from existing pieces in the same template and part class. Shared source parts/styles/pieces are never edited.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, but the description adds value beyond them: it states the source is never modified, enumerates exactly which source attributes are carried over, and adds validation rules ('must match templateId', pieces must match the replacement part class). The 'source is never modified' claim softens the destructive annotation and would ideally be reconciled with it, but it is a scoping statement about the copy rather than a contradiction.

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?

Three tight sentences, front-loaded with the copy operation before the modification options and then the invariants. No filler or restatement of the tool name. Dense but readable; a short list separating the three modification modes would have improved scannability slightly.

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 6-parameter mutation tool with a nested object and no output schema, the description covers the modification semantics and key constraints but never says what is returned (presumably the new environment or its id), which an agent needs to chain follow-up calls. Required parameters name and baseId are also unaddressed. Otherwise adequate for the tool's complexity.

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 only 33% across 6 parameters (one nested object), so the description must compensate. It maps meaning onto the main optional parameters: part replacements (partCompositions), color changes (colors), and new parts composed from existing pieces, and it states the cross-field constraint that all selected parts, styles and pieces must match templateId. It does not explain name or baseId (the source environment), which is the main remaining gap.

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 uses a specific verb and resource ('Copy a visible environment') and spells out the scope of the copy: preservation of movement, effects, boundaries and colors plus optional part replacements, color changes, and newly composed parts. It is clearly distinguishable from a plain create/get environment tool. It does not name the closest sibling (copy_sprite_with_changes) or any alternative, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is the tool for cloning an environment while changing parts or colors, versus building one from scratch. There is no explicit when-to-use/when-not-to-use statement and no pointer to alternatives such as create_environment or get_environment. The 'reviewed part replacements' phrasing hints at a prior review workflow but does not define it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources