Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_set_description

Set documentation text on Figma components, component sets, or styles to explain design intent in Dev Mode. Supports plain text and markdown descriptions.

Instructions

Set the description text on a component, component set, or style. Descriptions appear in Dev Mode and help document design intent. Supports plain text and markdown formatting.

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": {
      "nodeId": "<nodeId>",
      "description": "<description>"
    },
    "name": "figma_set_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesThe node ID of the component or style to update (e.g., '123:456')
descriptionYesThe plain text description to set
descriptionMarkdownNoOptional rich text description using markdown formatting

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation. It does not say whether the existing description is overwritten, whether edits require file edit permissions, whether the call is idempotent, or what happens if both description and descriptionMarkdown are supplied.

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?

Three short sentences with the action and target front-loaded; the Dev Mode sentence earns its place as rationale. No padding, though the markdown sentence could have been merged with the parameter behavior more usefully.

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 simple three-parameter mutation with no output schema, the description covers what is being set and where it appears, but omits overwrite semantics and permission/auth expectations. That is adequate but leaves real gaps for an agent invoking a write operation.

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%, so each parameter is already documented in the schema, and the baseline is 3. The line "Supports plain text and markdown formatting" loosely maps to the two description fields but does not resolve the important ambiguity of precedence between description and descriptionMarkdown.

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?

The description pairs a specific verb ("Set") with a specific resource ("the description text") and enumerates the three valid target types: component, component set, and style. That is enough to separate it from siblings like figma_set_fills or figma_set_text, though it never names a sibling explicitly.

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 when-to-use or when-not-to-use guidance, and no prerequisites such as the node needing to be a component/style rather than an arbitrary node. The Dev Mode sentence explains why descriptions matter, but not when an agent should call this tool versus another.

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

Deploy Server

Other Tools