Skip to main content
Glama
Color Theory MCP Server

Color Theory MCP Server

generate-accessible-report

Audit a set of colors against a background for WCAG and APCA contrast, color vision deficiency simulation, and pairwise distinguishability to identify accessibility issues.

Instructions

Comprehensive accessibility audit: WCAG, APCA, color blindness simulation, and pairwise distinguishability

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>",
      "backgroundColor": "<backgroundColor>"
    },
    "name": "generate-accessible-report"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorsYesColors to audit
includeCVDNoInclude color vision deficiency simulation
includeAPCANoInclude APCA analysis
backgroundColorYesBackground color

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?

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the four analysis families performed, which is more than most, but it says nothing about permission or cost characteristics, what the report looks like, or whether pairwise distinguishability is evaluated on original or CVD-simulated colors.

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 dense sentence fragment with zero padding and the scope front-loaded. Slightly lowered because it reads as a label rather than a structured statement of action and result.

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?

With four parameters, no output schema, and multiple analysis components, the description should say at least what the audit returns and how the pairwise check applies across the color list. It names the components but leaves the return shape and cross-color semantics unexplained.

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 schema already documents colors, backgroundColor, includeCVD, and includeAPCA. The description only confirms which analyses exist, matching the two boolean toggles without adding format details such as accepted color string syntax. Baseline 3 applies.

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 names the resource and its scope concretely: an accessibility audit covering WCAG, APCA, color vision deficiency simulation, and pairwise distinguishability. That distinguishes it from single-check siblings such as validate-wcag-contrast or calculate-apca-contrast. It lacks an explicit verb, but the compound scope is 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 word 'Comprehensive' implies this is the one-shot audit rather than the individual calculators, but there is no explicit when-to-use statement, no exclusion, and no naming of an alternative. An agent must infer the routing from the sibling name list rather than the definition.

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