Skip to main content
Glama
arimunandar

figsnap-mcp

by arimunandar

Set type on a text layer

figma_set_text_style
Destructive

Set typography on a Figma text layer: font, size, line height, letter spacing, alignment, and color. Changes only the properties you specify, leaving others untouched.

Instructions

Font, size, line height, letter spacing, alignment and colour, on a TEXT layer. Only what you name is changed. Prefer figma_apply_style where the file has a text style for it — a named style survives a redesign and a hard-coded 14px does not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alignNo
colorNoHex colour.
nodeIdYesFigma node id, like "21:10314". Omit to use whatever is selected on the canvas.
fontSizeNo
fontStyleNoWeight or style, like "Semi Bold".
autoResizeNo
fontFamilyNo
lineHeightNoIn pixels.
letterSpacingNoIn pixels.
Install Server

TDQS

A4.6/5.0
Behavior4/5

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

The destructiveHint annotation already signals mutation, and the description adds meaningful behavioral context by clarifying that only named properties are overwritten and others are preserved. It doesn't describe reversibility or what exactly gets destroyed, but the partial-update disclosure is valuable beyond the annotation.

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?

Three sentences with no filler: the first gives scope, the second defines update semantics, and the third supplies routing rationale. The most important caveat ('Only what you name is changed') is front-loaded right after the scope.

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 mutation tool with no output schema, the description covers what to change and when to prefer an alternative. Minor gaps remain: it doesn't describe return behavior, failure modes, or the autoResize parameter, but the schema compensates for the parameter details and the annotations cover the destructive nature.

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?

Schema coverage is 56%, so the schema carries some parameter descriptions. The description adds value by grouping the parameters into readable categories (font, size, line height, etc.) and by explaining that each named parameter is applied independently. It does not mention autoResize, leaving one parameter semantically under-covered.

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 names the exact operation (set type on a text layer) and enumerates the specific attributes it affects: font, size, line height, letter spacing, alignment and colour. It also differentiates itself from the most confusable sibling, figma_apply_style, by framing hard-coded values as a fallback rather than a substitute for named styles.

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

Usage Guidelines5/5

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

The last sentence gives explicit routing: prefer figma_apply_style when a text style exists, with a concrete reason (a named style survives redesigns). The phrase 'Only what you name is changed' also tells the agent this is a targeted partial update, not a full style reset.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arimunandar/figsnap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server