Skip to main content
Glama

Export / convert animations

export_animation

Export one or many animations as GIF, MP4, WebM, APNG/WebP, HTML, Lottie, PNG/SVG frames or sequences, sprite sheets, or .anicraft. Inputs stay unchanged; outputs go beside each input or output_dir.

Instructions

Export one or many animations (.anicraft, Animate .fla / .xfl) as GIF, MP4, WebM, animated PNG / WebP, an HTML page, Lottie JSON, a frame as PNG / SVG, PNG or SVG sequences, sprite sheets, or convert them to .anicraft. Inputs are never changed; outputs go next to each input or into output_dir.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast frame to export.
fromNoFirst frame to export (0-based; default the first).
frameNopng / svg: the frame to export (default 0).
scaleNoSize of GIF / video / pictures relative to the stage (default 1).
formatsNo
input_dirNo
overwriteNo
output_dirNo
input_pathsNo

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 already declare non-destructive, non-read-only, non-idempotent, closed-world behavior; the description adds real value on top by promising inputs are never changed and stating where outputs land (next to each input or in output_dir). It omits overwrite semantics and what happens on partial failures across many inputs, so it stops short of full transparency.

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?

Two sentences, front-loaded with the exhaustive format enumeration that is the tool's defining trait, followed by the side-effect and destination rules. The format list is long but each item earns its place by mapping to the formats enum; little fat remains.

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 9-parameter, zero-required tool with no output schema and low schema coverage, the description covers formats, destination, and non-destructiveness but leaves frame selection, scaling, and overwrite behavior undocumented anywhere. Adequate to start a call, not adequate to call it precisely.

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 only 44%, so the description needs to compensate and it partly does: it enumerates the formats values and explains the output_dir vs default placement, and 'one or many animations' hints at input_paths/input_dir. It says nothing about from/to frame ranges, frame, scale, or overwrite, leaving the majority of the 9 parameters to the sparse 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?

States a specific verb (export/convert) and resource (animations) and enumerates every supported output format, including the .anicraft conversion case. It is clear what the tool produces, but it never distinguishes itself from the sibling render_frames, which plausibly overlaps for single-frame output.

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 by the format list (you export when you want a file), but there is no explicit when-to-use or when-not guidance and no named alternative such as render_frames or create_animation. The agent must infer the choice from the tool name alone.

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