Skip to main content
Glama

Mix Two Colours (Pigment Simulation)

colour_mix
Read-only

Simulates subtractive colour mixing in CIE Lab space using two hex colours and an optional ratio. Returns the mixed hex value and its closest historical archive match with cultural meaning.

Instructions

Simulate perceptually modelled subtractive mixing of two colours in CIE Lab space (not RGB screen blending). Returns the resulting mixed hex value and its nearest archive match with cultural context. Uses CIE Lab subtractive model for perceptual accuracy. Example: mixing Prussian Blue and Yellow Ochre gives a muted green — the tool identifies which archive colour that green most closely matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hex_aYesFirst colour hex e.g. '#003366'
hex_bYesSecond colour hex e.g. '#C8A600'
ratioNoMix ratio 0.0-1.0 where 0.5 is equal parts (default 0.5)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
resultNo
errorNo
Behavior4/5

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

Annotations indicate readOnlyHint=true, but the description adds that the tool uses 'perceptually modelled subtractive mixing in CIE Lab space', which is not inferable from annotations alone. This provides valuable behavioral context beyond the safety hint.

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?

Three sentences that are directly informative, no fluff. Key information is front-loaded: purpose, model, output, and an illustrative example. Every sentence adds value.

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?

Given the output schema exists (handling return values) and the parameters are well-documented, the description covers the tool's purpose, model, example, and behavioral characteristics sufficiently for an agent to understand and invoke it correctly.

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?

Input schema already describes all three parameters with 100% coverage, including hex_a, hex_b, and ratio. The description adds an example (Prussian Blue and Yellow Ochre) but does not provide additional semantic nuance beyond the schema, so a baseline score of 3 is appropriate.

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 it simulates subtractive mixing of two colors in CIE Lab space, returning a mixed hex value and the nearest archive match with cultural context. It distinguishes itself from 'RGB screen blending', making its purpose specific and unambiguous.

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 explains what the tool does but does not explicitly state when to use it versus sibling tools like colour_combination or colour_harmonies. An agent lacks guidance on choosing this tool over others in the same domain.

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/DigbyO/colour-memory-api'

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