Skip to main content
Glama

convert

Convert an image from URL or base64 into pixel art by quantizing its colors to a chosen palette. Returns PNG and sprite data for immediate use.

Instructions

Convert an image (URL or base64) to pixel art by quantizing to a palette. Returns both the PNG and sprite data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoScale factor for output (default 4)
widthNoTarget width in pixels (default 16)
heightNoTarget height in pixels (default 16)
sourceYesImage URL (https://...) or base64 data URI
paletteNoPalette ID (default "pico8")
Behavior3/5

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

No annotations are provided, so the description must carry the transparency burden. It discloses the output (PNG and sprite data) and the conversion method (palette quantization), but does not mention potential failures, required permissions, or whether it modifies any state. This is acceptable for a read-oriented converter but leaves gaps.

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?

The description is two sentences, front-loaded with the primary action, and contains no fluff.

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?

The tool has five parameters and no output schema. The description mentions the return format but lacks details on error handling, parameter interdependencies, or what 'sprite data' means. It is sufficient for a simple conversion tool but not fully complete given the absence of annotations and output schema.

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?

The input schema has 100% description coverage, so the schema already documents all parameters. The description does not add additional semantic detail beyond what the schema provides, matching the baseline.

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?

The description clearly states the tool's function: converting an image (URL or base64) to pixel art via palette quantization. It uses specific verbs and resources, but does not explicitly differentiate from sibling tools like 'compose' or 'spritesheet'.

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?

The description provides clear context for when to use the tool: when you need to convert an image to pixel art. There are no exclusions or alternative tool mentions, but the implied use case is straightforward.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rxolve/pixscii'

If you have feedback or need assistance with the MCP directory API, please join our Discord server