Skip to main content
Glama

Create reusable animation from a prompt

createAnimation

Generate a reusable animation from a text prompt (text-to-motion): the skeletal motion of a humanoid character, such as "overhead sword slash" or "zombie walk", made for no model in particular. It is saved to the account and can then be played by any rigged humanoid 3D model or transferred onto any sprite. No model or sprite is animated by this call; to animate one rigged model straight from a prompt, use animate3DModel. The job result is an animations array, one animation per num_variants (each with its own seed), each with an id, a name, the caption the motion model was given, its duration, whether it loops, and a preview_url: an mp4 of the move on a mannequin, seen from the low camera facing SW. There is no GLB yet: use an animation's id as animation_id wherever an animation preset goes - animate3DModelPreset (retarget it onto a rigged GLB, which gives the GLB), createDirectionalSprites and previewDirectionalSprites (render it on a 3D model from up to 8 directions) and transferMotion (onto a 2D sprite, seen from a perspective and a direction). Animations stay on the account and do not expire: listMyAnimations finds them again, so generate a move once and reuse it on every character. Choosing a tool: look through listAnimationPresets first, since a preset is curated and ready to use; generate an animation when no preset covers the move. By default the prompt is rewritten for the motion model and every option left out (duration, loop, the idle ends, the hands, keep_facing) is inferred from it, so a short description in any language is enough; set augment_prompt to false only to write the motion model's prompt yourself, in the format that field gives. Credits are held for every variant asked when the job is accepted; the final charge is for the animations that came back, and everything is refunded if the job fails or is cancelled. Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).

Credits: This endpoint consumes 0.5 credits per animation (one per num_variants).

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": {
      "requestBody": "<requestBody>"
    },
    "name": "createAnimation"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestBodyYesPayload for generating animations from a text prompt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the async job contract ({id, status} plus polling getApiJob), the credit hold/refund behavior, the fact that there is no GLB in the result, and that animations persist on the account indefinitely. The result array's fields and the mp4 preview on a mannequin from a low SW camera are also described.

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?

Front-loaded with the core definition and the sibling routing, and nearly every sentence carries information. It is on the long side, with some repetition (options inferred from the prompt restated, credits mentioned both mid-text and in a trailing Credits line) that could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by spelling out the animations array fields, the preview_url contents, and the absence of a GLB. For a nested-body async generation tool, an agent has everything needed to call it, poll it, and consume the result.

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 baseline is 3, but the description adds cross-cutting meaning: every omitted option (duration, loop, idles, hands, keep_facing) is inferred from the prompt by default, augment_prompt=false requires a duration and a specific sentence format, and each variant gets its own seed and its own charge. It does not re-explain the enum values of left_hand/right_hand, which the schema already covers.

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+resource (generate a reusable animation from a text prompt = text-to-motion) and pins the scope: skeletal motion for no particular model, saved to the account. It explicitly distinguishes itself from animate3DModel, which animates a rigged model directly.

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?

Gives an explicit decision rule: check listAnimationPresets first because presets are curated, and generate only when no preset covers the move. It also routes the animate-a-model case to animate3DModel and names the downstream consumers (animate3DModelPreset, createDirectionalSprites, transferMotion).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.