Skip to main content
Glama
figma-forge-mcp

figma-forge-mcp

by TBlopT

create_styles

Creates or updates Figma local paint, text, and effect styles by name, accepting hex/gradient paints and installed fonts to define reusable design styles.

Instructions

Create or update local paint, text and effect styles (upsert by name). Paints accept solid hex or gradients; texts accept any installed font.

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

Input Schema

NameRequiredDescriptionDefault
textsNo[{ name, font, style, size, lineHeight, letterSpacing, textCase, description }]
paintsNo[{ name, color | paint | paints, description }]
effectsNo[{ name, effects: [...] }]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the critical mutation semantic — matching existing styles by name are overwritten — but says nothing about required permissions, whether partial failures abort the whole batch, or whether existing style IDs are preserved.

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 compact sentences with the action and upsert semantics front-loaded; nothing is padded or repeated from the name.

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 three-array mutation tool with no annotations and no output schema, the description covers the essentials (what is created, name-based overwrite, value formats) but omits return information such as created/updated style identifiers, which an agent needs to chain follow-up calls.

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 100%, establishing a baseline of 3, and the description adds real meaning beyond the terse schema example strings: paints accept solid hex or gradients, and texts accept any installed font. It still doesn't clarify which of color/paint/paints wins or what 'effects: [...]' must contain.

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 pair (create or update), a specific resource class (local paint, text and effect styles), and the key upsert-by-name semantic. It reads clearly against the read-side sibling get_styles, though it doesn't name alternatives explicitly.

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?

'Upsert by name' implies when the tool will create versus overwrite, which is useful context, but there is no explicit guidance on prerequisites (e.g., file/local styles scope), when to use this instead of other creation tools, or what to do when a style must merely be read (get_styles).

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