Skip to main content
Glama
LufiSprite Studio

LufiSprite Studio

by Lufi735

create_layer

Add a new 2D pixel or 3D layer to the active project, with optional name and type, so you can organize and build artwork.

Instructions

Create a new 2D pixel layer or 3D layer in the active project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoLayer name.
typeNoLayer type (default: "2d").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, yet it only says a layer is created. It does not say whether the new layer becomes the active/selected layer, whether a name is auto-generated when omitted, whether the call is undoable, or how it fails with no open project — all material for a mutation tool.

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?

A single front-loaded sentence with no filler; the resource and scope are stated immediately and nothing is redundant.

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?

With only two fully described parameters and no output schema, the schema burden is light, but the absence of annotations means the description should cover post-creation state and failure modes. It covers what is created and where, leaving the result of the call ambiguous.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters (name, type with its '2d' default) are already documented. The description restates the 2D/3D distinction but adds no naming conventions, length limits, or duplicate-name behavior 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?

The description gives a specific verb ('Create') and resource ('a new 2D pixel layer or 3D layer') and pins the scope to the active project, which distinguishes it from create_project and the add_3d_* tools. It stops short of naming a sibling or stating how it differs from update_layer.

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?

'in the active project' implies the prerequisite that a project must already be open, which is useful context. There is no explicit guidance on when to pick this over update_layer, add_3d_scene_item, or list_layers, and no statement of what to do if no project is active.

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