Skip to main content
Glama

DeskCrew - AI Chatbot, Helpdesk & Knowledge base

list_tickets

Read-only: list support tickets in the caller's tenant, sorted by most recent message first. Reach for this to discover ticket ids, triage the queue, or poll for activity before acting on a specific ticket; results can be narrowed by status, priority, assignee, and an updated-since timestamp, and capped via limit (max 50, default 20). Returns lightweight ticket summaries (id, subject, status, priority, lastMessageAt, customer, assignee, tenant) plus the total match count: it never creates or modifies anything. [free]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoOptional maximum number of tickets to return, an integer from 1 to 50. Defaults to 20 when omitted. Results are sorted by most recent message first. A number sent as a string is read as a number, and anything above 50 is treated as 50.
sinceNoOptional filter: only return tickets updated at or after this time. An ISO-8601 UTC timestamp (e.g. "2026-06-28T00:00:00Z"). Use this to poll for recently active tickets.
statusNoOptional filter: only return tickets in this status. One of 'active', 'pending', 'snoozed', or 'closed'. Omit to include all statuses.
priorityNoOptional filter: only return tickets at this priority. One of 'low', 'normal', 'high', or 'urgent'. Omit to include all priorities.
assigneeIdNoOptional filter: only return tickets assigned to this agent. Pass the agent id (e.g. from a ticket returned by this tool). Omit to include tickets regardless of assignee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Optional maximum number of tickets to return, an integer from 1 to 50. Defaults to 20 when omitted. Results are sorted by most recent message first."New value: +"Optional maximum number of tickets to return, an integer from 1 to 50. Defaults to 20 when omitted. Results are sorted by most recent message first. A number sent as a string is read as a number, and anything above 50 is treated as 50."
  2. Changed1 schema field changed
    • addedInput schema / properties / assigneeId / minLength
      Added value: +1
  3. Changed5 schema fields changed
    • addedInput schema / properties / assigneeId / description
      Added value: +"Optional filter: only return tickets assigned to this agent. Pass the agent id (e.g. from a ticket returned by this tool). Omit to include tickets regardless of assignee."
    • addedInput schema / properties / limit / description
      Added value: +"Optional maximum number of tickets to return, an integer from 1 to 50. Defaults to 20 when omitted. Results are sorted by most recent message first."
    • addedInput schema / properties / priority / description
      Added value: +"Optional filter: only return tickets at this priority. One of 'low', 'normal', 'high', or 'urgent'. Omit to include all priorities."
    • addedInput schema / properties / since / description
      Added value: +"Optional filter: only return tickets updated at or after this time. An ISO-8601 UTC timestamp (e.g. \"2026-06-28T00:00:00Z\"). Use this to poll for recently active tickets."
    • addedInput schema / properties / status / description
      Added value: +"Optional filter: only return tickets in this status. One of 'active', 'pending', 'snoozed', or 'closed'. Omit to include all statuses."
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares read-only behavior, states it 'never creates or modifies anything,' discloses sort order, the 50/20 limit cap, and enumerates the lightweight summary fields plus the total match count. It omits pagination/continuation behavior beyond the limit cap, which is the main remaining gap.

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?

Front-loads the read-only guarantee and scope, then packs usage, filters, return shape, and the negative guarantee into tightly ordered clauses with no filler. Every clause earns its place.

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 fully specifies the return payload (id, subject, status, priority, lastMessageAt, customer, assignee, tenant plus total match count) and the safety profile in lieu of annotations. An agent has everything needed to call and interpret it.

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 the schema already documents all five parameters including enums, defaults, and format. The description largely reiterates the filters and the limit cap rather than adding syntax or semantics beyond the schema, so the 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 and resource with scope: 'list support tickets in the caller's tenant, sorted by most recent message first.' Coupled with the sibling set (search_tickets, get_ticket_context), an agent can tell this is the discovery/list tool rather than a single-ticket fetch or a keyword search.

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?

Explicitly says 'Reach for this to discover ticket ids, triage the queue, or poll for activity before acting on a specific ticket,' giving clear use contexts. It stops short of naming the alternative tools (search_tickets, get_ticket_context) or stating when NOT to use it, so it is strong but not routing-complete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources