Skip to main content
Glama

read_comments

Read-only

Read Figma file comment threads newest first with pinned screens; filter by node IDs to focus on comments for specific nodes or their children, optionally including resolved threads.

Instructions

Comment threads of a file, newest first, each with the screen it is pinned to. Filter by node ids to get only comments on those nodes or inside them.

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": {
      "file": "<file>"
    },
    "name": "read_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoOnly comments on these nodes or their children
fileYesFigma file URL or key
offsetNoFrom a [more: …] footer
resolvedNoInclude resolved threads (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this as a read-only, non-destructive, open-world operation, so the safety profile is covered. The description adds genuinely useful behavior detail that annotations cannot convey: results are ordered newest-first and each thread carries the screen it is pinned to, which tells the agent what the return payload looks like without an output schema.

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 sentences, zero filler, with the core resource and ordering stated first and the filtering caveat second. Every clause carries information the agent needs.

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 four-parameter read tool with annotations and no output schema, the description supplies ordering and per-thread content, which is the main thing missing from structured fields. Only pagination behavior beyond the offset parameter is unspecified, which is a minor gap given the schema hint.

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 four parameters are already documented, including the resolved default and the offset '[more: …] footer' convention. The description's note about ids matching nodes 'or inside them' merely restates the schema's 'or their children', adding no new meaning.

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 names a specific resource ('comment threads of a file') and adds distinguishing detail about ordering ('newest first') and payload ('each with the screen it is pinned to'). This is clearly a read operation and is easy to tell apart from write_comment, though the verb itself is only implied.

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?

The only guidance is the conditional for the ids filter ('to get only comments on those nodes or inside them'), which is usage of a parameter rather than guidance on when to choose this tool over siblings. There is no statement of exclusions or prerequisites, and the read-vs-write distinction with write_comment is left implicit.

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