Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Create a style

figma_create_style

Creates local Figma fill, text, or effect styles to apply consistent colors, typography, and effects across a design file.

Instructions

Creates a local FILL (value: color or paints), TEXT (value: {fontFamily,fontStyle,fontSize,lineHeight,letterSpacing}) or EFFECT (value: effects array) style.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "figma_create_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoFigma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file.
nameYes
typeYes
valueYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), so the safety story is covered. The description adds meaningful context with 'local', indicating the style is created in the open file rather than a published library. It omits what happens on a name collision, whether an existing style is overwritten, and what the tool returns.

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 dense sentence, front-loaded with the verb, with parentheticals used efficiently to carry the polymorphic value shapes. Nothing is redundant, though the nested parentheticals make it slightly harder to scan than a short structured list would.

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

Completeness3/5

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

For a non-idempotent mutation with no output schema, the definition covers the input risk well but leaves the outcome opaque: the agent cannot tell whether a style ID is returned, whether duplicate names error or overwrite, or what permissions are needed. Given the annotations already cover safety, this is adequate but not complete.

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 only 20% (only `url` is documented), and the `value` parameter has an empty, untyped schema, so the description carries real burden. It discharges that by spelling out the expected shape per type — color/paints for FILL, a font property object for TEXT, an effects array for EFFECT — which is the highest-risk ambiguity. It says nothing extra about `name` or `description`, but those are largely self-evident strings.

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?

Names a specific verb (creates) and resource (style), and enumerates the three style types with their type-specific value shapes. The word 'local' usefully narrows scope versus library/published styles. It does not explicitly contrast with figma_apply_style or figma_get_styles, so sibling differentiation is left to the verb.

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 explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as applying an existing style instead of creating one. The agent must infer the call condition from the verb alone.

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