Skip to main content
Glama

List task comments

list_task_comments
Read-onlyIdempotent

List comments for a task, newest first unless order says otherwise. Each comment carries reactionCount and its attachments. Pass nextCursor as cursor for bounded subsequent pages; total remains exact. To poll, pass the largest createdAt you have seen as since to get only newer comments, oldest first.

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": {
      "taskId": "<taskId>"
    },
    "name": "list_task_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many comments to return in one page. 50 when omitted.
orderNoDefault desc, or asc when since is set. Changing it restarts paging.
sinceNoEpoch milliseconds or an ISO 8601 time. Returns comments created after it, oldest first, and cannot be combined with offset. total still counts every comment on the task.
cursorNonextCursor from the previous page. Leave it out for the first page.
offsetNoComments to skip from the start. Page with cursor where you can; offset is ignored when cursor is set.
taskIdYesThe task whose comments to list: its ID, task number, or identifier such as PRO-42.

Output Schema

NameRequiredDescriptionDefault
hintNoA tip on reading cut text in full or on a faster way to do this. Sent only when one applies.
totalNoNumber of comments on the task, whatever the page or since.
hasMoreNotrue when another page exists.
commentsYesThis page of results.
nextCursorNoPass as cursor for the next page. Null or absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description earns credit for adding what they cannot: each comment carries reactionCount and attachments, total stays exact under paging, and since-mode flips to oldest-first. The bounded-page/polling interaction is genuinely new behavior not derivable from the annotations.

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?

Three tight sentences with the default behavior front-loaded ahead of paging and polling instructions. The 'total remains exact' clause partly duplicates the schema's since description, a minor redundancy rather than a flaw.

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?

For a six-parameter read tool with an output schema, this covers everything an agent needs to call it correctly: default order, page mechanics, the cursor-vs-offset preference, and the polling recipe. Return-value details are rightly left to the output schema.

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 the schema already documents limit, order, since, cursor, offset, and taskId in detail. The description adds a real usage pattern (pass the largest createdAt as since) but mostly restates schema facts such as oldest-first ordering and exact totals. Baseline 3 is appropriate when the schema does the heavy lifting.

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 scope: 'List comments for a task,' plus the default ordering. That scope word 'for a task' is exactly what separates it from the generic list_comments and the doc/portal/post variants in the sibling set.

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 gives concrete operational guidance: use nextCursor as cursor for subsequent pages, and poll by passing the largest createdAt you have seen as since. It does not name a competing sibling or state when to prefer list_comments instead, so it stops short of full alternative routing.

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