Skip to main content
Glama

Design Skills Library

Design direction and tokens from a brief

design_direction
Read-only

Start here for any page, app screen or UI. Give a one-line brief (product, audience, tone, optional brand color). Returns a complete, ready-to-paste design system: light and dark color tokens with every text/background pair contrast-checked to WCAG AA, CSS variables, a Google Fonts pairing, a type scale, radius and spacing, the layout and hero to build, and the generic patterns to avoid for this kind of product.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "product": "<product>"
    },
    "name": "design_direction"
  }
}

Input Schema

NameRequiredDescriptionDefault
toneNoOptional tone modifier.
densityNoOptional override.
productYesWhat you are designing, e.g. 'landing page for a free remote MCP server for developers'.
variantNoFont pairing option 1 or 2.
audienceNoWho it is for (optional).
brand_colorNoOptional existing brand color (hex, rgb(), oklch()). The palette is built around it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real behavioral context beyond that: the output is contrast-checked to WCAG AA specifically, palettes are built around a supplied brand_color, and a Google Fonts pairing is included. With no output schema, the description carries the burden of describing return values and does so item by item; it omits only minor traits such as determinism across calls.

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?

Two sentences, with the routing instruction front-loaded before any detail, so an agent knows what to do immediately. The second sentence is a long comma-delimited inventory; every item is informative, but it reads as a run-on list that could be grouped more scannably.

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 read-only generator with no output schema, the description fully covers both the input expectation and the shape of the returned artifact, including the quality guarantee (WCAG AA contrast) and the negative guidance (patterns to avoid). An agent has everything needed to decide to call it and to interpret the result.

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 coverage is 100%, so baseline is 3, but the description adds meaning on top: it identifies which inputs form the brief (product, audience, tone, brand color), marks audience and brand color as optional, and explains that the palette is constructed around brand_color — a behavioral effect the schema does not state. Density and variant are left entirely to the schema, which is acceptable given full coverage.

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 names a concrete verb-and-artifact pair: take a one-line brief and return a complete design system (color tokens, CSS variables, font pairing, type scale, radius/spacing, layout and hero guidance). It also enumerates the artifact contents precisely enough to distinguish this generator from siblings like check_contrast or lint_design, which validate rather than produce.

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?

"Start here for any page, app screen or UI" is an explicit routing instruction that positions the tool ahead of the sibling validators, and "Give a one-line brief" sets the input expectation. It stops short of saying when not to use it (e.g. when you only need a contrast check or a lint pass), so it is clear context without explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.