Skip to main content
Glama
1425sd

spine-mcp

by 1425sd

spine_build_animation_from_json

Analyze a Spine JSON file, generate an animated version based on a user goal, import into .spine, optionally pack images, export, and open.

Instructions

One-step JSON animation pipeline: analyze source JSON, generate animated copy, import to .spine, optionally pack images, export, and open. Use for Spine JSON plus images. Not for .spine sources, mesh, IK, weights, or UI automation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userGoalYesNatural-language goal used to select basic animation timelines.
imagesDirNoOptional folder containing images referenced by the JSON. When provided, it is copied to outputDir/images and packed.
outputDirYesDirectory where animated JSON, .spine project, dist export, atlas/png pack, and manifest are written.
overwriteNoWhen false, stop if outputDir already exists. When true, overwrite generated files inside outputDir without deleting files outside it.
exportModeNoDeprecated alias for exportSettingsPath. Must be a Spine export settings .json file path, not "json" or "json+pack".
projectNameYesProject file base name to generate inside outputDir, without path separators.
knowledgeDirNoDirectory containing learned knowledge files. Defaults to G:\spine-mcp\knowledge. Missing knowledge falls back to built-in defaults.G:\spine-mcp\knowledge
animationNameNoOptional animation name. Defaults to "generated_loop".
characterTypeNoOptional character hint such as "cat", "mascot", "logo", or "generic".
openAfterBuildNoWhen true, open the generated .spine project after import/export without waiting for Spine to exit.
sourceJsonPathYesSource Spine JSON file to analyze and animate. It is preserved unchanged.
exportSettingsPathNoPath to a Spine export settings .json file used with -e. If omitted, tools that can build a .spine project skip the final export step.
Behavior4/5

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

No annotations are provided, so the description carries the burden. It outlines the pipeline steps and optional behaviors (packing, export, open). However, it does not fully disclose all side effects or what exactly happens to files (e.g., whether source is preserved, but that's in parameter description). Overall, it provides a good behavioral overview.

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?

The description is two sentences: first gives the pipeline steps, second gives usage/exclusions. No unnecessary words; every sentence adds unique value. Efficient and front-loaded.

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?

Given the tool has 12 parameters, no output schema, and no annotations, the description covers the main workflow and usage context. However, it does not mention what the tool returns (e.g., success message, paths) after execution, which could be a gap for an agent. It is otherwise complete for deciding to call the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so each parameter is well-described in the schema. The description adds value by integrating parameters into the workflow narrative (e.g., 'optionally pack images' relates to imagesDir). This helps the agent understand parameter roles without repeating schema details.

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?

The description clearly states the verb ('build animation'), resource ('from JSON'), and the one-step pipeline steps. It also explicitly excludes cases like .spine sources, mesh, IK, etc., distinguishing it from sibling tools.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Use for Spine JSON plus images' and 'Not for .spine sources, mesh, IK, weights, or UI automation.' This clearly tells the agent when to use it and when not to, without ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1425sd/spine-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server