Skip to main content
Glama
Zendesk MCP Server by Fruggr

Zendesk MCP Server by Fruggr

List Zendesk Ticket Comments

list_ticket_comments
Read-onlyIdempotent

Read a ticket's replies and internal notes page by page, newest first, to inspect long threads without dropping the latest comments.

Instructions

Read a ticket's replies and internal notes in full, newest first, a page at a time. Each entry has the comment id, author, time, public or internal, and attachment ids (download: get_ticket_attachments). Prefer it to get_ticket(include_comments=true) on a long thread, whose cut drops the newest comments. Field changes: get_ticket_history.

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": {
      "ticket_id": "<ticket_id>"
    },
    "name": "list_ticket_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoCursor from the previous response; it keeps that sort_order, so drop it when changing sort_order.
page_sizeNoComments per page; bodies are long, so follow the cursor rather than raise it past the response limit.
ticket_idYesTicket id, from search_tickets or list_tickets.
sort_orderNo"desc" walks back from the latest reply; "asc" reads forward from the opening description.desc

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv3.14.0
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor from a previous response; omit for the first page. Zendesk issues it for the ordering that response used, so after changing sort_order drop the cursor and start again from the first page."New value: +"Cursor from the previous response; it keeps that sort_order, so drop it when changing sort_order."
    • changedInput schema / properties / page_size / description
      Previous value: -"Comments per page (1-100, default 20). The default is deliberately small because comment bodies are long and a bigger page risks being cut short by the response character limit; follow the returned cursor rather than raising it."New value: +"Comments per page; bodies are long, so follow the cursor rather than raise it past the response limit."
    • changedInput schema / properties / sort_order / description
      Previous value: -"Chronological direction of the page. \"desc\" (the default) starts at the most recent comment and walks backward in time, which is what you want to see the latest reply; \"asc\" replays the conversation forward, starting from the ticket's opening description — that first comment therefore lands on the last page under \"desc\"."New value: +"\"desc\" walks back from the latest reply; \"asc\" reads forward from the opening description."
    • changedInput schema / properties / ticket_id / description
      Previous value: -"Ticket ID — the numeric id of the ticket whose conversation to read. Obtain it from search_tickets or list_tickets."New value: +"Ticket id, from search_tickets or list_tickets."
    • removedInput schema / properties / ticket_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / ticket_id / minimum
      Removed value: --9007199254740991
  2. Changed1 schema field changedv2.24.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Addedv2.20.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description still adds real context: default ordering, page-by-page retrieval, the composition of each entry, and the failure mode of the alternative (newest comments truncated). It omits rate limits and auth requirements, keeping it short of a 5.

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?

Three sentences, front-loaded with what the tool returns, followed by the cross-sell to get_ticket_attachments and the sibling routing. Every clause carries information an agent would otherwise have to guess; nothing is padding.

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 return shape itself (id, author, time, visibility, attachment ids) and explains the pagination contract and where to fetch attachments. For a read-only paged list tool, an agent has everything needed to call it correctly.

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 ticket_id, cursor, page_size and sort_order are already fully documented in the schema, including the cursor/sort_order interaction. The description reinforces the default 'newest first' ordering but adds no parameter meaning beyond that, so the baseline 3 applies.

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 ('Read a ticket's replies and internal notes in full') plus the ordering ('newest first') and paging model ('a page at a time'), then enumerates the fields each entry carries. It also names the tools it is not (get_ticket, get_ticket_history), so an agent can distinguish it from siblings without opening a schema.

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?

Explicitly routes the agent: use this instead of get_ticket(include_comments=true) on a long thread because that path's cut drops the newest comments, and use get_ticket_history for field changes. Both the when and the when-not are stated with a reason.

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