Skip to main content
Glama

List tickets

glpi_list_tickets
Read-onlyIdempotent

List GLPI tickets of the whole instance (every ticket the connected user may see), most recently updated first by default. Filter by status (e.g. status: 'open' = not solved nor closed) and choose the sort column and direction. Each row carries status_name, type_name, priority_name (in the GLPI user's language), category_name, and requesters and assigned technicians as {id, name}. For the connected user's OWN tickets ("my tickets") use glpi_list_my_tickets instead.

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

Input Schema

NameRequiredDescriptionDefault
sortNoSort column (default date_mod = last update)
orderNoSort direction (default desc = most recent first)
rangeNoPagination range, e.g. 0-49
fieldsNoField set: 'essential' (default, trims internal GLPI fields) or 'all'
formatNoOutput format: 'json' (default) or 'markdown' (a table for listings, key/value lines for one item; returned in both the text and the structured result)
statusNoOnly tickets in these statuses: new, assigned (= processing), planned, pending, solved, closed, or open (= new + assigned + planned + pending). One name or a list. Default: every status.
expand_dropdownsNoExpand dropdown IDs to names

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNoPagination hint: how to fetch the next page
countNoItems in this page
totalNoTotal matching items in GLPI (all pages)
formatNo'markdown' when data holds the markdown rendering

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / status / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "open",
      -      "new",
      -      "assigned",
      -      "processing",
      -      "planned",
      -      "pending",
      -      "solved",
      -      "closed"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "$ref": "#/properties/status/anyOf/0"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "open",
      +      "new",
      +      "assigned",
      +      "processing",
      +      "planned",
      +      "pending",
      +      "solved",
      +      "closed"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "open",
      +        "new",
      +        "assigned",
      +        "processing",
      +        "planned",
      +        "pending",
      +        "solved",
      +        "closed"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: the default ordering (date_mod desc), the visibility scope ('every ticket the connected user may see'), the status semantics, and that dropdown IDs can be expanded to names. It does not discuss pagination limits or result-size constraints, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly written sentences, with scope and default ordering front-loaded and the alternative tool named last. The middle sentence enumerates returned row fields, which partly duplicates the existing output schema; that is the one piece of text that does not fully earn its place.

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 zero-required-parameter listing tool with full schema coverage, annotations, and an output schema, the description covers scope, filtering, sorting, default order, and the sibling alternative. Pagination behavior (how to page with 'range', whether there is a cap) is the notable omission.

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% and four of seven parameters are enums with inline descriptions, so the schema already carries most of the meaning. The description reinforces the default sort and clarifies that 'open' means 'not solved nor closed', but adds little syntax or behavior about range, fields, or expand_dropdowns. 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 ('List GLPI tickets') plus the exact scope: the whole instance, limited to what the connected user may see, ordered by most recently updated by default. It explicitly contrasts itself with glpi_list_my_tickets, so an agent can distinguish the two without opening either schema.

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?

The final sentence gives an explicit routing rule: use this for the whole instance, use glpi_list_my_tickets for the caller's own tickets. It also explains how to filter (status) and sort. It does not address the many other list_* siblings, but no incorrect inference is invited.

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.