Skip to main content
Glama
RoleModel

Optics MCP Server

by RoleModel

Validate Color Pair

validate_color_pair

Check whether a background and foreground color token pair is intended for use together, ensuring valid combinations for design consistency.

Instructions

Check if the pair is meant to be used together

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backgroundTokenYesBackground color token name
foregroundTokenYesForeground color token name
Behavior2/5

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

No annotations are provided, and the description fails to disclose behavioral traits such as whether the tool performs a read-only check, has side effects, or requires permissions; the minimal wording adds no transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short but at the expense of clarity; it is under-specified and does not effectively communicate the tool's purpose, making it inefficient rather than concise.

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?

Given the simplicity of the tool (2 string params, no output schema), the description lacks essential details such as what the return value indicates (e.g., boolean, error) or any behavioral constraints, leaving the agent ill-informed.

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?

The input schema has 100% coverage with clear parameter descriptions ('Background color token name', 'Foreground color token name'), so the description adds no additional meaning beyond what the schema provides; baseline score applies.

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

Purpose2/5

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

The description 'Check if the pair is meant to be used together' is vague; it does not specify what constitutes 'meant to be used together' (e.g., contrast ratio, design guidelines) and does not differentiate from the sibling tool 'check_contrast'.

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?

No guidance is provided on when to use this tool versus alternatives like 'check_contrast'; the description leaves the agent without context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoleModel/optics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server