Skip to main content
Glama

generate_spacing_scale

Read-onlyIdempotent

Build consistent spacing scales and responsive CSS by defining a base unit, density, and multipliers, avoiding mixed unitless lengths.

Instructions

Build a consistent spacing rhythm and responsive CSS without mixing unitless lengths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitNo
densityNocomfortable
multipliersNo

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?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety and repeatability are covered. The description adds that the output is CSS, but the cryptic 'without mixing unitless lengths' does not disclose what is produced, format, or any constraints. With the lower bar set by annotations, a 3 is appropriate.

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. It is efficient, though the terseness leaves gaps that are penalized under other dimensions rather than here.

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

Completeness2/5

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

For a tool with three undocumented parameters at 0% schema coverage and no output schema, the description is far too thin. It never explains unit/density/multipliers or what the generated scale or CSS looks like, so an agent cannot invoke it confidently without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and three parameters (unit, density, multipliers) exist, so the schema alone leaves meaning unclear. The description hints at 'unitless lengths' but says nothing about density, multiplier arrays, or their defaults/ranges, failing to compensate for the coverage gap.

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?

States a specific verb+resource: 'Build a consistent spacing rhythm and responsive CSS'. This clearly separates it from generate_type_scale and generate_palette, though it never names those siblings explicitly. Purpose is unambiguous for an agent scanning the tool list.

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 when-to-use guidance, no prerequisite, and no named alternative among the many generate_* siblings. The only hint, 'without mixing unitless lengths', is a constraint rather than routing guidance, so the agent must infer usage entirely.

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