Skip to main content
Glama
lnksoul1

UI Design MCP Server

by lnksoul1

Generate Color Palette

ui_generate_color_palette
Read-onlyIdempotent

Generate harmonious color palettes from a base color using color theory, supporting multiple harmony schemes and semantic roles for UI design.

Instructions

Generate a cohesive, harmonious color palette from a base color using color theory principles.

Supports multiple harmony schemes: monochromatic, analogous, complementary, split_complementary, triadic, and tetradic. Also generates neutral grays and semantic color roles (primary, secondary, accent, background, etc.).

Args:

  • base_color (string, optional): Hex color code (e.g. "#3B82F6" or "3B82F6"). If omitted, a color is derived from the style preset.

  • scheme (string, optional): Harmony scheme — 'monochromatic', 'analogous', 'complementary', 'split_complementary', 'triadic', 'tetradic'. Default: 'monochromatic'

  • style (string, optional): Style preset — 'minimal', 'bold', 'playful', 'dark', 'editorial', 'tech'. Used when base_color is omitted. Default: 'minimal'

  • include_neutrals (boolean, optional): Include a 11-step neutral gray scale. Default: true

  • response_format (string, optional): 'markdown' or 'json'. Default: 'markdown'

Returns: A color palette with hex/rgb/hsl values, semantic role assignments, usage guidance, and CSS custom properties.

Examples:

  • Generate a triadic palette from blue: base_color="#3B82F6", scheme="triadic"

  • Generate a minimal palette without neutrals: style="minimal", include_neutrals=false

  • Generate a complementary palette for a dark theme: base_color="#10B981", scheme="complementary"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNoStyle preset (used when base_color is omitted)minimal
schemeNoColor harmony schememonochromatic
base_colorNoHex color code (e.g. '#3B82F6' or '3B82F6'). Omit to use style preset.
response_formatNoOutput formatmarkdown
include_neutralsNoInclude 11-step neutral gray scale
Behavior4/5

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

Annotations already report readOnlyHint=true and idempotentHint=true. The description adds valuable behavioral detail: it derives a color from the style preset when base_color is omitted, returns hex/rgb/hsl values with semantic role assignments and CSS custom properties, and defaults include_neutrals to true. No contradiction with annotations.

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?

The description is well-structured with a headline purpose, feature summary, Args, Returns, and Examples. It is somewhat redundant with the input schema, but each section serves a purpose and the examples are intentionally helpful, so it is not bloated.

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

Completeness5/5

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

For a tool with no output schema, the Returns section fully specifies what the agent will receive: hex/rgb/hsl values, semantic role assignments, usage guidance, and CSS custom properties. All five parameters are explained with defaults, and examples cover key usage patterns, making the description complete.

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?

Schema coverage is 100%, so the baseline is 3. The description supplements the schema by explaining the fallback behavior for base_color, the 11-step neutral scale, and giving three concrete usage examples, which adds real semantic value beyond the schema metadata.

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

Purpose5/5

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

The description opens with 'Generate a cohesive, harmonious color palette from a base color using color theory principles,' which clearly states the tool's verb and resource. It further specifies the supported harmony schemes and semantic color roles, distinguishing it from sibling tools like ui_generate_gradient and ui_check_color_contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description provides context by listing supported schemes and showing examples of when to omit base_color and rely on the style preset. However, it does not explicitly name alternatives or exclusion cases, so usage guidance is clear but not fully contrasted with sibling tools.

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/lnksoul1/prism-ui-design-mcp'

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