Skip to main content
Glama

Add group to ticket

glpi_add_ticket_group

Add a group to a GLPI ticket as requester, assigned, or observer by providing ticket ID, group ID, and role type.

Instructions

Add a group to a ticket as requester, observer, or assigned. type: 1=Requester, 2=Assigned, 3=Observer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes1=Requester, 2=Assigned, 3=Observer
groups_idYesGroup ID
tickets_idYesTicket ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
replayedNoTrue when an identical recent create was returned instead of repeated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation and idempotency profile is covered. The description adds the role mapping, which is behavioral context (the group becomes requester/observer/assigned), but says nothing about duplicate handling, permissions, or side effects beyond what the schema and annotations already convey.

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?

Two short sentences with no filler; the core action is front-loaded and the role mapping follows immediately. Nothing an agent doesn't need.

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 relation-creation tool with full schema coverage, annotations, and an output schema, the description is nearly complete for correct invocation. It falls short only on selection context relative to siblings, which the usage guidelines also omit.

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 the schema already documents tickets_id, groups_id, and the type enum with identical wording. The description merely repeats the type mapping, adding no meaning beyond the structured fields, so the baseline of 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 ('Add a group to a ticket') and enumerates the roles the group can take. The resource 'group' naturally distinguishes it from the sibling glpi_add_ticket_user, though no sibling is named explicitly.

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?

The description explains what the tool does but gives no when-to-use guidance, no prerequisites, and no alternatives (e.g., glpi_add_ticket_user for users or glpi_list_ticket_groups to inspect existing groups). An agent must infer usage entirely from the name.

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