Skip to main content
Glama

List comments, oldest first

list_comments
Read-onlyIdempotent

List comments, oldest first.

Oldest first, 50 per page (limit up to 200); next_cursor in the answer → pass it as cursor to read on. The newest comment is on the LAST page: page until next_cursor is absent. Each comment's frontmatter.seq is its number on the issue. On replies (absent or null on top-level comments): frontmatter.reply_to is the seq of the thread's top-level comment — group comments with the same reply_to under that comment to read a thread (one level deep) — and frontmatter.in_reply_to is the seq of the exact comment answered (the top-level comment or another reply in the thread), i.e. whom the reply is talking to. frontmatter.version is what update_comment / delete_comment need; updated_at / updated_by are set once a comment was edited; deleted: true marks a deleted comment (empty body, replies stay) — skip it when reading the thread.

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNoOpaque cursor from the previous page's `next_cursor`.
issue_keyYesIssue key `{PROJECT}-{n}`, e.g. `KJ-101`.
project_keyYesProject key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds substantial behavior beyond them: page size and ceiling, cursor chaining via `next_cursor`, the fact that newest comments sit on the final page, and that deleted comments remain in the listing with empty bodies but intact replies. That last point in particular would be surprising and wrong to infer from annotations alone.

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?

Front-loaded with the essential ordering and pagination rules before the field-level detail, and nearly every clause earns its place. The single dense paragraph makes the frontmatter semantics harder to scan than a short bulleted breakdown would, which keeps it off a 5.

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?

With no output schema, the description carries the full burden of explaining return values and does so thoroughly: `frontmatter.seq`, `reply_to` vs `in_reply_to` for one-level thread grouping, `version` for downstream edits, `updated_at`/`updated_by`, and the deleted-comment representation. An agent can read and reconstruct threads correctly from this alone.

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

Parameters4/5

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

Schema coverage is 75% and already documents `cursor` and the issue/project key formats, so the baseline is 3. The description goes beyond by linking the output `next_cursor` to the input `cursor` and by restating the 50-default / 200-max pagination contract, which makes the two undocumented-ish parameters unambiguous in practice.

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?

States a specific verb and resource (list comments) plus the scope and ordering (for one issue, oldest first). It is immediately distinguishable from the comment-mutating siblings add_comment, update_comment, delete_comment, and from get_issue / get_issue_context.

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?

Gives concrete operational guidance: 50 per page, limit up to 200, page until `next_cursor` is absent, and the non-obvious warning that the newest comment is on the LAST page. It also tells the agent to skip `deleted: true` entries when reading a thread and points to update_comment/delete_comment for the version field. It does not explicitly name a sibling alternative to use instead in any condition, so it falls short of a 5.

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