Skip to main content
Glama

Get style reference

get_style_reference
Read-only

Styling reference: palette variables, styleGuide tokens, spatial scale, modifiers, interactive state, form-confirmation recipe. Pass topic for a focused guide (design bar, accessibility, domains, per-tool usage).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicNoReturn one guide instead of the core reference.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / topic / enum
      Previous value: -[
      -  "design",
      -  "accessibility",
      -  "domains",
      -  "blocks",
      -  "editing",
      -  "theme",
      -  "pages",
      -  "media",
      -  "integrations",
      -  "section-tree"
      -]New value: +[
      +  "design",
      +  "accessibility",
      +  "domains",
      +  "blocks",
      +  "editing",
      +  "theme",
      +  "pages",
      +  "site",
      +  "media",
      +  "integrations",
      +  "animation",
      +  "section-tree"
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds the content inventory of the reference (tokens, modifiers, interactive state, form-confirmation recipe), which is useful context, but says nothing about auth, response size, or whether topics override the core reference beyond a hint.

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, front-loaded with the content inventory followed by the parameter guidance. No filler, though the topic list in parentheses is somewhat loose against the actual enum and could have been omitted as redundant with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, single-optional-parameter reference tool with no output schema and full annotation coverage, the description supplies enough — what the reference contains and what a topic yields. It could go slightly further on how topics relate to the core reference, but nothing essential for correct invocation is missing.

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 description coverage is 100% and the single enum is fully documented, so the baseline is 3. The description restates the parameter's effect and names a few topics (design bar, accessibility, domains, per-tool usage), but these only partially map to the 12 enum values and add little beyond the schema.

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 names a specific resource (styling reference) and enumerates its contents — palette variables, styleGuide tokens, spatial scale, modifiers, interactive state, form-confirmation recipe — so an agent knows what it retrieves. It does not, however, distinguish itself from adjacent siblings like suggest_palettes, suggest_font_pairings, or get_component_schema, which also relate to styling.

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

Usage Guidelines3/5

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

The second sentence explains the `topic` parameter's effect (a focused guide vs the core reference) and hints at guide categories, which implies usage. But there is no explicit when-to-use guidance, no statement of when to prefer this over suggest_palettes or get_component_schema, and no prerequisites.

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