Skip to main content
Glama

list_tickets

Read-onlyIdempotent

List Zendesk tickets by scope (all, requested, assigned, organization, view) using user, org, or view IDs; use search with type:ticket for status, tag, date, or text filters.

Instructions

List tickets by scope. For filtering by status, tags, dates, text etc. use search with type:ticket instead (it is far more flexible).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoUser, organization or view ID required by the scope.
sortNoe.g. 'updated_at' or '-created_at' (cursor sort).
limitNo
scopeNo'all' = every ticket; requested/ccd/assigned need a user id; organization needs an org id; view needs a view id.all
fieldsNoOnly return these ticket fields, e.g. ['id','subject','status','updated_at'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds that this is a scope-bounded enumeration and that `search` is the more flexible path, but says nothing about result ordering, cursor/pagination behavior, or result-set size implications beyond what the schema fields already state.

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?

Two sentences, no filler. The core purpose comes first and the alternative-routing rule follows immediately, so the agent hits the decision-relevant information before any optional detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter read-only list tool with 80% schema coverage and no output schema, the description covers purpose plus the key sibling-routing decision. The only meaningful gap is nothing about pagination/cursor semantics or what a returned ticket record minimally contains, which the absent output schema would otherwise require.

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 80% and the schema already explains `id`, `scope` semantics per enum value, `sort`, `fields`, and the limit bounds. The description only reinforces 'by scope' without adding format or interaction detail (e.g. that `id` is mandatory for certain scopes beyond what the schema says). Baseline 3 is appropriate.

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 (list), resource (tickets) and the axis it operates on (scope), and explicitly names the sibling `search` it is not. An agent can distinguish this from `search`, `get_ticket`, or `list_ticket_comments` without opening any 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?

Gives an explicit routing rule: filter by status, tags, dates, or text -> use `search` with type:ticket, because it is 'far more flexible'. That is a concrete when-to-use-elsewhere condition with the alternative named, not just implied.

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