Skip to main content
Glama

Get design spec

get_design
Read-onlyIdempotent

Use this when you need the actual design values of one indexed site to build or restyle UI. Default returns the desktop screenshot and the compact card (role colors with the site's own CSS variable names, fonts, type sizes, radius, container, caveats, links, screenshot URLs). Request more with sections (color, type, space, shape, depth, layout, motion, components, sections, stack, provenance) or "full" for the raw spec.json (large: ~15–20 KB). Not for search (use search_designs) or for a file to save in the project (use 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": {
      "site": "<site>"
    },
    "name": "get_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesIndexed site as a slug ("linear.app"), URL ("https://linear.app/pricing") or brand name ("Linear").
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.
sectionsNoWhich parts to return. Default ["card"]. Ask only for what the task needs.
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.
screenshotNoWhich above-the-fold screenshot to attach as an image (default desktop). Full-page and dark-mode shots are linked in the card.desktop
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. Changed1 schema field changed
    • addedInput schema / properties / screenshot
      Added value: +{
      +  "default": "desktop",
      +  "description": "Which above-the-fold screenshot to attach as an image (default desktop). Full-page and dark-mode shots are linked in the card.",
      +  "enum": [
      +    "desktop",
      +    "mobile",
      +    "both",
      +    "none"
      +  ],
      +  "type": "string"
      +}
  2. 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"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior the annotations cannot: the exact default payload composition, the size cost of "full" (~15–20 KB raw spec.json), and that escalation is opt-in per section. It does not mention rate limits or failure modes for unindexed sites, keeping it just under a 5.

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?

Three sentences, front-loaded with the selection condition, then payload, then exclusions. The parenthetical list of card contents is dense but each item is informative; nothing is redundant with the schema. Slightly heavy in a single sentence, but no wasted wording.

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?

Six parameters with only one required, no output schema, and a mutation-free read tool: the description supplies defaults, expansion semantics, payload size, and sibling routing, while the fully documented schema carries the analytics parameters. Nothing an agent needs to call it correctly 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 100%, so the baseline is 3; the description earns above that by explaining that `sections` is an additive expansion, that "full" returns raw spec.json rather than a formatted view, and by enumerating what the default `card` actually contains. This meaning is not derivable from the enum list alone.

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?

"Use this when you need the actual design values of one indexed site to build or restyle UI" states a specific verb (retrieve design values), resource (one indexed site), and intended outcome. Default payload contents are summarized concretely (role colors with the site's own CSS variable names, fonts, type sizes, radius, container, caveats, links), which makes it clearly distinguishable from a search or file-export tool.

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 framing plus two explicit when-not-to-use routes: "Not for search (use search_designs) or for a file to save in the project (use get_design_md)." The escalation path via `sections` or "full" gives the agent a decision rule for depth as well as for tool choice.

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