Skip to main content
Glama

Screen and print color approximation

approx_print_colour
Read-only

Approximate between sRGB and CMYK. Pass value as hex (#1a2b3c), rgb(26,43,60) or cmyk(60,40,40,100). Returns the other model by a plain formula (K = 1 - max(R,G,B); C = (1 - R - K) / (1 - K); and R = 255 x (1 - C)(1 - K) back), total ink, and gamut cautions. This ships NO Pantone or other licensed color data: if you pass a spot name such as 'PANTONE 485 C', it tells you to look the value up in your licensed swatch book or Adobe's libraries and paste the RGB or CMYK here. APPROXIMATION ONLY: real conversion needs an ICC profile and the paper; the printed color will differ. Proof it.

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": {
      "value": "<value>"
    },
    "name": "approx_print_colour"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesHex, rgb() or cmyk()

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safe-read profile is covered. The description adds real context beyond that: the exact formulas used, the absence of licensed Pantone data, and the ICC/paper caveat. However, it does not cover the safety surface being annotated, and the formula detail is low-value to an agent deciding how to call it.

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 purpose and accepted formats, and the disclaimer about licensed data is well placed. The inline formula string (K = 1 - max(R,G,B); ...) is dense and adds little for an agent choosing or invoking the tool.

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

Completeness5/5

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

With a single required parameter, no output schema and read-only annotations, the description supplies everything needed: accepted input syntax, return contents, the spot-color fallback, and an accuracy warning. Nothing an agent needs to call it correctly is missing.

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% and the schema only says 'Hex, rgb() or cmyk()', so the description's concrete examples (#1a2b3c, rgb(26,43,60), cmyk(60,40,40,100)) add genuine formatting detail. It also documents the edge case of passing a spot name, which the schema does not express.

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 precise verb and resource ('Approximate between sRGB and CMYK'), names the accepted input formats, and enumerates what comes back (other model, total ink, gamut cautions). No sibling in the list performs bidirectional sRGB/CMYK conversion, so an agent can select it unambiguously from tools like check_colour_mode or chart_colour_check.

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 context is implied by the input formats and the spot-color aside, but there is no explicit 'use this when...' or named alternative among siblings. The one routing rule it does give — passing a spot name yields a lookup instruction rather than a value — is useful but narrow.

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