Skip to main content
Glama

getSupportTickets

Read-only

List support tickets. Omit locationRef to list tickets across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId. Newest first by default; sort with order. Filter by userRefAssignee or createDate range.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of tickets per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100.
orderNoSort order as `<field>:<direction>`, where field is createDate or updateDate and direction is asc or desc. Defaults to createDate:desc.
createDateNoFilter by create date (createDate). Provide gte, lte ISO datetimes.
locationRefNoUUID of the location whose tickets to list. Omit to list tickets across every location of the network.
nextPageTokenNoPagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page.
userRefAssigneeNoFilter tickets by assignee user IDs. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The users must exist. In one location, only support admins can filter by assignee; across the network, the filter applies to the tickets the caller may see.
companyRefRequesterNoFilter tickets by the IDs of the companies they are requested for. Pass one UUID or multiple unique comma-separated UUIDs without spaces, e.g. `id` or `id1,id2,id3`, up to 100. The companies must exist in the location, or in the network when locationRef is omitted. Support admins of a company's location can filter by it; other users only by a company they are a member of. With membershipRefRequester, lists the tickets that match either filter.

Output Schema

NameRequiredDescriptionDefault
ticketsYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / tickets / items / properties / subscriptionRef
      Added value: +{
      +  "description": "ID of the subscription request this ticket holds the conversation of.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description adds genuine behavior not in the annotations — default ordering is newest-first and can be changed with order, plus which filters are available. It says nothing about pagination behavior or the response shape, though an output schema exists.

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?

Four short sentences, each carrying distinct information: what it lists, the scoping rule, how to resolve locations, and sorting/filtering defaults. The scoping rule is front-loaded right after the purpose statement, and there is no filler.

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 7-parameter read-only tool with a full output schema and readOnly annotations, the description covers the decisions an agent actually needs: scoping, sibling routing for location IDs, default sort, and filter options. The gaps (pagination via nextPageToken, the companyRefRequester union behavior, assignee permission limits) are all handled in the schema, so completeness is good but not exhaustive.

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 every parameter including nested createDate.gte/lte is already documented in the schema. The description mentions locationRef, order, userRefAssignee, and the createDate range but omits limit, nextPageToken, and companyRefRequester, adding essentially no syntax or semantics beyond what the schema provides. Baseline 3 is appropriate.

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?

The opening sentence names a specific verb and resource ("List support tickets") and immediately defines the scope axis via locationRef. It does not explicitly differentiate itself from the singular getSupportTicket sibling, but an agent can tell this is the collection-listing operation from the description alone.

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 explicit conditional guidance: omit locationRef to list across all locations, provide it to scope to one. It also routes the agent to getLocations/getLocation to resolve a locationId before calling. It stops short of stating when to prefer this over getSupportTicket or when not to use it, so it is not a full 5.

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