Skip to main content
Glama

Get comments

get_comments
Read-only

Comment threads of a file (unresolved by default), each with the element it is attached to: screen, element id and path, pin position and a short HTML excerpt.

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": {
      "fileId": "<fileId>"
    },
    "name": "get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYes
includeResolvedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so safety is covered structurally. The description goes beyond them by disclosing the shape of what comes back (element context, pin position, HTML excerpt), which is genuinely additive. It still says nothing about ordering, pagination, or behavior when a file has no comments.

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?

A single sentence that front-loads the resource and its default, then enumerates the return fields without filler. Every clause contributes information, and nothing could be trimmed without losing signal.

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 two-parameter read tool with no output schema, the return-shape description compensates well for the missing output contract. It remains incomplete on the input side, though: with 0% schema coverage the description is the only place parameter meaning can live, and fileId is never addressed and no pagination or empty-result behavior is described.

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 description coverage is 0%, so the description carries real weight here, and it does explain the default semantics of includeResolved ('unresolved by default'). However, it never mentions fileId or what form a file identifier takes, so half the parameters remain undocumented anywhere.

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 the specific resource (comment threads of a file) and enumerates the payload attached to each thread (screen, element id and path, pin position, HTML excerpt), which clearly separates it from write-side siblings like reply_comment. It is phrased as a noun clause rather than a verb+resource, but the meaning is unambiguous.

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?

Usage is only implied: '(unresolved by default)' tells the agent that calling with defaults returns open threads, which hints that includeResolved reveals closed ones. There is no explicit when-to-use guidance, no mention of reply_comment as the contrasting action, and no stated prerequisite such as needing the fileId to exist.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.