Skip to main content
Glama

unzoom

Recover native pixel resolution from upscaled pixel art by detecting the underlying grid and downsampling onto it. Use before styling or correcting pixel art.

Instructions

Recover native-resolution pixel art from an upscaled image (e.g. a 32x32 sprite saved at 512x512). Detects the underlying pixel grid and downsamples back onto it, handling slightly uneven grids from lossy resizes. Input min 256x256, max area 2048x2048. The result is OPAQUE (transparency is composited onto white) — run remove_background afterwards if you need it cut out again. Use before passing user-supplied art as a style/reference image, or before correct_pixelart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYesUpscaled pixel art image (min 256x256, max area 2048x2048)
quantizeNoPalette handling: 0 auto-detects a palette (default), -1 keeps every color the downsample produces, 2-256 quantizes to exactly that many colors

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.0

TDQS

A4.4/5.0
Behavior4/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 does this well by revealing the crucial side effect that the result is opaque (transparency composited onto white) and suggesting remove_background for cutouts. It also discloses input constraints and tolerance for uneven grids, giving agents a realistic expectation of behavior.

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?

Four tightly written sentences cover purpose, an example, input constraints, a critical output side effect, and usage timing. Nothing is wasted and the most important behavioral trait (opaque output) is given prominence.

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

Completeness4/5

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

For a two-parameter tool with no annotations and no output schema, this description covers the essential call context: purpose, constraints, side effects, and follow-up actions. It does not explicitly describe the return format, but the phrase 'result is OPAQUE' and the guidance around it sufficiently imply an image output.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds meaningful context beyond the schema: it explains what kind of image qualifies ('32x32 sprite saved at 512x512'), why the grid detection matters, and the expected input size. It does not discuss quantize in prose, but the schema already documents that parameter thoroughly.

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?

The description states a specific verb ('recover', 'downsample') and resource ('native-resolution pixel art from an upscaled image'), with an illustrative example. It clearly distinguishes this tool from related siblings like correct_pixelart and image_to_pixelart by framing it as a pre-processing step.

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?

It explicitly says when to use the tool: 'Use before passing user-supplied art as a style/reference image, or before correct_pixelart.' It also directs to remove_background as a follow-up when transparency is needed. It does not enumerate when not to use it versus sibling tools, but the placement guidance is clear and actionable.

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

Deploy Server

Other Tools