Skip to main content
Glama

bricks_update_color_palette

Update the Bricks Builder color palette by adding, modifying, or replacing colors. Optionally auto-generate dark mode variants using OKLCH color science.

Instructions

Update the Bricks Builder color palette. Can add, modify, or replace colors. Bricks 2.3: Supports auto-generating dark mode variants from light colors using OKLCH color science.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mergeNoIf true (default), merge with existing palette. If false, replace entirely.
colorsYesArray of color definitions. Each needs at minimum: {id, name, raw}
generate_dark_variantsNoBricks 2.3: Auto-generate dark mode variants for each color using OKLCH. Adds "-dark" suffixed colors with inverted lightness.
Behavior3/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It communicates the mutating nature (add, modify, replace) and the optional dark variant generation feature. However, it does not describe side effects, reversibility, or authorization requirements, leaving gaps.

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

Conciseness5/5

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

The description is exceptionally concise: two sentences delivering the core purpose and a key version-specific capability. No redundant information, and the structure front-loads the primary action.

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?

While the description covers the basic purpose and a notable feature, it lacks context about prerequisites (e.g., needing an active site via bricks_switch_site), output format, or confirmation of changes. Given the three-parameter complexity and absence of an output schema, the description is adequate but not complete.

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 baseline is 3. The description adds no additional parameter information beyond what is in the input schema; it only mentions the existence of the merge and generate_dark_variants features without enriching the parameter semantics.

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 explicitly states the tool updates the Bricks Builder color palette, with capabilities to add, modify, or replace colors. It distinguishes itself from the sibling tool bricks_get_color_palette (read-only) and other update tools like bricks_update_theme_styles by clearly specifying the resource (color palette) and actions.

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 description implies use when you want to change the palette but does not explicitly state when to use versus alternatives or when not to use. The mention of 'Bricks 2.3' for dark variants provides a version prerequisite, but no direct comparison to other tools (e.g., bricks_update_global_css) is given.

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/developer2013/bricks-mcp-open'

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