Skip to main content
Glama
neozhehan

Figma Edit MCP

Apply Style

node_apply_style
Idempotent

Apply a shared library style to a Figma node by specifying the node ID and style ID. Supports paint, text, effect, and grid style types.

Instructions

Link a node to a shared library style (paint/text/effect/grid) by styleId. Use the raw node_set_* setters for ad-hoc values not backed by a style.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesThe ID of the node to apply style to
styleIdYesThe ID of the style to apply
nodeNameYesName of the node to verify against
styleTypeYesType of style to apply (target property)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName of the modified node
successYesWhether the style was applied successfully
Behavior3/5

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

Annotations already provide idempotentHint and openWorldHint. Description adds that it links to a style but does not elaborate on side effects like overwriting existing styles, which is acceptable but not additional.

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?

Two concise sentences: first states core action, second provides key usage guidance. No unnecessary words.

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?

Given annotations and output schema exist, description covers primary function. Could mention prerequisite that style must exist, but context implies it since sibling tools handle style management.

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%; parameters are fully described in schema. Description references styleId but adds no new semantic detail beyond what schema provides.

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?

Description uses specific verb 'Link a node' and clear resource 'shared library style'. Distinguishes from siblings by explicitly mentioning alternative 'node_set_*' setters for ad-hoc values.

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?

Provides explicit when-not-to-use: for ad-hoc values not backed by a style, use raw setters. Clearly guides selection between this and sibling tools.

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

Install Server

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/neozhehan/figma-edit-mcp'

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