Skip to main content
Glama

sprite_tools_animate

Play a sprite sheet as a GIF or animated WebP: choose the grid, frame order, speed, ping-pong and a crisp whole-number upscale. For checking a walk cycle with your eyes, and for store pages, devlogs and READMEs. Price: $0.02 USDC via x402, charged only on success. Part of Sprite tools: 2D sprite jobs for games: cut sprites out of their background (exact for one-color backgrounds, AI for busy ones), turn animation videos into aligned sprite sheets, make normal maps for 2D lights, build 47-tile autotile sets with Tiled, Godot and Unity rules, slice a sheet into frames, pack frames into an atlas with TexturePacker and Unity metadata, and turn upscaled or AI-generated pixel art into real pixel art on its true grid with a limited palette..

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": {
      "cols": "<cols>"
    },
    "name": "sprite_tools_animate"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
colsYesColumns of equal cells in the sheet.
loopNo
rowsNo
countNoFrames to use when the last row is not full.
imageNoBase64 PNG or WebP with transparency.
orderNoPlay these cell indexes in this order (0 is top left), for example [0,1,2,1].
scaleNoWhole-number upscale with hard pixels. Chosen to make the preview about 256 px when omitted.
formatNogif
imageUrlNo
pingPongNoPlay forward then backward.
backgroundNoTransparent when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose the most important unknown: pricing of $0.02 USDC via x402, charged only on success, so a failed call is free. It also implies the output is a rendered animation file in the chosen format. It omits input size limits, whether image or imageUrl is required, and what the call actually returns (URL vs. base64).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are tight and front-loaded, and the price sentence earns its place. The final sentence, however, is a roughly sixty-word run-on cataloging seven unrelated sibling tools — marketing copy that does not help an agent call this tool.

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 12-parameter, no-annotation, no-output-schema tool, the definition covers purpose, cost, and usage contexts well. It is still incomplete on the input contract (image vs. imageUrl) and on what the caller receives back, which matters for a job that produces a rendered file.

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 description coverage is 58%, and the schema already documents cols, count, order, scale, pingPong and background well. The description reinforces grid, order, speed, ping-pong and upscale in prose, but adds no format, syntax, or defaulting detail beyond the schema and says nothing about the image/imageUrl input or count.

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 states a specific verb and resource — play a sprite sheet as GIF or animated WebP — and names the exact controls (grid, frame order, speed, ping-pong, whole-number upscale). It never explicitly routes the agent away from the adjacent sprite_tools_slice or media_tools_video_to_gif tools, though the trailing catalog indirectly describes what each sibling does instead.

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?

"For checking a walk cycle with your eyes, and for store pages, devlogs and READMEs" gives concrete use contexts, which is more than most definitions offer. There are no exclusions or explicit prerequisites (e.g., when to prefer the raw frame slice or the video-to-GIF tool), so it stops short of full routing guidance.

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.

Resources