Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

update_theme

Destructive

Modify an existing custom color theme by renaming it, changing its primary color, or updating its color palette. Provide theme ID or partial name match.

Instructions

Use this when the user wants to modify an existing custom color theme — rename it, change its primary color, or update its color palette. Accepts either the theme ID or a partial name match. Ask the user to confirm changes before executing. Do NOT use this for creating a new theme or changing which theme is active (use set_active_theme).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the theme to update.
nameNoPartial name match (case-insensitive) used to find the theme when ID is unknown.
colorsNoNew color palette for the theme. Provide both light and dark arrays.
newNameNoNew display name for the theme.
primaryColorNoNew primary hex color for the theme (e.g. #1A73E8).
Behavior4/5

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

Annotations already mark destructiveHint=true and readOnlyHint=false. The description adds behavioral context by advising agent to confirm changes before executing, which enhances transparency beyond annotations.

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?

Three concise sentences: first gives purpose and actions, second provides usage context, third excludes sibling tools. No unnecessary words, front-loaded with key information.

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?

Given the moderate complexity (5 params, nested objects, no output schema), the description covers what the tool does, how to identify the theme, what can be updated, and usage restrictions. Missing return value description but acceptable without output schema.

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 description coverage is 100%, so baseline is 3. The description adds value by explaining that id and name are alternative identification methods (partial name match), which is not obvious from individual property descriptions.

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 clearly states 'modify an existing custom color theme' with specific actions (rename, change primary color, update palette). It also distinguishes from siblings by explicitly saying not to use for creating or switching themes.

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

Usage Guidelines5/5

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

Provides explicit when-to-use (modify existing theme) and when-not-to-use (creating new theme, changing active theme, which is handled by set_active_theme). Also instructs to ask user for confirmation, guiding safe invocation.

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/doitintl/doit-mcp-server'

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