Skip to main content
Glama
chriz-3656

Pencil2D Model Context Protocol (MCP) Server

by chriz-3656

pencil2d_add_frames_batch

Insert multiple animation keyframes into a Pencil2D project in one batch from a list or sorted image directory, specifying start frame, layer, and step interval.

Instructions

Batch insert multiple animation keyframes into a project from a list or directory in a single operation.

Input Schema

NameRequiredDescriptionDefault
stepNoStep interval between frames (default 1).
framesNoList of keyframe objects to insert.
layer_nameNoTarget layer name when importing from directory.
start_frameNoStarting frame index when importing from directory (default 1).
project_pathYesPath to the .pclx file.
directory_pathNoOptional directory containing image frames to import in sorted order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls well short. 'In a single operation' hints at batching but doesn't state atomicity, whether existing keyframes at those indices are overwritten, whether the .pclx must already exist, or what happens on partial failure.

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?

A single front-loaded sentence with no filler, correctly leading with the batch verb and the two input sources. It is efficient, though its brevity is also the source of the behavioral gaps.

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 leaves the agent without mutation semantics (overwrite behavior, ordering, failure handling) or any indication of what is returned. Rich schema coverage offsets this only partially.

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 the nested frame object fields are documented in the schema; baseline 3 applies. The description adds only the high-level list-vs-directory framing and no syntax, format, or precedence details 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 ('batch insert'), resource ('multiple animation keyframes'), and dual source modes ('from a list or directory'), which distinguishes it from the singular sibling pencil2d_add_frame. It stops short of naming that sibling explicitly, but the 'batch' framing makes the distinction inferable.

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?

Usage is only implied by the word 'batch' versus the singular pencil2d_add_frame sibling; there is no explicit when-to-use, when-not-to-use, or named alternative. The two source modes (list vs directory) are mentioned but not explained as a decision the caller must make.

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