Skip to main content
Glama

Krita Remove Layer

krita_remove_layer

Delete a specified layer from a Krita document, with a safeguard that refuses to remove the only top-level layer.

Instructions

Delete a layer (refuses to delete the only top-level layer).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses an important safeguard: it refuses to delete the only top-level layer. However, it does not mention whether deletion is undoable, whether the active layer changes, or any error behavior beyond that one refusal.

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?

One sentence with no filler. The core action is front-loaded, and the important edge-case guard is added as a brief parenthetical. Every word earns its place.

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 single-parameter destructive tool, the description is mostly adequate: it states the action and a key limitation, and an output schema exists so return values do not need explaining. The main gap is the undocumented parameter semantics, which prevents full completeness.

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?

The schema has zero description coverage, and the description does not explain that 'name' is the layer name or how it should be specified. The parameter semantics are left entirely to inference from the tool name, which is not enough for a low-coverage definition.

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?

The description clearly states the action ('Delete a layer') and the resource, and the verb 'delete' distinguishes it from siblings like krita_create_layer, krita_duplicate_layer, and krita_merge_layer_down. The parenthetical adds a precise edge-case behavior without obscuring the core purpose.

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 guidance on when to use this tool versus alternatives, nor any mention of prerequisites such as the layer needing to exist or how to obtain its name. The only contextual hint is the refusal behavior, but no explicit usage direction is provided.

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

Deploy Server

Other Tools