Skip to main content
Glama

generate_css

Generate ready-to-use CSS @import snippet for a single font or a heading+body font pairing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fontNoFont for single mode
modeYessingle: one font CSS; pairing: heading+body CSS
sizeNoBase font size (e.g. "16px")
weightsNoFont weights to include (e.g. ["400","700"])
body_fontNoBody font for pairing mode
line_heightNoLine height (e.g. "1.5")
heading_fontNoHeading font for pairing mode

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral disclosure burden. It only states the output type (CSS @import snippet) and the two modes. It does not disclose validation behavior, error handling, whether the output includes full CSS or just an @import line, or any other side effects. The description is too minimal to provide meaningful transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that clearly states the core action and scope. Every word earns its place, with no filler or repetition.

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?

The tool has 7 parameters and no output schema, but the description gives a clear overview of the two modes and the output type. However, it does not explain how parameters interact per mode (e.g., which params apply to single vs pairing) or provide any usage details beyond the basic generation. The schema covers param descriptions, but the tool's overall behavior is only partially contextualized.

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 coverage is 100%, so the input schema fully documents all 7 parameters. The description adds context by mentioning 'single font or heading+body font pairing', which maps to the mode and heading_font/body_font parameters, but it does not elaborate on size, weights, or line_height beyond what the schema provides. Baseline 3 is appropriate.

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?

The description uses a specific verb 'Generate' with a clear resource ('ready-to-use CSS @import snippet') and defines the two modes (single font or heading+body pairing). This distinguishes it from sibling tools like suggest_pairings or get_font_info, which serve different purposes.

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 description implies usage ('Generate ready-to-use CSS @import snippet') but does not explicitly state when to prefer this tool over alternatives. No exclusions or prerequisites are mentioned, so the usage context is only hinted at through the tool's name and purpose.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: listing fonts, fetching metadata, checking language support, generating CSS, creating font stacks, and suggesting pairings. There is no overlap in their core functionalities.

Naming Consistency4/5

Most tools follow a verb_noun pattern (check_language_support, generate_css, get_font_info, list_fonts_by_category, suggest_pairings), but 'font_stack' is a noun phrase and slightly deviates from the pattern. Overall, names are consistent in style and readable.

Tool Count5/5

With 6 tools, the server is well-scoped for font metadata and CSS generation. Each tool earns its place and the count is within the ideal 3-15 range.

Completeness5/5

The tool surface covers font discovery, detailed metadata, language support verification, CSS generation, and pairing recommendations. There are no obvious dead ends; the set is comprehensive for its stated purpose.