Skip to main content
Glama
Zendesk MCP Server by Fruggr

Zendesk MCP Server by Fruggr

Get Zendesk Ticket History

get_ticket_history
Read-onlyIdempotent

Retrieve a ticket's audit trail to see who changed which fields and when, oldest first, with before/after values. Use it to answer why a ticket was reassigned or when it moved to pending.

Instructions

Read a ticket's audit trail: who changed which field and when, oldest first. Each entry gives the actor (name and id), the channel and each field change as before → after, user and group ids resolved to names. Comments show only as public or internal markers (bodies: list_ticket_comments). Notification events (trigger emails, CC notifications, pushes) are dropped; CC-list edits still show. Use it for "why was it reassigned?" or "when did it go to pending?".

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": "get_ticket_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoCursor from the previous response; it moves toward the latest changes.
page_sizeNoAudits (ticket updates) per page; one can give several lines, and audits with only system events are dropped, so a page can show fewer.
ticket_idYesTicket id, from search_tickets or list_tickets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.14.0
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor from a previous response; omit for the first page. The timeline is ordered oldest-first, so paging forward moves toward the most recent changes."New value: +"Cursor from the previous response; it moves toward the latest changes."
    • changedInput schema / properties / page_size / description
      Previous value: -"Audits (ticket updates) per page (1-100, default 100). Each audit is one update to the ticket and may expand to several change lines; audits carrying only system events are dropped, so a page can render fewer entries than this."New value: +"Audits (ticket updates) per page; one can give several lines, and audits with only system events are dropped, so a page can show fewer."
    • changedInput schema / properties / ticket_id / description
      Previous value: -"Ticket ID — the numeric id of the ticket whose change history 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.12.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it as a safe read; the description adds substantive behavior beyond that: notification events (trigger emails, CC notifications, pushes) are dropped while CC-list edits still appear, comments collapse to public/internal markers, and ids are resolved to names. These filtering rules are exactly the kind of surprises an agent needs to know before interpreting results.

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, each earning its place: purpose and ordering first, then return shape, then filtering caveats and the sibling pointer. The parenthetical '(bodies: list_ticket_comments)' is an efficient cross-reference rather than wasted words.

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?

No output schema exists, yet the description specifies the entry structure (actor name+id, channel, before → after per field, resolved user/group names) and the notable omissions. For a read-only paginated tool with three params, nothing an agent needs in order to call and interpret it is missing.

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 description coverage is 100%, so all three parameters are already documented, including the caveat that system-only audits are dropped so a page may show fewer lines. The description adds only the 'oldest first' ordering and says nothing further about cursor usage or page_size, so the baseline 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 audit trail'), plus scope and ordering ('oldest first'). It is clearly distinguishable from get_ticket (current state) and list_ticket_comments, which is named explicitly for comment bodies.

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 triggering questions ('why was it reassigned?', 'when did it go to pending?') and routes comment-body needs to list_ticket_comments. It stops short of stating exclusions versus get_ticket for current-state reads, so not a full when/when-not/alternatives treatment.

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