Skip to main content
Glama

Generate animation from the rig

spine_generate_animation
Destructive

Generate named Spine animation drafts such as breathe, blink, gaze, walk, and turn from a project and type, with dry-run suggestions by default and verified CLI import on apply.

Instructions

Generate a named animation draft. Fill the object matching type; missing controls return suggestions. Dry-run by default; apply uses verified CLI animation import and backup. Types include breathe, blink, gaze, lookAt, sway, settle, followThrough, walk, blocking, turn, squash, lipSync. Seconds/degrees/skeleton units. See docs/USAGE.md#generate-options.

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": {
      "project": "<project>",
      "type": "<type>"
    },
    "name": "spine_generate_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
gazeNo
nameNo
swayNo
turnNo
typeYes
walkNo
applyNo
blinkNo
editorNo
lookAtNo
settleNo
squashNo
breatheNo
lipSyncNo
projectYes.spine project
replaceNo
blockingNo
skeletonNo
stagingPathNo
allowUpgradeNoWrite an older-version project
followThroughNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.70.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false; the description usefully adds that the default is a dry run and that `apply` writes through a verified CLI import with a backup taken. That is genuine safety context beyond the annotations. It does not say what happens to existing animations on the target, which matters for a destructive tool with a `replace` parameter.

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?

Five short clauses, front-loaded with the action, then the safety default, then scope and units. The types enumeration partly duplicates the schema enum, but it earns its place as a quick selector. No filler prose.

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 21-parameter destructive generator with no output schema, the definition covers the write path and units but never says what the dry run returns (a preview? a JSON draft? suggestions only?) or where the draft lands. The docs pointer helps, but the description alone leaves the agent guessing about the result shape.

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?

With 21 parameters and only ~10% schema description coverage, the description has to carry a lot. It adds real meaning for units ('seconds/degrees/skeleton units'), the type-to-object mapping rule, suggestion behavior on missing controls, and `apply`. But most top-level parameters (project, skeleton, editor, stagingPath, replace, allowUpgrade) get no semantic treatment in the description.

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 opening sentence gives a specific verb and resource ('Generate a named animation draft') plus a non-obvious mechanic: fill the object matching `type`, and missing controls return suggestions. That is more than a restatement of the name. It stops short of naming a sibling, so an agent cannot tell from the description alone why it should pick this over spine_add_animation or spine_derive_animation.

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?

'Dry-run by default; apply uses verified CLI animation import and backup' gives real guidance on the safe-vs-write path, and the enumerated types scope the intent. However there is no when-to-use vs when-not guidance against the sibling tools (add/derive/edit animation), leaving the agent to infer the boundary from the type list.

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