Skip to main content
Glama

unmake file tools

Find the nearest RAL colour (photo or colour code)

ral_match
Read-onlyIdempotent

Find the nearest RAL colour (photo or colour code). Returns the five nearest RAL Classic colours (and the nearest RAL Design colour) with CIEDE2000 distances for a typed colour (#hex, r,g,b or lab) or for a point in a photo, corrected for the light when a white paper or card in the photo is given. Approximate screen values: check a physical fan deck. Use when: An agent has a colour code or a photo of a painted surface and needs the RAL number. Not for: Exact paint matching (screen values differ from fan decks), metallic and effect finishes, NCS or Pantone. File types: jpg, jpeg, png, webp, txt. Max 20 MB.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ral_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the read-only/idempotent annotations, it discloses the return cardinality and distance metric, that results are corrected for lighting when a white paper/card reference is supplied, and the important caveat that screen values are approximate versus a physical fan deck. It also states accepted file types and the 20 MB cap. The only shortfall is that it does not say how the colour value, photo point, or white reference are actually supplied to the tool.

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?

Front-loaded with the verb, the resource, and the return shape, followed by structured 'Use when' / 'Not for' / 'File types' labels that scan well. The second sentence is long and packs several unrelated facts (distances, three input modes, photo correction) but none of it is 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?

With no output schema, the description does its job of describing return values, and it covers format constraints. The gap is structural: it describes colour values, photo points, and white-reference inputs that have no corresponding named properties, so an agent cannot reliably construct a call from the definition plus schema alone.

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 100% but the schema's own text is generic (an undifferentiated 'options' object), so the description genuinely adds meaning: it enumerates the accepted colour input forms (#hex, r,g,b, lab) and the photo-based inputs including the white-paper correction reference. However, it never maps those concepts onto the declared properties, so an agent must guess that they live inside 'options'.

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 and resource ('Find the nearest RAL colour') and immediately quantifies the output ('five nearest RAL Classic colours ... and the nearest RAL Design colour with CIEDE2000 distances'). This is clearly distinguishable from every sibling tool in the list, none of which involve colour matching.

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

Usage Guidelines5/5

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

It provides an explicit 'Use when:' condition (agent has a colour code or a photo of a painted surface and needs the RAL number) and an explicit 'Not for:' exclusion list (exact paint matching, metallic/effect finishes, NCS or Pantone). Alternative systems are named so the agent knows when to look elsewhere.

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