Skip to main content
Glama
TypeScale MCP

TypeScale MCP

generate_design_tokens

Read-onlyIdempotent

Generate fluid CSS typography, spacing, radius, touch-target, and platform design tokens from optional settings, with CSS, JSON, and Flutter exports for responsive LTR/RTL layouts.

Instructions

Generate fluid CSS typography, spacing, radius, touch-target and platform design tokens. All settings optional.

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": "generate_design_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoall
localeNoen
baseMaxNo
baseMinNo
densityNocomfortable
ratioMaxNo
ratioMinNo
spacingUnitNo
viewportMaxNo
viewportMinNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 the safety profile is fully covered and the description needn't repeat it. The description adds that the operation is a generation across multiple token families, which is useful. It does not disclose whether repeated calls with differing settings overwrite existing token files or what the generated artifacts look like, which would be the genuinely valuable additions for a mutation-free but file-producing generator.

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 short sentences, front-loaded with the capability statement and followed by the defaults note. There is no filler. It is arguably under-specified rather than padded, so brevity is not penalized here, but the terse structure leaves no room for the parameter guidance this tool needs.

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 10-parameter generator with zero schema description coverage and no output schema, the description should explain at minimum the output forms (json/css/flutter/all) and the meaning of the min/max pairs. None of that is present, so an agent must guess at parameter intent and outputs. Only the annotations rescue the safety and idempotency picture.

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% across 10 parameters, so the description carries the full burden of explaining them, and it explains none. Parameters like baseMin/baseMax, ratioMin/ratioMax, viewportMin/viewportMax, spacingUnit, density and locale are only inferable from their names and numeric bounds. "All settings optional" is the only parameter-adjacent sentence, and it does not 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 (Generate) and a concrete resource (design tokens), then enumerates the token families covered: fluid typography, spacing, radius, touch-target and platform tokens. An agent can tell this is a token-generation tool. It does not explicitly contrast itself with the sibling typography_recommendations, which is why it falls short of a 5.

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?

"All settings optional" implicitly signals that the tool can be invoked with no arguments and sensible defaults, which is real usage context. However, there is no statement of when to prefer this over typography_recommendations, no prerequisite guidance, and no note about whether it should be run once per project or repeatedly.

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