Skip to main content
Glama
lnksoul1

UI Design MCP Server

by lnksoul1

Set Theme Mode

design_set_theme
Idempotent

Set the design project's theme to light or dark, updating the client dashboard accordingly.

Instructions

Set the theme mode for the design project (light or dark). The client dashboard will update accordingly.

Args:

  • mode (string): Theme mode — 'light' or 'dark'

Example:

  • design_set_theme(mode="dark")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesTheme mode
Behavior4/5

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

Annotations already convey mutability and idempotency. The description adds the behavioral consequence that the client dashboard updates accordingly, providing useful context about the effect of the mutation.

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 concise and includes a helpful example. The Args section partially duplicates schema information, but the overall structure is clear and front-loaded.

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 single-parameter tool with no output schema and clear annotations, the description is complete. It states the action, effect, and provides an example, sufficient for an agent to invoke it correctly.

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?

The input schema already documents the 'mode' parameter with enum values and description. The description repeats these values and adds an example, but does not provide additional semantics beyond the schema.

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 the action (set), the resource (theme mode for the design project), and the allowed values (light/dark). It distinguishes from sibling tools by focusing specifically on the project-wide theme mode.

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 by stating the tool's purpose, but it does not explicitly mention when to prefer this over related tools like design_set_token or design_set_animation. No exclusions or alternatives are provided.

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