Skip to main content
Glama

List my tickets

glpi_list_my_tickets
Read-onlyIdempotent

"My tickets": tickets of the connected GLPI user (or of users_id) where they are requester, assigned technician or observer. Defaults: open tickets only (not solved nor closed), most recently updated first. Each row names the people: requesters, assigned and observers as {id, name}, plus status_name and my_roles. Use this for "meus chamados", "my open tickets", "tickets assigned to me".

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_my_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoWhich link to the user: requester, assigned (technician), observer, or any (default)
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)
statusNoStatuses to include (default open = not solved nor closed): new, assigned (= processing), planned, pending, solved, closed, open. One name or a list.
users_idNoAnother user's ID (default: the connected user)

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNoPagination hint: how to fetch the next page
roleNo
userNoWhose tickets these are
countNoItems in this page
totalNoTotal matching tickets (all pages)
formatNo'markdown' when data holds the markdown rendering
statusNo

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.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world, so the safety profile is known; the description adds substantive behavior beyond that: the default status filter excludes solved and closed, sorting defaults to last update, and rows are enriched with status_name and my_roles. It does not disclose pagination limits or result-size behavior, 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?

Front-loads the scope definition, then defaults, then row shape, then usage triggers — a sensible ordering with no filler. It is dense and somewhat run-on in the first sentence, but every sentence carries information an agent would otherwise have to infer.

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?

For an eight-parameter read tool with full schema coverage, annotations, and an output schema, the description supplies everything needed to select and call it: identity scope, defaults, row enrichment, and trigger phrases. The brief return-shape note is technically redundant with the output schema but is harmless and helps an agent choose the markdown format.

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% and all eight parameters carry enum values and inline explanations, so the schema does the heavy lifting. The description restates the status default (open = not solved nor closed) and the sort/order default, but adds no new syntax or format guidance for role, range, fields, or format beyond what is already documented. Baseline 3 applies.

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 precise verb+resource+scope: tickets of the connected GLPI user (or users_id) where the user is requester, assigned technician, or observer. This scope restriction is exactly what distinguishes it from the general glpi_list_tickets sibling, so an agent can disambiguate 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?

Gives concrete user-phrase triggers ("meus chamados", "my open tickets", "tickets assigned to me") plus the default window (open only, most recently updated first), which tells the agent when this tool is the right pick. It stops short of naming the non-personal glpi_list_tickets as the alternative when a different user scope or cross-user listing is needed.

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.