Skip to main content
Glama
construct2-mcp

construct2-mcp

by wjrosa

layout_create

Create a new layout in a Construct 2 project, set its dimensions, attach or create an event sheet, and optionally copy layers and instances from another layout.

Instructions

Add a layout. event_sheet: "new" makes " sheet", a name links an existing sheet, null for none. copy_from duplicates another layout's layers and instances.

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>",
      "name": "<name>"
    },
    "name": "layout_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
widthNo
folderNo
heightNo
projectYes
copy_fromNo
editor_syncNo
event_sheetNonew

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that event_sheet='new' creates a named sheet, that a sheet name links an existing sheet, and that copy_from duplicates layers and instances, but it omits mutation details such as required permissions, persistence, overwrite behavior, and what happens with the other parameters.

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 description is short and front-loaded with the core action, then adds parameter notes without filler. The event_sheet syntax is terse but still compact; a small structural improvement would be listing parameter notes more explicitly.

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 an eight-parameter mutation tool with no annotations and no output schema, so the description should be more complete. It covers only two parameters and does not explain key creation behavior, making it insufficient for reliable invocation.

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?

With 0% schema description coverage and eight parameters, the description must compensate but only explains event_sheet and copy_from. The required project and name parameters, plus width, height, folder, and editor_sync, receive no clarification in either the schema or the description.

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 states a specific verb and resource: 'Add a layout.' This distinguishes creation from sibling tools like layout_get and layout_set by name, though it does not explicitly contrast behavior with those siblings.

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 explicit guidance on when to use layout_create versus layout_set or other layout tools, nor any prerequisites or exclusions. The create semantics are implied by the tool name and 'Add a layout,' but the description provides no usage routing.

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