critique_sprite
Scores a sprite frame for palette, contrast, stray pixels, jaggies, outlines, lighting, banding, and animation drift, then lists each issue with severity, coordinates, and the tool that fixes it.
Instructions
Score a frame like a pixel-art lead would, with exact problems and fixes.
Checks palette discipline (colour count for the size, near-duplicate colours, semi-transparent pixels), value contrast, saturation, stray pixels, floating specks, jaggies on the silhouette, L-shaped doubles on 1 px lines, outline coverage, lighting (flat fill, pillow shading, unclear light direction), banding, flat (non hue-shifted) ramps and pixels touching the canvas edge. With several frames, also flags colours that appear in only some frames (palette drift) and size jumps.
Every issue says how bad it is, where it is (coordinates) and which tool fixes it. Use it after each pass; view_quality(show_issues=True) shows the same problems marked on the sprite.
Args: filename: Aseprite file frame_index: Frame to critique (1-based) layer_name: Critique one layer or group alone ("" = everything visible). Critique a character on its own layer to get silhouette checks even when the scene has a background. check_animation: Also compare palettes and bounds across all frames
Returns: JSON: score (0-100), grade (A-E), stats, and issues sorted by severity.
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": {
"filename": "<filename>"
},
"name": "critique_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | No | ||
| frame_index | No | ||
| check_animation | No |