Skip to main content
Glama
1999AZZAR
by 1999AZZAR

generate_rules

Generate design rules for a chosen style and palette, with optional hybrid and archetype. Precede with style evaluation to confirm the best fit.

Instructions

Generate design rules for a style + palette + optional archetype/hybrid. IMPORTANT: Run evaluate_style first to determine the best style for your product context. Only use this tool after evaluation confirms the style choice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleYesDesign system: ant|carbon|fluent|atlassian|apple-hig|polaris|material|minimal|glass|neumorphism|neo-brutalism|claymorphism|skeuomorphism|swiss|swiss-archival|m3-pastel|neo-m3
hybridNoOptional secondary system for hybrid mode
paletteYesColor palette: pastel|dark|vibrant|mono
tailwindNoInclude Tailwind CSS rules
archetypeNoOptional page archetype: dashboard|settings|table-detail|marketing-hero|editorial-landing
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states the tool generates design rules, but does not disclose behavioral traits such as whether it modifies data, has side effects, or any required permissions. The description is minimal beyond the core function.

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?

Two sentences with no wasted words. The purpose is front-loaded, and the usage note is concise. Every sentence earns its place.

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?

With no output schema, the description does not explain what the generated rules look like or their structure. It is adequate for basic usage given the prerequisite instruction, but leaves ambiguity about the return format.

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 coverage is 100% with descriptions for all 5 parameters. The description repeats the main parameters (style, palette, archetype, hybrid) but adds no additional meaning or syntax details beyond what is in the schema. Baseline score of 3 is appropriate.

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 tool generates design rules for a style, palette, and optional archetype/hybrid. It uses a specific verb and resource, but does not explicitly distinguish from sibling tools like generate_tailwind_config or generate_css_output.

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

Usage Guidelines4/5

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

Explicitly instructs to run evaluate_style first and only use after evaluation confirms the style choice, providing clear guidance on when to use the tool. Does not mention when not to use or list alternatives.

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