Skip to main content
Glama

slice_grid

Cut a grid image or animation sprite sheet into equal cells and save each cell as a separate asset in frames/.

Instructions

Cut a grid image (from task grid/animation) into equal cells; each cell becomes its own asset in frames/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colsYes
rowsYes
assetYes
insetNoPixels shaved off each cell side (drops gutters/lines)
namesNoOne slug per cell, row by row; "" skips a cell. Default <asset>-r1c1 ...
previewNo
projectYes
overwriteNoReplace existing cells of the same name (after regenerating a sheet) instead of adding "-2" copies

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the write target (frames/) but says nothing about the mutation semantics — overwrite behavior, the automatic '-2' copy fallback, preview defaults, permission needs, or whether existing assets are affected.

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?

A single sentence with the action front-loaded and zero filler. Every clause carries information: the operation, the input kind, and the output location.

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

Completeness2/5

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

For an 8-parameter write tool with no annotations and no output schema, the description is far too thin. It omits overwrite/naming collision behavior, the effect of preview, the rows/cols limits, and what the caller gets back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 38% (inset, names, overwrite are documented; rows, cols, asset, project, preview are not). Since coverage is below 50%, the description is expected to compensate, yet it adds no parameter meaning at all — no bounds on rows/cols, no naming rules, no preview explanation.

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?

States a specific verb ('Cut') on a specific resource ('grid image'), and names the outcome ('each cell becomes its own asset in frames/'). The source qualifier '(from task grid/animation)' separates it from video_to_frames and build_spritesheet, but no sibling is named explicitly.

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?

Usage is only implied by the parenthetical source '(from task grid/animation)', which tells the agent what kind of asset is expected. There is no statement of when to prefer this over build_spritesheet (the inverse operation) or what must exist beforehand.

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