Skip to main content
Glama

build_animation

Build a StykAnimate animation from a cast and keyframe spec, opening it in the headless editor for preview, export, or saving as an editable project.

Instructions

Build a StykAnimate animation from a spec (cast + keyframes) and open it in the headless editor, replacing the open one. Follow with preview_frames to check it, then export_video and save_project. See stykanimate_guide.

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": {
      "spec": "<spec>"
    },
    "name": "build_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
saveProjectNoAlso save the project to this .styk path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: the built animation replaces the currently open one in a headless editor, and saveProject can persist it to a path. It omits error/validation behavior for malformed specs and whether the previous animation is recoverable, which keeps it short of a 5.

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 action and side effect, then the follow-up sequence, then the reference. No sentence is redundant with another.

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 very complex nested-spec tool with no output schema, the description supplies the crucial missing piece—that the result must be checked via preview_frames rather than returned directly—and routes spec authoring questions to stykanimate_guide. It does not say what the call itself returns or how failures surface, which is the remaining gap.

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?

Top-level schema coverage is 50%: `spec` has no schema description, but its nested cast/keyframe properties are documented in extreme detail. The description only summarizes `spec` as 'cast + keyframes' and defers detail to stykanimate_guide; that orientation is useful but adds minimal meaning beyond the nested schema, so the baseline applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Build a StykAnimate animation from a spec (cast + keyframes)') and adds the side effect 'open it in the headless editor, replacing the open one', which distinguishes it from sibling tools like preview_frames and export_video that act on an already-open project.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes the workflow: follow with preview_frames to check, then export_video and save_project, and consult stykanimate_guide. That is clear ordering guidance, though it never states when not to use this tool or what an alternative would be if a project is already open.

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