Skip to main content
Glama

Rd Palettize

rd_palettize

Reduce image color counts to a chosen or automatic palette. Apply dithering, denoise, and smoothing to get optimized pixel-art color output.

Instructions

Palettize: reduce images to a palette (file/URL constrained or automatic).

dither: None | Bayer 2x2 | Bayer 4x4 | Bayer 8x8; dither_strength, denoise, smoothness, intensity are 0-100 sliders mirroring the UI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorsNo
ditherNoNone
denoiseNo
intensityNo
smoothnessNo
image_pathsYes
palette_urlNo
palette_filesNo
dither_strengthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that dither options are None/Bayer 2x2/4x4/8x8 and that several parameters are 0-100 sliders mirroring the UI, which adds useful behavioral context. However, it doesn't disclose side effects (e.g., whether input files are modified or new files created), output format, or failure modes.

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?

The description is compact and front-loaded with the core action. The second sentence efficiently packs parameter semantics. It could be slightly more structured, but it earns its place with no filler.

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 9 parameters, no annotations, and an output schema, but the description leaves key gaps: it doesn't explain what the output is (despite output schema existing), how palette_url and palette_files interact, or whether the operation is destructive. For a tool with this many parameters and no annotations, more context is needed.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It does explain dither, dither_strength, denoise, smoothness, and intensity ranges, but it omits meaning for colors, image_paths, palette_url, and palette_files. The phrase 'file/URL constrained or automatic' hints at palette_url/palette_files but doesn't clarify their relationship or required format.

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 states a specific verb and resource: 'reduce images to a palette' with file/URL constrained or automatic palette options. This clearly distinguishes it from siblings like rd_quantize or rd_palette, though it doesn't explicitly name them. The title 'Rd Palettize' is expanded with a concrete action.

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

Usage Guidelines3/5

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

The description implies usage context by mentioning 'file/URL constrained or automatic' palette modes, which tells the agent when palette_url/palette_files would be relevant. However, it doesn't explicitly state when to prefer this over rd_quantize, rd_palette, or ase_quantize_to_palette, nor does it provide exclusions or alternatives.

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