Skip to main content
Glama

Add animation to project

spine_add_animation

Adds one Spine 4.3 JSON animation to a .spine project with dry-run validation and an apply mode that imports, re-exports, verifies, and rolls back on mismatch.

Instructions

Adds one Spine 4.3 JSON animation to a .spine project. Dry-run validates against the skeleton; apply backs up, imports only this animation through the CLI, re-exports, verifies and rolls back on any mismatch. Existing names need replace; prefer a new name. Times in seconds; rotate uses value; bezier curve is absolute [cx1,cy1,cx2,cy2] per channel.

Input Schema

NameRequiredDescriptionDefault
nameYes
applyNo
editorNo
projectYes.spine project
replaceNo
skeletonNo
animationYes
stagingPathNo
allowUpgradeNoWrite an older-version project
loopAnimationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.70.1

TDQS

A4/5.0
Behavior5/5

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

Substantial value beyond the annotations: it discloses the validate-first workflow, automatic backup, re-export, post-import verification, and rollback on mismatch, plus the 4.3 version constraint. This is exactly the safety and side-effect context an agent needs for a mutating operation.

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?

Dense but front-loaded: the core action comes first, then workflow, then naming rule, then payload conventions. The final clause is telegraphic, but every sentence contributes information rather than filler.

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 10-parameter mutating tool with a nested object, no output schema, and sparse schema descriptions, key gaps remain: what dry-run returns, what the editor enum options mean, and what stagingPath/loopAnimations do. The workflow and payload conventions it does cover are strong, but the definition is not fully self-sufficient.

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 20% across 10 parameters, so the description carries a heavy burden. It supplies real semantics for the animation payload (times in seconds, rotate uses `value`, bezier curve is absolute per channel) and touches on `replace`, but leaves `editor` modes, `stagingPath`, `loopAnimations`, `skeleton`, and `allowUpgrade` unexplained.

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: adds one Spine 4.3 JSON animation to a .spine project, including the version constraint. It implicitly separates itself from bulk importers like spine_import_layers by saying 'imports only this animation', but never names a sibling alternative directly.

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?

It clearly delineates the dry-run path (validate against skeleton) from the apply path (back up, import, re-export, verify, roll back), which is the key usage decision. It also gives a naming rule: existing names require replace, and a new name is preferred. No explicit comparison to spine_transfer_animation or spine_derive_animation.

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