Skip to main content
Glama

get_typography_guidance

Retrieves metadata-backed typography guidance from a Storybook catalog, with optional text filtering and source confidence, to support evidence-based type decisions.

Instructions

Returns metadata-discovered Compass typography guidance with source confidence and evidence.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_typography_guidance"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries to return. Defaults to 50 when omitted, with a hard maximum of 50.
queryNoOptional free-text filter matched against foundation metadata fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose something useful beyond the name: results come from metadata discovery and carry source confidence plus supporting evidence, which tells the agent the output is untrusted/curated data rather than authoritative design rules. It says nothing about freshness, staleness, or what happens when metadata is missing, which are meaningful gaps for a metadata-backed read tool.

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?

A single front-loaded sentence with no filler or repetition of the tool name. It is efficient, though its brevity comes partly from undefined terminology rather than disciplined editing.

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

Completeness3/5

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

This is a simple two-optional-parameter read with no output schema and no annotations, so the description should carry the return-shape burden. It hints at confidence and evidence but never explains their form or how to interpret low-confidence entries, leaving a real gap for an agent that must decide whether to trust the result.

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%, so both parameters are already documented with defaults, bounds, and filter semantics in the schema. The description adds nothing about how query matches against foundation metadata fields or how limit interacts with evidence weighting, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('Returns ... Compass typography guidance'), so the agent knows it retrieves typography-related material. However, qualifying it as 'metadata-discovered' with 'source confidence and evidence' is vague jargon that does not clarify what an entry actually is, and siblings like get_spacing_guidance or get_design_tokens are not differentiated beyond the resource noun.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus get_design_tokens, get_component_style_dependencies, or the other foundation guidance tools, and no exclusions. The agent must infer usage purely from the resource name; the optional query parameter's role in selecting this tool is never framed as a usage signal.

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