Skip to main content
Glama

get_brand_design

Retrieves design specifications, color tokens, typography scales, shadows, and layout rules for a brand, so UI components follow authentic brand aesthetics.

Instructions

Retrieves design specifications, color tokens, typography scales, elevation shadows, and layout rules for a specific brand from the local design library. Safe, read-only operation: performs local disk read with no side effects, mutations, network requests, or authentication requirements. If an unknown brand slug is requested, falls back to substring matching or suggests running list_brand_designs.

When to use: Call whenever styling UI components, design tokens, or pages to follow authentic brand aesthetics. When NOT to use: Do not use to explore or list available brands (use list_brand_designs), and do not use to calculate color accessibility compliance (use check_contrast). Returns: Full markdown design specification containing color palettes, typography, spacing, and component patterns for the requested brand.

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": {
      "brand": "<brand>"
    },
    "name": "get_brand_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYesExact name of the brand to retrieve (e.g. 'linear', 'stripe', 'apple', 'supabase', 'vercel', 'raycast', 'figma'). Run list_brand_designs to discover all 74 available brand names. Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.1.4
    • removedInput schema / properties / brand / default
      Removed value: -"list"
    • changedInput schema / properties / brand / description
      Previous value: -"Lowercase brand slug (e.g. 'linear', 'stripe', 'apple', 'supabase', 'vercel', 'raycast', 'figma'). Pass 'list' or empty string to retrieve all 74 available brand slugs. Defaults to 'list'."New value: +"Exact name of the brand to retrieve (e.g. 'linear', 'stripe', 'apple', 'supabase', 'vercel', 'raycast', 'figma'). Run list_brand_designs to discover all 74 available brand names. Required."
    • addedInput schema / required
      Added value: +[
      +  "brand"
      +]
  2. Changed1 schema field changedv2.1.2
    • changedInput schema / properties / brand / description
      Previous value: -"Brand slug identifier (e.g. 'linear', 'stripe', 'apple', 'supabase', 'vercel', 'raycast', 'figma', 'notion') to fetch its design tokens, or 'list' to view all 74 indexed brand design systems."New value: +"Lowercase brand slug (e.g. 'linear', 'stripe', 'apple', 'supabase', 'vercel', 'raycast', 'figma'). Pass 'list' or empty string to retrieve all 74 available brand slugs. Defaults to 'list'."
  3. Changed1 schema field changedv0.1.2
    • changedInput schema / properties / brand / description
      Previous value: -"Brand name (e.g. 'linear', 'stripe', 'supabase', 'vercel') or 'list' to see all 74 brands"New value: +"Brand slug identifier (e.g. 'linear', 'stripe', 'apple', 'supabase', 'vercel', 'raycast', 'figma', 'notion') to fetch its design tokens, or 'list' to view all 74 indexed brand design systems."
  4. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares the operation is read-only, local disk based, with no side effects, mutations, network requests, or authentication requirements. It also discloses the fallback behavior for an unrecognized brand slug (substring matching or a suggestion to run list_brand_designs), which is exactly the kind of edge-case behavior an agent cannot get from structured fields.

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?

Front-loaded with the core purpose, then cleanly sectioned into safety, when-to-use, when-not-to-use, and returns. There is mild redundancy between "Safe, read-only operation" and the subsequent "no side effects, mutations, network requests" clause, but every section contributes distinct information.

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?

A single-parameter read tool with no output schema, yet the description states the return format (full markdown design specification) and its contents, so no output schema is needed. Safety profile, failure behavior, and sibling routing are all covered, leaving no meaningful gap for an agent.

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 the baseline would be 3, but the description adds meaning the schema does not: it explains what happens when the brand value does not resolve (substring matching fallback) and points to the discovery tool. It does not add format/syntax guidance beyond the examples already in 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?

Opens with a specific verb and resource ("Retrieves design specifications... for a specific brand") and enumerates the concrete artifacts returned: color tokens, typography scales, elevation shadows, layout rules. It is distinguishable from siblings list_brand_designs and check_contrast without opening any schema.

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

Usage Guidelines5/5

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

Provides explicit "When to use" (styling UI components, tokens, pages) and "When NOT to use" sections that name the correct alternatives and the condition selecting each: list_brand_designs for discovery, check_contrast for accessibility compliance. Nothing is left to inference.

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