Skip to main content
Glama
EzequielPereirae

shadcn-ui-mcp-server

apply_theme

Destructive

Search and apply a TweakCN theme preset to your project. Preview the setup with a dry-run or write files directly, with Tailwind v3/v4 support.

Instructions

Apply a TweakCN theme preset to the project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch query for theme (e.g., 'cyberpunk', 'modern')
dryRunNoIf true, returns preview instead of writing files
presetIdNoSpecific preset ID if known
tailwindVersionNoTailwind CSS version (default: '4')
Behavior2/5

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

Annotations mark this as destructive, but the description adds no additional behavioral context. It doesn't indicate what files are modified, whether the operation is reversible, or what the impact of applying a theme is. Given the destructive hint, the description could have explained the scope of modifications but remains silent, leaving the agent under-informed.

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 a single, clear sentence with no fluff. It effectively communicates the core purpose without unnecessary words, making it easy to parse quickly. It earns its place by stating the action and target, though it is minimal.

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

Completeness2/5

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

For a destructive action with multiple optional parameters and no output schema, the description is underspecified. It fails to explain what 'apply' does to the project (e.g., which files change, whether dryRun prevents all changes), what the preview in dryRun looks like, or how presetId relates to query. The lack of detail makes it inadequate for safe and effective use.

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 all parameters have descriptions in the schema. The tool description adds no extra parameter context. Since the schema fully documents parameters (query, dryRun, presetId, tailwindVersion), the baseline of 3 applies; the description does not hinder or enhance understanding beyond the schema.

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 clearly states the verb ('Apply') and resource ('TweakCN theme preset') and specifies the target ('to the project'). It distinguishes from sibling tools like get_theme or list_themes, which are read-only, but does not detail what 'apply' entails. It avoids tautology and is clear but could be more specific about the nature of the application.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, nor any prerequisites or side effects. It simply states the action without context. There's no mention of when to choose this over get_theme or list_themes, nor any caution about destructive consequences.

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/EzequielPereirae/shadcn-ui-mcp-server'

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