Skip to main content
Glama
1999AZZAR
by 1999AZZAR

generate_tokens

Generates a design token system (CSS custom properties) from a named theme or genre, including colors, fonts, spacing, and more. Optionally outputs Tailwind v4 @theme block.

Instructions

Generate a complete design token system (tokens.css) based on a named theme or genre. Returns CSS custom properties for colors (OKLCH), fonts, spacing, text sizes, easings, durations, and radii. Can also output a Tailwind v4 @theme block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genreNoGenre to pick a theme from (ignored if theme_name provided)
last_themeNoPrevious theme name for diversification
theme_nameNoNamed theme: Specimen|Atelier|Newsprint|Studio|Manifesto|Brutal|Terminal|Midnight|Bloom|Aurora|Cobalt|Coral|Hum|Garden|Sport|Carnival
last_accentNoPrevious accent hue for diversification
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool returns CSS custom properties (colors, fonts, etc.) and can output a Tailwind block. However, it does not clarify whether the output is a file or string, or if there are side effects like file creation. This is a moderate level of transparency.

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 two sentences and concise, front-loading the main purpose. However, it could be more structured (e.g., listing output categories more clearly) to improve readability, but it is not verbose.

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?

Given no annotations and no output schema, the description should provide more detail. It lists output categories but does not specify the return format (e.g., string, file path) or behavior regarding file creation. This leaves important gaps for agent understanding.

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 descriptions in the schema already explain parameters thoroughly. The tool description does not add significant new meaning beyond what is in the schema, such as relationship between genre and theme_name (already in schema). Therefore, the description adds minimal value over 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 it generates a complete design token system (tokens.css) based on a named theme or genre, listing specific CSS custom properties and an optional Tailwind output. This is specific and distinguishes it from sibling tools like palette_fetch or generate_tailwind_config.

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 does not provide explicit guidance on when to use this tool versus alternatives. It does not mention prerequisites, scenarios for choosing genre versus theme_name, or typical use cases. The context of many sibling tools makes this lack of differentiation a significant gap.

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/1999AZZAR/the-designer'

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