Skip to main content
Glama

get_pixel_grid_preview

Generates an enlarged PNG preview of Aseprite pixel art using nearest-neighbor scaling with a 1px grid, X/Y rulers, and optional pixel or region highlights for inspection.

Instructions

Generates an enlarged visual inspection PNG with nearest-neighbor scaling, 1px pixel grid separators, X/Y coordinate rulers, and optional highlights.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoPixel zoom scale (default 16x)
showGridNoDraw grid lines between pixel boundaries
frameIndexNoFrame number (1-indexed)
checkerboardNoShow checkerboard backdrop for transparent pixels
highlightPixelsNoList of specific pixel coordinates to highlight with cyan outline
highlightRegionNoHighlight bounding box area with gold outline
showCoordinatesNoDisplay coordinate numbers along top and left rulers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the rendering behavior (nearest-neighbor scaling, grid separators, rulers, optional highlights), but says nothing about whether the operation is read-only/non-destructive, whether it mutates sprite state, or how the PNG is delivered back to the caller.

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 front-loaded sentence that names the output first and then lists the visual features. No filler, no repetition, and the most important information (what is generated) leads.

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?

With seven (all-optional) parameters, nested highlight objects, and no output schema, the description should clarify the return mechanism for the generated image (inline image, file path, base64, etc.) and whether frames must be selected first. It explains the visual content but leaves these call-critical details unspecified.

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 100%, so every parameter (scale, showGrid, frameIndex, checkerboard, highlightPixels, highlightRegion, showCoordinates) is already documented in the schema. The description restates a few of these (grid separators, rulers, optional highlights) without adding format, constraints, or interaction details, so the baseline 3 applies.

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 ("Generates") and a precise resource ("enlarged visual inspection PNG") and enumerates the rendering features (nearest-neighbor scaling, 1px grid separators, X/Y rulers, highlights). An agent can tell what comes out, but the description never differentiates this from sibling preview/read tools like get_pixel_grid, get_canvas, inspect_sprite, or export_png.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative guidance is given. With four sibling tools that all produce visual output (get_canvas, get_pixel_grid, inspect_sprite, export_png), the absence of any routing condition is a real gap; the agent must infer usage purely from the name.

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