Skip to main content
Glama
figma-bridge

figma-bridge

by Seuketchi

figma_comments

Read Figma comments as threads—author, timestamp, text, resolved status, pinned node, and replies—via the REST API, defaulting to the open file.

Instructions

Read the comments on a Figma file as threads: who wrote each one, when, the text, whether it is resolved, the node it is pinned to (with the node's name when the plugin is open on that file) and the replies. The Plugin API cannot see comments, so this uses Figma's REST API with a personal access token from FIGMA_TOKEN or ~/.config/figma-bridge/token. With no file_key it uses the file open in the plugin.

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

Input Schema

NameRequiredDescriptionDefault
node_idNoonly threads pinned to this node or inside it
file_keyNofile key or figma.com URL; default: the open file
unresolvedNoonly threads that are not resolved

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a good job: it discloses that comments are invisible to the Plugin API, that a REST call is made, and that a personal access token is required from FIGMA_TOKEN or a config path — critical preconditions an agent must know before invoking. It stops short of describing failure modes (missing token, permission errors) or rate-limit behavior.

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?

The return payload is front-loaded in the first sentence, followed by the mechanism/auth caveat and the default-file rule, so the most decision-relevant information comes first. It is dense but not padded; the parenthetical about node names is the only mildly wordy element.

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 read-only, three-optional-parameter tool with no output schema and no annotations, the definition is nearly sufficient: it describes the thread shape, auth requirement, and default file. The remaining gaps — pagination, token-missing failure behavior, and what happens when the open file is not a Figma file — are modest.

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 all three parameters are already documented in the schema, including the 'default: the open file' behavior. The description restates the open-file default and clarifies that node_id scopes to threads 'pinned to this node or inside it,' which adds a small amount of semantic nuance but is largely duplicative.

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 opens with a specific verb and resource ('Read the comments on a Figma file as threads') and then enumerates exactly what each thread carries: author, timestamp, text, resolved state, pinned node, and replies. No sibling tool (read, run, screenshot, status) covers comments, so the agent can identify this tool immediately from the description alone.

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?

It establishes clear usage context: the tool reads comments via REST rather than the Plugin API, requires a token, and defaults to the currently-open file when no file_key is given. It does not state explicit exclusions or 'do not use when' conditions, but there is no competing comments tool among the siblings, so the routing ambiguity is low.

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