Skip to main content
Glama
figma-mcp-v2

figma-mcp-v2

by LukasAnda

Add native annotations

figma_annotate

Add Figma native annotations to layers with notes, markdown, categories, and pinned Dev Mode properties, giving developers live handoff context beside designs.

Instructions

Adds Figma's native annotations to layers: a note (plain text or markdown), optionally pinned properties that Dev Mode shows live (e.g. padding, itemSpacing, cornerRadius, fills, textStyleId, width, height), in a category such as "Interaction", "Accessibility" or "Content" (created if missing). Developers see them in Dev Mode next to the design. Prefer this over drawn note text for handoff.

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": {
      "items": "<items>"
    },
    "name": "figma_annotate"
  }
}

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.
itemsYes
replaceNoReplace existing annotations on those layers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readonly, non-destructive, non-idempotent, open-world mutation. The description adds real value beyond that: categories are 'created if missing' (a side effect on file state) and developers see the result live in Dev Mode. It does not state that repeated calls append rather than overwrite, or what a failure on an invalid node id looks like.

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?

Front-loaded with the core action, then payload details, then the alternative preference. The middle clause is densely parenthetical, but every phrase carries information an agent needs; little could be cut without losing semantics.

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 three-parameter mutation with annotations but no output schema, the definition covers what gets written, where it is visible, and the category-creation side effect. Remaining gaps (return values, append-vs-overwrite behavior on repeat calls, error cases) are minor given the annotation coverage.

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 67%, and the description compensates by explaining what the parameters mean in practice: the note can be plain text or markdown, pinned properties are shown live in Dev Mode with concrete examples (padding, itemSpacing, cornerRadius, fills, textStyleId), and category accepts names like 'Interaction' or 'Accessibility'. It adds little about replace beyond what the schema already says.

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?

States a specific verb and resource ('Adds Figma's native annotations to layers') and immediately enumerates the payload: note text/markdown, pinned properties, category. It also contrasts with the drawn-note-text approach, so an agent can tell what this tool produces versus a visual annotation hack.

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

Usage Guidelines4/5

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

Explicitly recommends itself over drawn note text for developer handoff, and the schema-level url description clarifies that url is only needed when the plugin is open in multiple files. No explicit when-not cases, but usage context is clear.

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