Skip to main content
Glama

Compose a design brief

compose_brief
Read-onlyIdempotent

Use this when the user wants a direction that mixes references ("Linear's colors with Stripe's type"), or a ready-to-save brief from one site. Returns a markdown brief with exact values (role colors and site tokens, font stacks, type styles, radii, spacing, shadows, motion), caveats and source links. Deterministic: values are copied from the specs, nothing is invented. By default the 1st site gives color, the 2nd type, the 3rd layout; override with color_from/type_from/layout_from. Save the result to disk before implementing. Not for a single site's raw values (use get_design or get_design_md).

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": {
      "sites": "<sites>"
    },
    "name": "compose_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
sitesYes1–3 indexed sites.
contextNoA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
productNoWhat is being built, e.g. "pricing page for a dev-tools startup".
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
type_fromNoSite that supplies typography (must be in `sites`).
color_fromNoSite that supplies the palette (must be in `sites`).
layout_fromNoSite that supplies layout, shape, depth and motion (must be in `sites`).
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idiomatic/idempotent/non-destructive, and the description adds substantive behavior beyond them: output is markdown, values are copied deterministically from specs with nothing invented, caveats and source links are included, and the agent should persist the result before implementing. That is real disclosure the structured fields do not carry.

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?

Single dense paragraph that is front-loaded with the trigger condition, then output, then determinism guarantee, then default/override rules, then the exclusion. Every sentence carries information, though the parentheses-heavy style and the long enumerated token list make it denser than it needs to be.

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?

Nine parameters with no output schema, yet the description fully covers what comes back (markdown brief with exact values, caveats, source links) and how sources are assigned by default or override. Nothing an agent needs in order to call it correctly or interpret the result is missing.

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 89%, so the baseline is 3, but the description adds genuine meaning by stating the default positional mapping (1st site supplies color, 2nd type, 3rd layout) and that color_from/type_from/layout_from override it. The schema only labels each override parameter in isolation, so this rule is new information. It does not explain the analytics-only params (context, llm_model, conversation_id), which the schema already documents.

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?

States a specific verb and artifact (compose a markdown design brief) plus the two triggering cases: mixed references or a ready-to-save brief from one site. It also names the exact deliverables (role colors, site tokens, font stacks, type styles, radii, spacing, shadows, motion), so an agent can tell it apart from get_design and get_design_md 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?

Explicit when-to-use ('user wants a direction that mixes references') and explicit when-not-to-use with named alternatives ('Not for a single site's raw values (use get_design or get_design_md)'). It also gives a procedural guideline ('Save the result to disk before implementing') that shapes the sequence of calls.

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.

Resources