Skip to main content
Glama

Rengi Forge

sprite_tools_slice

Cut a sprite sheet into frames by grid or by transparent gaps; frame PNGs plus a ZIP. Price: $0.05 USDC via x402, charged only on success. Part of Sprite tools: 2D sprite jobs for games, deterministic and cheap: slice a sheet into frames (grid or automatic by transparency), 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..

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colsNo
modeNoauto
rowsNo
trimNo
imageNoBase64 PNG.
marginNo
minAreaNoauto mode: ignore islands smaller than this many pixels
spacingNo
imageUrlNo
cellWidthNo
cellHeightNo
mergeDistanceNoauto mode: islands closer than this merge into one sprite

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It usefully adds pricing details ('$0.05 USDC via x402, charged only on success') and output artifacts ('frame PNGs plus a ZIP'). However, it omits important behavioral context such as idempotency, size limits, permissions, or failure modes for a 12-parameter image processing tool.

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 sentence is excellent—concise, front-loaded, and directly stating the tool's function and outputs. However, the second half of the description is a long, run-on marketing blurb about the 'Sprite tools' suite that repeats the slicing function and describes sibling tools. This padding reduces conciseness, and every sentence should earn its place.

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?

The description covers the core function, output format, and pricing, which is helpful. However, given the high parameter count (12), low schema coverage (25%), and the absence of both an output schema and annotations, the description leaves significant gaps regarding parameter semantics and behavioral expectations, making it only partially complete for an agent to invoke it correctly.

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 low at 25%, meaning the description must compensate for many undocumented parameters. It partially does so by explaining the two primary modes ('grid' vs 'automatic by transparency'), which clarifies the 'mode', 'minArea', and 'mergeDistance' parameters. However, the majority of the 12 parameters (e.g., cols, rows, cellWidth, cellHeight, margin, spacing, trim) receive no semantic explanation in either the schema or the description.

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 description clearly states a specific verb and resource: 'Cut a sprite sheet into frames by grid or by transparent gaps', and it specifies the output ('frame PNGs plus a ZIP'). It also implicitly differentiates from siblings by mentioning 'pack frames into an atlas' (sprite_tools_pack) and 'pixel art' (sprite_tools_pixelate), though it doesn't explicitly name them as alternatives.

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

Usage Guidelines3/5

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

The description implies usage contexts by contrasting 'grid' versus 'automatic by transparency' slicing, which helps an agent choose a mode. However, it provides no explicit guidance on when to use this tool versus the pack or pixelate siblings, nor does it state prerequisites or exclusions.

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