Skip to main content
Glama

List tickets

deskpro_list_tickets
Read-only

List tickets, filtered by status, assigned agent, requester, organization, department or labels, and sorted. Returns ticket objects (id, ref, subject, ticket_status, agent, person, department, urgency, labels, dates) plus pagination meta. Deskpro: GET /api/v2/tickets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNoFetch exactly these ticket ids (comma-separated).
pageNoPage number, starting at 1.
agentNoOnly tickets assigned to this agent id.
countNoResults per page, 1-200.
labelsNoOnly tickets with these labels (comma-separated).
personNoOnly tickets raised by this person id.
statusNoOnly tickets in this status, e.g. awaiting_agent, awaiting_user, pending, resolved.
includeNoComma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization.
order_byNoSort field.
departmentNoOnly tickets in this department id.
group_sortNoSort direction.
organizationNoOnly tickets from this organization id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this as a safe read, so the bar is lower. The description adds useful context by naming the returned ticket fields and the pagination meta, and notes it maps to GET /api/v2/tickets. It does not mention auth requirements, rate limits, or default page size, so it is additive but not rich.

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?

Two tightly written sentences that front-load the purpose and filters before the return shape. The trailing API-endpoint reference is marginally redundant metadata but is compact and does not bury the operative content.

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 read-only list tool with no output schema, the description usefully sketches the return payload (ticket fields plus pagination meta), which compensates for the missing output schema. It is nearly complete; the only real gap is guidance on selecting this tool over its scoped siblings.

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 12 parameters, and the description only restates the filter dimensions at a coarser level. It adds no syntax or format detail (e.g., status values or label semantics) beyond what the enum and per-field descriptions provide, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List tickets") and enumerates the filterable dimensions (status, agent, requester, organization, department, labels) plus sorting. It is clear about what the tool returns, but it never distinguishes itself from similarly named siblings such as deskpro_list_organization_tickets, deskpro_list_person_tickets, or deskpro_search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative routing. The agent is left to infer that this is the general ticket-listing endpoint versus the scoped variants (list_person_tickets, list_organization_tickets) or deskpro_search, which is exactly the ambiguity a definition should resolve.

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.