MCP Tool: get_ticket_comments

Retrieves all comments for a specific ticket in the Thena platform. Useful for support, collaboration, and audit trails.

Example Prompt

Show me all comments for ticket SY7BWX0K10YKRDE5FAHNBHFBS986H

Input Parameters

NameTypeRequiredDescription
idstringYesThe ID of the ticket to fetch comments for

Response Fields

Below are the fields you may see in a ticket comment result:
FieldTypeDescription
idstringComment unique ID
contentstringComment text
contentHtmlstringHTML content
contentMarkdownstringMarkdown content
contentJsonstringJSON content
isEditedbooleanWhether the comment was edited
threadNamestringThread name
commentVisibilitystringComment visibility
commentTypestringType of comment
isPinnedbooleanWhether the comment is pinned
sourceEmailIdstringSource email ID
metadataobjectMetadata (e.g., mentions, userReactions)
createdAtstringCreation timestamp (ISO8601)
updatedAtstringLast update timestamp (ISO8601)
authorstringAuthor username or email
authorAvatarUrlstringAuthor avatar URL
attachmentsarrayList of attachment objects
authorIdstringAuthor user ID
authorUserTypestringAuthor user type (e.g., “ORG_ADMIN”)
impersonatedUserEmailstringImpersonated user email
impersonatedUserNamestringImpersonated user name
impersonatedUserAvatarstringImpersonated user avatar
deletedAtstringDeletion timestamp (if deleted)
Other top-level fields in the response:
FieldTypeDescription
dataarrayList of comment objects
statusbooleanWhether the request was successful
messagestringStatus message
timestampstringTime the response was generated (ISO8601)

Sample Response

{
  "data": [
    {
      "id": "SY7BWX0K10YKRDE5FAHNBHFBS986H",
      "content": "Thank you for reporting this database connection timeout issue. I've escalated this to our database team for investigation. Expected resolution timeframe: 24-48 hours.",
      "contentHtml": "",
      "contentMarkdown": "Thank you for reporting this database connection timeout issue. I've escalated this to our database team for investigation. Expected resolution timeframe: 24-48 hours.",
      "contentJson": "{\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"attrs\":{\"textAlign\":\"left\"}}]}",
      "isEdited": false,
      "threadName": null,
      "commentVisibility": "public",
      "commentType": "comment",
      "isPinned": false,
      "sourceEmailId": null,
      "metadata": {
        "mentions": [],
        "userReactions": []
      },
      "createdAt": "2025-07-24T09:31:03.888Z",
      "updatedAt": "2025-07-24T09:31:03.887Z",
      "author": "shakthi+1",
      "authorAvatarUrl": null,
      "attachments": [],
      "authorId": "UTH00SEXXFNVVN",
      "authorUserType": "ORG_ADMIN",
      "impersonatedUserEmail": null,
      "impersonatedUserName": null,
      "impersonatedUserAvatar": null,
      "deletedAt": null
    }
  ],
  "status": true,
  "message": "Comments fetched successfully!",
  "timestamp": "2025-07-24T11:32:32.215Z"
}