Skip to main content
Glama

get_comments

Read the discussion on an issue, oldest first. Without 'startAt' you get the END of the thread — the most recent 'limit' comments — because catching up means reading the latest, not the first ever written; 'earlier' says how many stand before the page you got, and 'startAt' walks back through them. Each 'body' comes back exactly as written, which is also the text update_comment's 'edits' are matched against. A reply carries 'replyTo', the id of the comment it answers (null otherwise) — pass the same id to add_comment's 'replyTo' to answer one. Comments that were deleted are not listed. Needs only permission to see the issue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesIssue key, e.g. 'UK-1'.
limitNoHow many comments to return (default 20, max 100).
startAtNoWhere to start, counted from the OLDEST comment as 0. Omit for the most recent page; pass 'startAt' - 'limit' from a previous answer to step back one page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the behavioral burden. It discloses the default pagination direction, the meaning of the 'earlier' field (which would be in the response), the exact preservation of 'body' text (critical for matching edits), the 'replyTo' field semantics and how to use it with add_comment, that deleted comments are omitted, and the permission requirement. This is comprehensive and adds significant value beyond the schema.

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 description is dense and packed with useful information, front-loaded with the core purpose. It is somewhat long, but every sentence contributes to usage, pagination, or response semantics. While it could be slightly tightened, the length is justified given the complexity of pagination and the lack of an output schema. It is well-structured and not verbose.

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

Completeness5/5

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

Given that there is no output schema, the description compensates by explaining response fields (body, replyTo, earlier) and the pagination mechanism. It covers permission requirements and the default behavior. It provides all necessary information for an agent to call the tool correctly and interpret the response, making it complete for a read operation.

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

Parameters5/5

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

The schema already provides descriptions for all three parameters (100% coverage), but the tool description adds valuable semantic context beyond the schema. It clarifies that startAt is counted from the oldest comment, explains the default behavior when startAt is omitted, and provides a concrete pagination recipe ('pass startAt - limit from a previous answer'). This goes beyond the schema's basic field descriptions.

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 states the tool reads comments on an issue, with a specific verb ('Read') and resource ('discussion on an issue'). It distinguishes itself from comment-writing siblings like add_comment and update_comment by focusing on reading. The opening sentence is unambiguous and leaves no doubt about the tool's purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use the tool (to read discussions) and explains the default pagination behavior (most recent comments) and how to walk back with startAt. It also notes that it is needed to fetch the text for update_comment edits, and states the only permission required. It does not explicitly name alternatives, but the context of siblings makes it clear this is the read tool for comments.

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.

Resources