Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

layer_update

Update a layer's name, visibility, background color, opacity, parallax, or order in a Construct 2 project layout by specifying the project, layout, and layer.

Instructions

Rename, show/hide, recolor, set parallax/opacity or reorder a layer (layer: name or index).

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": {
      "project": "<project>",
      "layout": "<layout>",
      "layer": "<layer>"
    },
    "name": "layer_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
indexNo
layerYes
layoutYes
opacityNo
projectYes
visibleNo
parallaxNo
editor_syncNo
transparentNo
background_colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states which layer attributes can be changed, but it does not explain side effects, permissions, reversibility, editor synchronization behavior, or what happens to unspecified fields.

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?

The definition is a single front-loaded sentence with no filler, and the parenthetical layer-identification hint is compact. Every part of the sentence contributes to identifying the editable attributes or the layer parameter.

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

Completeness2/5

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

This is a mutation tool with 11 parameters, zero schema descriptions, no annotations, and no output schema. A single sentence listing possible edits is not enough to fully specify how to call it correctly, especially for optional fields like editor_sync, transparent, and parallax.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 11 parameters, so the schema itself does not document parameter meanings. The description clarifies that the layer may be identified by name or index and loosely maps operations to fields like visible, opacity, parallax, and background color, but it leaves project, layout, editor_sync, transparent, and exact value formats unexplained.

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 clearly identifies the resource (a layer) and enumerates specific update operations such as rename, show/hide, recolor, parallax, opacity, and reorder. It does not explicitly differentiate this update operation from sibling tools such as layer_add or layer_delete, but the intended verb+resource is clear.

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?

The description implies that this tool is used to modify an existing layer, but it gives no explicit guidance on when to choose it over add, delete, or other update tools. It also omits any prerequisites or conditions for using the listed operations.

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