Skip to main content
Glama

Gridize

Image to pixel art

image_to_pixel_art
Read-only

Convert an image into clean pixel art: detects the pixel grid (or uses pixel_size), snaps every cell to one color and limits the colors or maps them to a palette. Repairs AI-generated pixel art with blurry, uneven or off-grid pixels. Input is a PNG, JPEG or WebP up to 1024 px on the longer side, given as image_url or image_base64. Returns a PNG at native pixel size (one image pixel per art pixel); scale it with nearest-neighbor to display it larger. Free, no account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "image_to_pixel_art"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorsNoMaximum number of colors. Ignored when palette is set.
paletteNoPalette preset id from list_palettes.
image_urlNoPublic http(s) URL of the image.
pixel_sizeNoSource pixels per art pixel. Omit to detect the grid automatically.
image_base64NoThe image as base64 or a data URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only mark it read-only and open-world; the description adds substantial context beyond that. It discloses accepted input formats, a 1024 px size cap, the exact return artifact (PNG at native pixel size, one image pixel per art pixel), and the important downstream caveat to scale with nearest-neighbor. The free/no-account note also removes auth ambiguity.

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?

Front-loaded with the core action, then input constraints, then output guidance. Sentences are dense but every one carries operational information — no filler, no repetition of the tool title.

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

Completeness5/5

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

No output schema exists, yet the description fully covers the return value and how to use it. Combined with complete parameter documentation and stated input limits, an agent has everything needed to invoke this correctly on the first attempt.

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 coverage is 100%, so the baseline is 3, but the description adds semantic distinction between the two color controls: 'limits the colors or maps them to a palette,' which clarifies why a user would pick colors versus a palette preset. It also frames pixel_size as an override to automatic grid detection, reinforcing intent rather than restating the schema.

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?

States a specific verb and resource ('Convert an image into clean pixel art') and immediately elaborates the actual transformation: grid detection, per-cell color snapping, and color limiting or palette mapping. The clause about repairing AI-generated pixel art with blurry or off-grid pixels makes the tool's niche unmistakable and implicitly separates it from generate_pixel_art.

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?

Clear about when this applies: you have an existing image to convert, or AI-generated pixel art that needs repair. 'Free, no account' sets expectations. It does not explicitly name siblings like generate_pixel_art or list_palettes as alternatives, and the requirement to supply one of image_url/image_base64 is only implied rather than stated as a rule.

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.