Skip to main content
Glama

Pixel Pattern craft pattern tools

Match a color to beads, floss or blocks

match_color
Read-onlyIdempotent

Nearest Perler, Hama and Artkal bead and DMC floss color (or Minecraft block, PICO-8, Game Boy) to a hex or RGB color, by CIEDE2000, with codes, names and close alternatives.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "color": "<color>"
    },
    "name": "match_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorYesHex like "#E63946" or "e63946", or RGB like "230, 57, 70" or "rgb(230,57,70)"
palettesNoPalettes to search (default perler, hama, artkal, dmc). Any of: perler, hama, artkal, dmc, minecraft, minecraftWool, pico8, gameboy
alternativesNoHow many next-closest colors to add per palette (0–5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description's job is to add the match semantics — and it does, naming the CIEDE2000 distance metric and that results include codes, names and close alternatives. It stops short of describing result ordering or how ties/out-of-gamut inputs are handled, but it adds genuine context beyond the annotations.

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?

A single front-loaded sentence with no filler, and the core action leads. The stacked parentheticals for palette names and alternate palettes make it slightly dense to parse but do not waste words.

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

Completeness4/5

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

For a 3-parameter lookup tool with rich annotations and no output schema, the description covers input formats, selectable palettes, the matching metric, and the shape of returned data. Minor gaps remain around result ordering and behavior for invalid or unsupported color strings.

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?

Schema description coverage is 100%, so all three parameters are already documented in the schema. The description reinforces the accepted color formats and the notion of close alternatives but adds no syntax, default, or constraint information beyond what the schema already provides; baseline 3 applies.

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: nearest color match from named bead/floss/block palettes, given a hex or RGB input. The parenthetical palette list (Perler, Hama, Artkal, DMC, Minecraft, PICO-8, Game Boy) and the mention of CIEDE2000 plus returned codes/names/alternatives make the operation unmistakable and clearly distinct from the pattern and pricing siblings.

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?

Usage is only implied: an agent can infer it applies when a single color needs mapping to a physical palette, but there is no explicit when-to-use, when-not-to-use, or routing to siblings such as list_options. No prerequisites or exclusions are stated.

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.

Resources