Skip to main content
Glama
Zendesk MCP Server by Fruggr

Zendesk MCP Server by Fruggr

Get Tickets In A View

get_view_tickets
Read-onlyIdempotent

Retrieve the tickets in a Zendesk view in the order agents see them, with cursor pagination, optional sorting, and next SLA breach details.

Instructions

Read a view's tickets in the view's own order, as the agent sees it in Zendesk. Same fields as list_tickets, cursor-paginated; each SLA-covered ticket shows its next breach (every metric: get_ticket or search_tickets). Descriptions are cut to 200 characters (full text: get_ticket).

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": {
      "view": "<view>"
    },
    "name": "get_view_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewYesView title (case-insensitive) or id, from list_views; on no match the available titles come back so you can retry.
cursorNoCursor from the previous response; omit for the first page.
sort_byNoOne of the view's columns to sort by instead (e.g. "status", "priority", "updated_at", a custom field id), except "subject" and "submitter".
page_sizeNoTickets per page.
sort_orderNoDirection for sort_by only: "asc" (oldest/lowest first) or "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."New value: +"Cursor from the previous response; omit for the first page."
    • changedInput schema / properties / page_size / description
      Previous value: -"Tickets per page (1-100, default 25)."New value: +"Tickets per page."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Optional column to sort by, overriding the view's own sort. Must be one of the view's columns (e.g. \"status\", \"priority\", \"updated_at\", or a custom field id); \"subject\" and \"submitter\" are not sortable. Omit to keep the view's configured order."New value: +"One of the view's columns to sort by instead (e.g. \"status\", \"priority\", \"updated_at\", a custom field id), except \"subject\" and \"submitter\"."
    • changedInput schema / properties / sort_order / description
      Previous value: -"Sort direction applied to sort_by: \"asc\" (oldest/lowest first) or \"desc\" (newest/highest first). Only meaningful together with sort_by; omit to keep the view's configured direction."New value: +"Direction for sort_by only: \"asc\" (oldest/lowest first) or \"desc\"."
    • changedInput schema / properties / view / anyOf
      Previous value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 9007199254740991,
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "exclusiveMinimum": 0,
      +    "type": "integer"
      +  }
      +]
    • changedInput schema / properties / view / description
      Previous value: -"The view to read: its exact title as shown in Zendesk (e.g. \"Unassigned tickets\") or its numeric id from list_views. A title is matched case-insensitively against your active views; on no match the tool returns the available titles instead of erroring, so you can retry with a correct one."New value: +"View title (case-insensitive) or id, from list_views; on no match the available titles come back so you can retry."
  2. Changed2 schema fields changedv3.5.2
    • changedInput schema / properties / page_size / default
      Previous value: -100New value: +25
    • changedInput schema / properties / page_size / description
      Previous value: -"Tickets per page (1-100, default 100)."New value: +"Tickets per page (1-100, default 25)."
  3. 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"
  4. Addedv2.11.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses genuine behavioral traits: tickets come back in the view's order, results are cursor-paginated, SLA-covered tickets expose their next breach, and descriptions are truncated to 200 characters.

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 compact sentences that front-load the core behavior and then layer scope, pagination, and truncation details. The parenthetical cross-references are dense but each carries routing value.

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 supplies the return shape by reference ('Same fields as list_tickets'), plus the caveats that matter (truncation, SLA breach field, pagination). Nothing an agent needs to call this correctly appears 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 coverage is 100%, so the schema already documents view, cursor, sort_by, page_size, and sort_order. The description only reinforces pagination ('cursor-paginated') without adding syntax or edge-case meaning beyond the structured fields, so 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 view's tickets') plus scope ('in the view's own order, as the agent sees it in Zendesk'), which distinguishes it from list_tickets and search_tickets without requiring a schema read.

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 establishes clear context for use (tickets within a saved view, in view order) and routes the agent elsewhere for full text ('get_ticket') and SLA metric detail ('get_ticket or search_tickets'). It does not state an explicit when-not versus list_tickets, so it falls short of a full 5.

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