Skip to main content
Glama

Convert image to pixel art

convertToPixelArt

Convert an image to pixel art: any art, broken AI pixel art or pixel art comes back as pixel art at about the input's own size. Free (no credits) and synchronous: the call answers with the result directly, with no job to poll. pixel_size is the size of one pixel-art pixel, in the input's pixels: larger values give coarser art. Omit it to use the image's own pixel size, which only works on an image that already has a pixel grid - when none can be detected the call fails with HTTP 400 asking for a pixel_size. On an input already on a pixel grid, a pixel_size you pass snaps to whole steps of that grid. palette_size (2-256) caps the number of colours; omit it to keep the colours as they are. The response has the image url, the pixel_size used (fractional when it was detected) and the art's size in pixel-art pixels as columns and rows; resize the image to columns x rows with nearest-neighbour to get one image pixel per art pixel. The source image (URL or base64) is uploaded and validated, and one larger than 15MB is rejected with HTTP 400. The source is left as it is and the result is a new image. Limited to 20 calls per 5 minutes, 120 an hour and 1000 a day. Pass an optional request_id to tag the result for later retrieval via listGenerations (type image).

Input Schema

NameRequiredDescriptionDefault
requestBodyYesPayload for converting an image to pixel art

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses that the call is free, synchronous with no job to poll, rate-limited (20/5min, 120/hr, 1000/day), capped at 15MB input with HTTP 400 rejection, and that the source image is left untouched while a new image is produced. These are exactly the operational facts annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and cost model are front-loaded, and nearly every sentence carries new information (defaults, failure modes, limits, return shape). It is a single dense run-on paragraph, though, and a few clauses such as the redundant restatement of the input range could be trimmed for scanability.

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?

There is no output schema, and the description fully compensates by enumerating the response fields and how to consume them, plus rate limits, size limits, error conditions and request tagging. Nothing an agent needs to invoke this correctly is missing.

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 already 100%, so the baseline is 3, but the description adds real semantics: `pixel_size` is expressed in input pixels and snaps to whole grid steps, and the no-detect case fails with HTTP 400. It also describes the response fields (`url`, `pixel_size`, `columns`, `rows`) and the nearest-neighbour resize instruction, which the schema does not cover.

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 opens with a specific verb+resource ('Convert an image to pixel art') and immediately clarifies the accepted input range ('any art, broken AI pixel art or pixel art'), which separates it from generic siblings like editImage or upscaleImage. An agent can tell what this tool does and what it is not without opening the schema.

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 gives concrete conditional guidance: omit `pixel_size` only when the image already has a detectable grid (otherwise HTTP 400), omit `palette_size` to preserve colours, and use `request_id` for later retrieval via listGenerations. It never names a competing sibling tool (editImage, upscaleImage) as an alternative, so it stops short of a 5.

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.