Skip to main content
Glama
PaletteCraft MCP

PaletteCraft MCP

Generate accessible semantic design tokens

generate_palette
Read-onlyIdempotent

Create deterministic light and dark design tokens from a seed color and mood, validate color pairs, and export them as JSON, CSS variables, Tailwind v4, or Flutter Dart.

Instructions

Generate deterministic light/dark tokens from a seed color and mood; validate documented color pairs and export JSON, CSS variables, Tailwind v4 or Flutter Dart.

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": {
      "seed": "<seed>"
    },
    "name": "generate_palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
moodNobalanced
seedYes
formatNojson

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, and the description's 'deterministic' is consistent with that. It adds useful context on what is produced (light/dark token sets in four export formats) but leaves out what 'documented color pairs' means, whether validation failures raise errors or appear in the result, and whether output is returned inline versus written to disk.

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 front-loaded sentence with a semicolon separating generation from output, with essentially no filler. It is dense but readable; the only weak phrase is the vague 'validate documented color pairs', which could be cut or made concrete.

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 no output schema, the description must convey return behavior, and listing the export formats partly does that. However, it never says what the validation results look like, whether validation is optional, or what happens on invalid input, which leaves real gaps for a code-generating tool.

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 0%, so the description carries the burden of explaining the three parameters. It does name seed color, mood, and the export format in prose, but adds no meaning beyond the schema: the mood enum values are unexplained, the 'all' format option is unaddressed, and the hex pattern is not restated.

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 opens with a specific verb and resource: 'Generate deterministic light/dark tokens from a seed color and mood', and names the export targets (JSON, CSS variables, Tailwind v4, Flutter Dart). That is enough to distinguish it from a pure contrast-checking tool, though it never names the sibling check_contrast directly, so differentiation is inferred 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no routing to the check_contrast sibling. The clause 'validate documented color pairs' actively blurs the boundary with a contrast-checking tool without clarifying which one an agent should pick for a validation-only task.

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

Deploy Server

Other Tools