Skip to main content
Glama

customize_widget_styling

Customize widget appearance: colors, avatar/logo, teaser bubble message, conversation-starter chips, custom CSS, and white-label branding.

Per-section colors (independent of primary_color/widget_style - these are the dashboard Customizer's advanced color pickers):
- auto_generate_color_scheme: pass a seed hex (e.g. "#c67139") to derive a full, harmonious 6-section scheme (header, botBubble, userBubble, inputBar, sendBtn, launcher) - same algorithm as the dashboard's own Auto-generate button.
- color_scheme: set/override individual sections directly, e.g. {"header": {"bg": "#111827", "text": "#ffffff"}} - only the sections/fields given are touched, everything else (existing or just auto-generated) is left as-is. Combine both in one call: auto-generate a base scheme, then override just the header.
- clear_color_scheme=true removes it entirely so primary_color/widget_style fully take over again.

If a primary_color/widget_style change doesn't seem to take effect, check the returned color_scheme field - it takes priority over them wherever it's set.

Input Schema

NameRequiredDescriptionDefault
bot_idYes
avatar_urlNo
custom_cssNo
avatar_iconNo
color_schemeNo
widget_styleNo
hide_brandingNo
primary_colorNo
teaser_messageNo
header_logo_urlNo
clear_color_schemeNo
conversation_startersNo
auto_generate_color_schemeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it does well for the most complex parameter: it explains that color_scheme merges section by section and field by field, that clear_color_scheme removes the override, and that color_scheme takes priority over primary_color/widget_style. It leaves gaps around update semantics for other fields, permission requirements, and side effects, so it is strong but not complete.

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 front-loaded with the tool's overall purpose and then uses bullets to organize the complex color-scheme semantics. It is relatively long, but most sentences earn their place by explaining non-obvious behavior; there is little wasted text.

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?

For a mutation tool with 13 parameters, no annotations, and no output schema, the description is complete for the color-scheme subsystem but not for the widget-styling tool overall. It does not explain what happens to unspecified fields, how null versus omitted values behave outside color_scheme, or the implications of custom_css and hide_branding.

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 must compensate, and it does add meaningful detail for color_scheme, auto_generate_color_scheme, clear_color_scheme, and the priority relationship with primary_color/widget_style. However, several of the 13 parameters, including avatar_url versus avatar_icon versus header_logo_url, widget_style, hide_branding, and custom_css, receive only broad category mentions rather than parameter-level semantics.

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 gives a specific verb, 'Customize,' and a clear resource, 'widget appearance,' then enumerates the visual aspects covered: colors, avatar/logo, teaser message, conversation starters, custom CSS, and white-label branding. It does not explicitly distinguish this tool from siblings such as analyze_widget_design or preview_widget_html, but the purpose is otherwise unambiguous.

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 usage through its detailed explanation of color_scheme behavior and the note about primary_color/widget_style priority, but it never states when to choose this tool over alternatives like update_chatbot or analyze_widget_design. There are no explicit exclusions or routing guidance for the overall tool.

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