Skip to main content
Glama
HtetOoWaiYan

Colors MCP Server

by HtetOoWaiYan

Batch Check Contrast

colors_batch_contrast
Read-onlyIdempotent

Check WCAG contrast ratios for multiple color pairs or combinations at once to ensure accessible color choices.

Instructions

Check WCAG contrast ratio for multiple color pairs or combinations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is fully covered. The description adds useful context that results are judged against the WCAG standard, but says nothing about what is returned (ratios, pass/fail verdicts) or any size limits on the batch.

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?

A single efficient sentence with no filler, and the key qualifier ('multiple') lands up front. It is well sized for what it communicates, though that brevity comes at the cost of the input details an agent would need.

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

Completeness2/5

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

For a tool whose entire premise is accepting many color pairs, the empty schema plus the silence on how pairs are supplied (array? delimited string? defaults?) leaves a critical practical gap. With no output schema either, the description should explain both input shape and result format, and it does neither.

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?

There are zero parameters, so the baseline is 4 and there is no schema surface for the description to improve on. However, the description asserts the tool accepts 'multiple color pairs or combinations' while the input schema is an empty object, leaving the actual input mechanism wholly unexplained.

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 ('Check'), a specific standard and metric ('WCAG contrast ratio'), and a scope ('multiple color pairs or combinations') that implicitly separates it from the singular colors_contrast sibling. It never names that sibling explicitly, so the differentiation is inferred from 'multiple' rather than stated.

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 word 'multiple' implies this is the batch variant to use instead of colors_contrast for more than one pair, but there is no explicit when-to-use, when-not-to-use, or named alternative. Usage must be inferred from the batch/plural framing.

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