Skip to main content
Glama
chriz-3656

Pencil2D Model Context Protocol (MCP) Server

by chriz-3656

pencil2d_manage_palette

Add or update color swatches in a Pencil2D project palette to set RGB and alpha values, ensuring consistent colors across animation frames.

Instructions

Add or update a color swatch in the Pencil2D project palette.

Input Schema

NameRequiredDescriptionDefault
redYesRed channel (0-255).
blueYesBlue channel (0-255).
alphaNoAlpha channel (0-255, default 255).
greenYesGreen channel (0-255).
color_nameYesName of the color swatch.
project_pathYesPath to the .pclx file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/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 behavioral burden. It reveals only that the operation mutates a palette swatch, without explaining whether an existing color_name is overwritten, whether the .pclx file is modified in place, what permissions are needed, or what the return behavior is.

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 description is a single, front-loaded sentence with no wasted words. It states the action and target immediately and is appropriately sized for a simple palette mutation tool.

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?

For a six-parameter mutation tool with no annotations and no output schema, the description is too sparse. It omits the add-versus-update behavior, file mutation effects, and response/error behavior that an agent would need to invoke it safely and correctly.

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 all six parameters, including red/green/blue/alpha ranges and project_path, are already documented in the schema. The description adds no parameter meaning beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb pair, "Add or update," and a specific resource, "a color swatch in the Pencil2D project palette." It is clear what the tool does, but it does not distinguish its palette-management scope from siblings such as pencil2d_create or pencil2d_inspect beyond the word "palette."

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 usage by saying it adds or updates palette swatches, but it gives no explicit when-to-use guidance, no prerequisites, and no alternatives. An agent must infer that this is the palette-editing tool rather than one of the many project/frame/layer tools.

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