Skip to main content
Glama
HtetOoWaiYan

Colors MCP Server

by HtetOoWaiYan

Adjust Color

colors_adjust
Read-onlyIdempotent

Adjust a color's lightness, chroma, or hue by a relative or absolute amount, helping frontend developers fine-tune palettes and themes from AI agents.

Instructions

Adjust color properties (lightness, chroma, hue)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesProperty to adjust (lightness, chroma, hue)
colorYesColor string in any supported format (e.g., "#ff0000", "red", "rgb(255, 0, 0)", "oklch(0.6 0.2 29)")
amountYesAmount to adjust by (e.g., 0.1 for +10%, -0.05 for -5%)
relativeNoWhether to adjust relatively (%) or absolutely

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the agent knows this is a safe, non-mutating, repeatable operation. The description adds no behavioral details beyond the schema, such as how relative vs absolute adjustment behaves or whether the result is returned inline. With annotations covering safety, a 3 is appropriate.

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?

A single sentence of seven words that front-loads the action and resource with zero waste. It is appropriately sized for the tool's simplicity.

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?

For a simple, well-annotated adjustment tool with full schema coverage and no output schema, the description is minimally adequate. It is missing usage context relative to siblings and any note on return behavior, but the annotations and schema carry most of the burden.

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 the parameter details (mode enum, color format examples, amount semantics, relative flag default) are fully documented in the schema. The description adds no parameter meaning beyond what the schema provides, so baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (Adjust) and resource (color properties) and enumerates the three adjustable properties (lightness, chroma, hue). It is clear what the tool does, though it does not differentiate itself from siblings like colors_scale or colors_mix beyond naming the properties.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as colors_scale, colors_mix, or colors_batch_adjust. The description merely restates the purpose without any context about selection criteria or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.