Skip to main content
Glama

Add user to ticket

glpi_add_ticket_user

Add a user 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>",
      "users_id": "<users_id>",
      "type": "<type>"
    },
    "name": "glpi_add_ticket_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes1=Requester, 2=Assigned, 3=Observer
users_idYesUser 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 / users_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

C2.9/5.0
Behavior2/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 safety basics are covered. The description adds nothing behavioral beyond those flags: it does not say what happens on duplicate assignment, whether an existing role is replaced, or what the call returns. The one added sentence simply restates the type mapping already in the schema.

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 sentences, front-loaded with the core action and role list. The second sentence is redundant with the schema but is cheap and reinforces comprehension; nothing else is wasted.

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 so return values need not be explained, and parameters are fully documented. However, for a non-idempotent mutation that is open-world, the definition omits conflict behavior and permission/entity requirements, leaving meaningful gaps relative to the tool's complexity.

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% with all three required parameters documented, so the baseline of 3 applies. The description's type legend duplicates the enum-like mapping already present in the schema rather than adding constraints, ordering, or edge cases.

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 user to a ticket) plus the three roles the assignment can take, which is enough for an agent to know what the call does. It does not differentiate itself from siblings such as glpi_add_ticket_group or glpi_list_ticket_users, so the boundary must be inferred from names alone.

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?

There is no when-to-use guidance, no prerequisites (e.g. ticket must exist, user must be visible in the entity), and no mention of alternatives for adding other actors to a ticket. The agent is left to infer all selection context from the name.

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.