Skip to main content
Glama

Add group to ticket

glpi_add_ticket_group

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tickets_id": "<tickets_id>",
      "groups_id": "<groups_id>",
      "type": "<type>"
    },
    "name": "glpi_add_ticket_group"
  }
}

Input Schema

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

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / groups_id / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/tickets_id/anyOf/0"
      -  },
      -  {
      -    "$ref": "#/properties/tickets_id/anyOf/1"
      -  }
      -]New value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^0*[1-9]\\d*$",
      +    "type": "string"
      +  }
      +]
  2. First observed

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, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds no behavior beyond that — it does not say what happens if the group is already linked, whether duplicates are created (relevant given idempotentHint=false), or that the call fails for a nonexistent ticket.

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 short, front-loaded sentences with a clear verb-resource opening and the role mapping appended. The role mapping is redundant with the schema enum description, a minor waste, but nothing else is superfluous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and all three required parameters are schema-documented, so the basics are covered. For a mutation tool with idempotentHint=false, however, the description leaves out duplicate-handling, error conditions, and return-value context an agent would want before calling.

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 every parameter is documented in the schema; the description only repeats the type enum mapping that already appears in the schema. Baseline 3 is appropriate since the description adds no meaning beyond the structured fields.

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") plus the three roles the link can occupy. The noun distinguishes it from siblings like glpi_add_ticket_user or glpi_add_ticket_task, but it never names an alternative explicitly, so it stops short of a 5.

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 context is only implied by the operation itself; there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. glpi_list_ticket_groups for reading, glpi_add_ticket_user for user links). No prerequisites such as an existing ticket ID are mentioned.

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.