Skip to main content
Glama

Check a palette

check_palette
Read-only

Checks a palette before you build with it: text contrast (WCAG AA), accents that hold up as links and buttons, no grey text on colour, the looks AI tools keep making, and for a redesign whether the brand's colours stay. Give each colour its role, the reference it comes from when it has one, and the brand's colours when the site exists. Free on every plan.

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": {
      "colors": "<colors>"
    },
    "name": "check_palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoFor a redesign: the brand's own colours, from its logo or live site
colorsYesThe colours you plan to use, each with its role

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's main additions are the enumerated audit scope and the "Free on every plan" cost signal, which are genuinely useful. However, with no output schema, the description never says what a check returns (pass/fail per rule, issue list, severity), which is the main behavioural unknown for a validator.

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?

Two compact sentences, purpose front-loaded before the input instructions, and the cost note is short enough to earn its slot. Some phrases ("the looks AI tools keep making", "accents that hold up") are evocative rather than precise, which costs a point of machine-readability.

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 two-parameter read-only tool this covers the input side well and explains the checks performed, but with no output schema the result format is left entirely unspecified. Adequate, but an agent still cannot predict what it will receive back.

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 baseline is 3. The instruction "Give each colour its role, the reference it comes from when it has one, and the brand's colours when the site exists" largely restates the schema's own role/from/brand descriptions, and never mentions the `on` or `share` fields that also exist.

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 ("Checks a palette") and then enumerates the exact audits performed: WCAG AA text contrast, accent usability for links/buttons, grey-on-colour, AI-default looks, and brand-colour retention on redesigns. An agent can immediately tell this is a validation tool and not one of the retrieval siblings like find_by_color or get_collection.

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

Usage Guidelines4/5

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

"before you build with it" gives a clear call condition, and "for a redesign" plus "when the site exists" give conditional inclusion rules. It does not state when NOT to call it or name a sibling alternative, so it stops short of a 5.

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