Skip to main content
Glama

asset_sprite_sheet

Combine PNG, WEBP, or JPG frames from a directory into a single sprite sheet with a JSON atlas compatible with TexturePacker, usable in Phaser, PixiJS, Unity, and more. Offline tool, no API key required.

Instructions

Pack a directory of PNG/WEBP/JPG frames into one sprite sheet + TexturePacker-compatible JSON atlas (works in Phaser, PixiJS, Three.js, Godot, Unity via a light importer). MCP equivalent of p2a sprite-sheet <dir>. Offline, no API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirYesDirectory containing frames. Sorted by natural filename order.
layoutNogrid
columnsNoColumns (grid only). Defaults to ceil(sqrt(n)).
paddingNo
outNoOutput PNG path. Defaults to ./sprites.png.
atlasNoOutput atlas JSON path. Defaults to the sheet path with .json extension.
Behavior3/5

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

Annotations are minimal (only openWorldHint: false). Description mentions 'Offline, no API key' but does not disclose behavior like file creation, write permissions, or side effects. It conveys output format but lacks full behavioral clarity expected for a tool with few annotations.

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?

Two sentences with no wasted words. First sentence explains core functionality and output, second adds context (CLI equivalent and offline). Information is front-loaded and efficient.

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?

Lacks details about the return value (what the tool returns after execution). While the output files are described, the immediate result to the agent is not specified. Given no output schema, this is a gap. Otherwise, the description covers most usage context.

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 high (67%), and the schema itself documents each parameter adequately. The description adds no extra meaning beyond stating input formats. Therefore, it meets baseline but does not improve upon schema.

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?

Description clearly states it packs a directory of frames into a sprite sheet and JSON atlas, specifies supported formats (PNG/WEBP/JPG), and mentions compatibility with multiple game engines. It distinguishes itself from sibling tools which are about brand assets and icons.

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?

Implicitly indicates usage for game development by listing compatible engines, but does not explicitly state when to use or when not to use this tool compared to alternatives. No sibling does sprite sheet packing, so it's unique, but explicit guidelines are missing.

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/MohamedAbdallah-14/prompt-to-asset'

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