Skip to main content
Glama

UiChemy AI Website Creator

uichemy_set_palette

Destructive

Set the project's colour palette, and the controls that sit beside it in the editor. Hex values only. The colour roles (uichemy_get_colors) are derived in the same write, so role-based tools work straight after it with no canvas open. saturation is the palette's tint slider (0-100): it tints the title and description inks with the main colour, exactly as the slider does; titleColor / descriptionColor pin those two inks instead. On an IMPORTED project this also repaints the site's own stylesheet, because its colours are bound to these slots — call uichemy_get_project first and tell the user before doing it.

Input Schema

NameRequiredDescriptionDefault
bgNo
accentNo
extra1No
extra2No
primaryNo
projectIdYes
saturationNoThe tint slider, 0-100.
titleColorNo#hex — pins the title ink.
descriptionColorNo#hex — pins the description ink.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by naming the blast radius: on imported projects it repaints the site's own stylesheet because colours are bound to these slots. It also discloses a useful side effect (colour roles are derived in the same write, so role-based tools work with no canvas open). This is exactly the extra context annotations cannot carry.

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?

Front-loads the core action, then the format constraint, then side effects, then the imported-project caveat in a sensible order. It is dense but nearly every clause carries required information; the middle sentence about saturation is long yet earns its length by disambiguating three parameters at once.

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

Completeness4/5

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

With nine parameters, no output schema, and sparse schema descriptions, the description supplies the missing behavioural and side-effect context an agent needs before a destructive write. Only the precise meaning of the extra colour slots is left to name inference, which is a minor residual gap.

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 only 33%, so the description has to compensate, and it explains the genuinely ambiguous parameters: saturation as the tint slider with its effect on title/description inks, and titleColor/descriptionColor as pins for those inks. The remaining slots (bg, accent, primary, extra1/extra2) are self-describing by name, and 'Hex values only' supplies the format constraint the schema omits.

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?

States a specific verb and resource ('Set the project's colour palette') plus the editor controls it governs, so an agent reading only the name and description can tell it apart from adjacent writers like set_icon_color or set_text_style. It does not explicitly differentiate itself from the sibling uichemy_set_theme, which is the most plausible confusable tool, keeping it short of a 5.

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?

Gives a concrete conditional workflow: on an imported project, call uichemy_get_project first and warn the user before invoking. It also notes the follow-on relationship with uichemy_get_colors. It stops short of saying when to choose this over set_theme, so it is clear context rather than full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources