Skip to main content
Glama

Roll accessible palette

roll_palette
Read-only

Generate a 5-color palette that always contains a light/dark pair passing WCAG AA; optionally keep locked colors.

Input Schema

NameRequiredDescriptionDefault
seedNoSeed for repeatable results.
lockedNoColors to keep, in order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so safety is covered. The description does add one meaningful guarantee (a WCAG AA light/dark pair is always present), but it omits other behavioral facts an agent would want: what color notation is returned, whether locked colors are preserved verbatim and in position, and what happens when locked input is invalid.

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 with no filler; the core output guarantee is front-loaded and the optional locking behavior comes second.

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

Completeness4/5

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

For a two-optional-parameter, read-only generator with no output schema, this covers output size and the key quality guarantee. The remaining gap is the return format (color notation, ordering of locked vs. generated colors), which the agent cannot infer from any structured field.

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 coverage is 100%, so both parameters (seed, locked) are already documented, which sets the baseline at 3. The description reinforces that locking is optional and preserves order, but adds nothing about the seed parameter or the seed/locked interaction.

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 gives a specific verb (Generate) and resource (5-color palette) plus the defining constraint that it always contains a light/dark pair passing WCAG AA, which separates it from a generic harmony generator. It stops short of naming which sibling to prefer (e.g. generate_harmony), so an agent still has to infer the boundary.

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 is only implied: the accessibility guarantee and the 'optionally keep locked colors' clause hint at when this is the right choice. There is no explicit when-to-use/when-not statement and no reference to generate_harmony or check_contrast as alternatives.

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