Skip to main content
Glama

add_frames

Destructive

Append empty or copied frames to an Aseprite animation and optionally set frame durations; use count=0 to adjust durations only.

Instructions

Append count frames, either empty or copied from frame copy_from.

Copying a frame and then editing the copy is the simplest way to animate. Optionally sets duration_ms on frames duration_from..duration_to (default: all frames); use count=0 to change durations only. Existing animation tags are left unchanged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "add_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
countNo
copy_fromNo
duration_msNo
duration_toNo
duration_fromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, non-idempotent, non-readonly, so the safety profile is known. The description adds meaningful behavior beyond that: frames are appended at the end, existing animation tags are left unchanged, and duration changes can be scoped to duration_from..duration_to with a documented default of all frames. It doesn't say what happens on out-of-range copy_from or whether anything is returned.

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?

Three short sentences, front-loaded with the core action, then the practical tip, then the optional duration range with its default. No boilerplate and nothing redundant.

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?

For a 6-parameter mutating tool with no output schema, this covers nearly everything an agent needs: what gets added, how to copy, how durations are scoped, and what is preserved. Missing pieces are return behavior and error/validation semantics for invalid indices or negative count.

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?

Schema description coverage is 0%, so the description must carry the load, and it does: it explains count (including the count=0 edge case), copy_from (source frame index), duration_ms, and the duration_from/duration_to range plus its default. Only `path` is left unexplained (which file format or whether it must already exist), keeping it short of a 5.

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?

States a specific verb and resource ('Append `count` frames') and immediately names the two modes (empty frames or copies of `copy_from`). The purpose is unambiguous, though it doesn't explicitly contrast itself with frame/tag-related siblings such as tag_animation or add_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?

Gives a concrete workflow tip ('copying a frame and then editing the copy is the simplest way to animate') and a special-case rule ('use count=0 to change durations only'), which is real usage guidance. However, it never states when an agent should choose a different tool or what preconditions must hold, so guidance is implied rather than routing.

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