Skip to main content
Glama

Gridize

Animate sprite

animate_sprite

Animate a pixel art sprite from a motion prompt (walk, idle, attack, cast a spell…). Input is a PNG sprite at native pixel size, 16–256 px on the longer side, ideally on a transparent background (for example a generate_pixel_art result). Costs 30 credits up to 33 frames, 40 for longer clips. Rendering takes a few minutes: this returns an animation id at once; poll get_animation with it. Needs an API key.

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": {
      "prompt": "<prompt>"
    },
    "name": "animate_sprite"
  }
}

Input Schema

NameRequiredDescriptionDefault
framesNoClip length in frames.33
promptYesThe motion, e.g. "walks to the right in a loop" or "swings the sword, then returns to idle".
image_urlNoPublic http(s) URL of the PNG sprite.
image_base64NoThe PNG sprite as base64 or a data URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, but the description adds the operationally critical facts: it costs 30 credits up to 33 frames and 40 beyond, rendering takes minutes, the call is asynchronous and returns an animation id immediately, and an API key is required. These are exactly the traits an agent needs to plan around latency, spend, and auth.

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?

Four tight sentences, front-loaded with verb, resource, and input format, followed by cost, latency/async behavior, and auth. Every sentence carries information an agent needs; nothing restates the schema or the title.

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 explaining that the return value is an animation id to be polled via get_animation. Combined with cost, timing, input constraints, and auth, an agent has everything needed to call this correctly and manage the follow-up.

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 the baseline is 3, but the description adds real constraints beyond the schema: the input must be a PNG at native pixel size, 16–256 px on the longer side, ideally transparent, and the 33-frame credit threshold maps onto the frames enum's default. The image_url vs image_base64 choice is left to the schema, which already documents it.

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 states a specific verb and resource ('Animate a pixel art sprite from a motion prompt') and immediately clarifies the input is a PNG sprite, distinguishing it from the sibling generate_pixel_art that produces such a sprite. It also names the follow-up tool (get_animation), so an agent can place this tool in the pipeline without opening any schema.

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 gives clear context for use: motion prompt with examples (walk, idle, attack), expects a generate_pixel_art result, and tells the agent to poll get_animation afterwards. There is no explicit when-not-to-use or named alternative for other animation styles, which keeps it short of a 5.

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.