Skip to main content
Glama
Rompni

figma-rest-mcp

by Rompni

Post a Figma comment

post_comment

Post comments or replies on Figma design files by file key and message. Supports canvas pins, node attachments, and replying to existing root comments.

Instructions

POST /v1/files/{key}/comments — add a comment or reply (comment_id of a root comment). Scope: file_comments:write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoCanvas x for a new pin (with y).
yNoCanvas y for a new pin (with x).
fileYesFigma file key or URL (figma.com/design/... or figma.com/file/...)
messageYes
node_idNoNode to attach the comment to (with offset_x/offset_y).
offset_xNo
offset_yNo
comment_idNoRoot comment id to reply to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already indicate this is a mutating operation. The description adds the required file_comments:write scope and explicitly frames the action as an additive POST operation, which supplements the annotation without contradicting it.

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?

The description is a single sentence loaded with the action, endpoint, and scope. It is concise, front-loaded, and contains no filler.

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

Completeness2/5

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

For a tool with 8 parameters and no output schema, the description is too thin. It does not explain return behavior, the relationship between x/y and new pins, or how offset_x/offset_y interact with node_id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description repeats the comment_id reply concept already present in the schema but adds no meaning for other parameters. Notably, message, offset_x, and offset_y are not idocumented in the schema and the description does not help compensate for this gap.

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?

The description clearly identifies the tool as adding a comment or reply and names the HTTP endpoint and required scope. It is easy to distinguish from siblings like get_comments, delete_comment, or post_comment_reaction.

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?

The description explicitly covers the main usage cases: posting a new comment or replying to a root comment via comment_id. However, it does not explicitly mention exclusions or point to alternative tools for related actions.

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