Skip to main content
Glama

Create an animation

create_animation

Build 2D animations from layers of shapes and text, keyframed with eased motion, then export to GIF, MP4, WebM, HTML, Lottie or sprite sheets and receive a preview frame.

Instructions

Make a 2D animation with AniCraft (an Animate-class animation studio): a stage (size, frame rate, colour), layers of shapes (rectangles, ellipses, stars, polygons, lines, SVG paths, text) and keyframes on each layer that move, scale, rotate and fade it with eased tweens. Saves the editable .anicraft and GIF, MP4, WebM, animated PNG / WebP, an HTML page, Lottie JSON, frame pictures, sequences or sprite sheets, and returns a picture of a frame.

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": {
      "layers": "<layers>"
    },
    "name": "create_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast frame to export.
fpsNo
fromNoFirst frame to export (0-based; default the first).
nameNoFile name without extension.animation
frameNopng / svg: the frame to export (default 0).
scaleNoSize of GIF / video / pictures relative to the stage (default 1).
widthNo
framesNoLength in frames (default: up to the last key, at least 1 s).
heightNo
layersYesLayers from the bottom up (the first is the background).
formatsNo
overwriteNoReplace existing outputs.
backgroundNoStage colour "#rrggbb".#FFFFFF
output_dirNoAbsolute output folder (default: next to the input; required for new files).
output_pathNoAbsolute output file for the first format (its extension must match).
preview_frameNoFrame to return as a picture (default: the middle).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare the generic write profile (readOnly=false, destructive=false, openWorld=false, idempotent=false); the description adds the material behavior an agent actually needs — that this writes files to disk in a chosen set of 13 formats plus the editable .anicraft, and that it returns a rendered picture of one frame. That is genuine value beyond the annotations. It does not disclose failure modes (existing files without overwrite, missing output_dir) which the schema hints at but the prose does not reinforce.

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?

It is front-loaded and every clause carries information: studio, stage, layer contents, keyframe capabilities, outputs, return value. The cost is that all of this is delivered as one very long run-on sentence, and several enumerations (shape kinds, export formats) largely restate enum values already visible in the schema.

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 16-parameter, nested-array authoring tool with no output schema, the definition covers the creation model well and mentions the frame preview return. It leaves open what the tool actually returns for file-writing (paths? names?) and how output_dir/output_path/overwrite interact, which is the main thing an agent must get right to call it successfully.

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 coverage is 75%, so the schema already documents most parameters in detail; the baseline is 3. The description does add conceptual framing — layers ordered bottom-up with the first as background, keyframes interpolating move/scale/rotate/fade — which helps an agent reason about the nested structure. However, it doesn't clarify the export-window parameters (from/to vs frames vs preview_frame) that are the most confusable part of this 16-parameter 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 opens with a specific verb and resource ('Make a 2D animation with AniCraft') and then defines the composition model precisely: stage, layers of named shape kinds, and keyframes with eased tweens. An agent can immediately tell this is a from-scratch authoring tool. It never names or contrasts a sibling (edit_animation, export_animation, render_frames), so it stops short of a 5.

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 implied rather than stated: 'Make a 2D animation' suggests use for new creations while edit_animation would handle modifications, but the description never says when not to use it or when to prefer export_animation/render_frames for the same outputs. With eight siblings sharing overlapping output concerns, the absence of any routing sentence leaves real ambiguity.

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