Skip to main content
Glama

quantize_palette

Reduce image colors to a target palette size without changing resolution. Unifies colors and reduces file size; optional dithering improves appearance.

Instructions

해상도 유지한 채 색 수만 줄인다(팔레트 통일/용량 절감).

Args: src: 입력 이미지 경로. dst: 출력 경로. colors: 목표 색 수. dither: 디더링 여부.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dstYes
srcYes
colorsNo
ditherNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions that resolution is maintained and colors are reduced, which implies a non-destructive transformation. However, it does not disclose any side effects, required permissions, or handling of file formats, leaving gaps in behavioral transparency.

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 extremely concise: one Korean sentence stating the main purpose followed by bullet points for parameters. There is no wasted text, and the key information is front-loaded. Every sentence serves a purpose.

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?

Given 4 parameters, no output schema, and no annotations, the description should ideally cover return values and potential limitations. It explains parameters but does not state what the tool returns (e.g., success indicator or output path) or any constraints (e.g., image format support). This leaves some context gaps.

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

Parameters5/5

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

Although the schema has 0% description coverage, the tool description includes an 'Args' section that explains each parameter in natural language (e.g., 'input image path', 'target color count'). This adds significant meaning beyond the schema's type/title information, fully compensating for the lack of schema descriptions.

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 clearly states that the tool reduces the number of colors while preserving resolution, which is a specific verb+resource combination. It distinguishes from siblings like pixelize (resolution reduction) and build_palette (creating palettes), as it explicitly mentions 'resolution maintenance' and 'palette unification'.

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 use cases (reducing colors for palette unification or capacity saving) but does not explicitly guide when to use this tool over alternatives like extract_palette or snap_to_palette. It lacks explicit 'when-to-use' or 'when-not-to-use' guidance, which is important given the many sibling tools.

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/mindsurf0176-ui/pixelforge-mcp'

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