Skip to main content
Glama

krita_move_layer

DestructiveIdempotent

Reorder paint layers or groups within a Krita document. Specify a target sibling to insert above, changing stacking order without moving pixels. Prevents cycles and locked or animated subtrees.

Instructions

Reorder a paint layer or group within its document; rejects cycles and locked/animated subtrees. Omitted parent means document root; above_node_id selects a sibling to insert above. Changes stacking order without translating pixels. No guaranteed undo transaction. Reuse operation_id on retries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYes
document_idYes
instance_idYes
operation_idYes
above_node_idNo
parent_node_idNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

The description adds meaningful behavior beyond annotations: it rejects cycles and locked/animated subtrees, provides no guaranteed undo transaction, and instructs retry semantics via operation_id reuse. These are non-obvious, operationally important details that annotations alone do not convey.

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?

Four dense sentences, with the core action and constraints front-loaded. There is no filler, and every clause adds operational value.

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

Completeness4/5

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

The description is largely complete for a reorder tool: it covers constraints, safety, idempotency, and the two non-obvious optional parameters. The only notable gap is that behavior when above_node_id is omitted is not explicitly stated, which could leave the default placement ambiguous.

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?

With 0% schema description coverage, the description compensates by explaining parent_node_id default behavior ('Omitted parent means document root') and above_node_id's role ('selects a sibling to insert above'). It also ties operation_id to retry behavior. Generic identifiers like instance_id and document_id are not explained, but they are conventional enough to be inferable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Reorder a paint layer or group within its document.' It also distinguishes itself from pixel-moving tools by explicitly noting it changes stacking order without translating pixels, and mentions constraints like cycle rejection. This clearly differentiates it from siblings such as krita_transform_layer.

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

Usage Guidelines4/5

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

The description gives clear context: this tool is for stacking-order changes only, not pixel transforms. It does not explicitly name sibling alternatives or provide when-not-to-use rules, but the phrase 'without translating pixels' is a strong behavioral cue that routes an agent away from transform tools.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fanzhuyifan/krita6-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server