Skip to main content
Glama
nmassi

glyphs-mcp

by nmassi

rmx_monospace

Adjust a glyph to a fixed width while balancing outline scaling and spacing to preserve stroke weight and visual quality across masters.

Instructions

Adjust a glyph to a fixed width using RMX Monospacer.

Intelligently distributes width change between outline scaling and spacing adjustment to maintain visual quality.

Args: glyph_name: Name of the glyph mono_width: Target advance width (0 = keep current width) keep_stroke: How much to preserve stroke weight, 0-100% use_spacing: How much width change goes to spacing vs outline, 0-100% master_id: Optional master ID

Example: "Make all uppercase letters 600 units wide" → rmx_batch("monospace", ["A","B",...,"Z"], params={"monoWidth": 600})

Requires 2+ masters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
master_idNo
glyph_nameYes
mono_widthNo
keep_strokeNo
use_spacingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: it 'intelligently distributes width change between outline scaling and spacing adjustment' and requires 2+ masters. It does not explicitly mention side effects, reversibility, or failure behavior, but the main mutation behavior and a key precondition are clearly communicated.

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 front-loaded with the core purpose and uses compact, purposeful sections for args and an example. No sentence is wasted, and the required prerequisite is included without unnecessary elaboration.

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 5-parameter tool with no annotations and no output schema, the description covers purpose, all parameter meanings, an example, and the 2+ masters prerequisite. It could be more complete by describing return values or error conditions, but an agent has enough information to invoke the tool correctly.

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

Parameters4/5

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

The schema has 0% description coverage, so the description's Args section is essential and does explain all five parameters meaningfully, including defaults and ranges. The example is also helpful, but it introduces a consistency issue by using 'monoWidth' while the schema and Args list use 'mono_width', which could mislead the agent.

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 action ('Adjust a glyph to a fixed width') and names the mechanism ('RMX Monospacer'), which clearly conveys the primary purpose. The second sentence about distributing width change between outline scaling and spacing helps differentiate it from simpler width-setting tools, though it does not explicitly name or contrast with sibling tools like set_glyph_width.

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?

Provides a useful example and a clear prerequisite ('Requires 2+ masters'), which implies when the tool can be used. However, it does not explicitly state when to prefer this over alternatives such as set_glyph_width or rmx_scale, nor does it mention when not to use it.

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