Skip to main content
Glama

List ticket groups

glpi_list_ticket_groups
Read-onlyIdempotent

List all groups linked to a ticket, including requester, observer, and assigned, with group IDs, names, and type names.

Instructions

List all groups linked to a ticket (requester, observer, assigned), with each group's name (group_name) beside groups_id and type_name (in the GLPI user's language). type: 1=Requester, 2=Assigned, 3=Observer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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)
ticketIdYesItem ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
noteNoPagination hint: how to fetch the next page
countNoItems in this page
formatNo'markdown' when data holds the markdown rendering

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the full safety profile (read-only, idempotent, non-destructive, closed-world), so the burden is light. The description adds genuinely useful context beyond annotations: the shape of each returned group (group_name beside groups_id and type_name) and the meaning of the type codes, plus the note that type_name is localized.

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 compact sentences, front-loaded with the verb and resource. The type-code mapping is a terse trailing fragment; no wasted prose, though the parenthetical enumerations add slight density.

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 simple read-only, single-required-param tool with an output schema and full annotation coverage, the description is essentially complete — it even pre-describes the return fields. It only lacks explicit guidance on when to choose this over other listing tools.

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 three parameters (ticketId, fields, format) are documented in the schema, so the baseline is 3. The description's details (group_name, groups_id, type_name, type codes) describe return fields rather than parameters, so it adds nothing to parameter meaning.

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?

Specific verb ('List') plus resource ('groups linked to a ticket') and scope ('requester, observer, assigned'). It is immediately distinguishable from siblings like glpi_list_ticket_users or glpi_add_ticket_group without opening any schema.

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

Usage Guidelines3/5

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

Usage is implied: call this to enumerate the groups attached to a given ticket. However, there is no explicit when-to-use guidance or routing to alternatives such as glpi_list_groups (all groups) vs this ticket-scoped list, so the agent must infer the distinction.

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

Deploy Server

Other Tools