Skip to main content
Glama

Add task to ticket

glpi_add_ticket_task

Add a task to a ticket. Fields: tickets_id, content (required). Optional: is_private (0/1), state (0=Info, 1=To do, 2=Done), actiontime (seconds), users_id_tech (assigned technician).

Input Schema

NameRequiredDescriptionDefault
stateNo0=Info, 1=To do, 2=Done
contentYesTask content
actiontimeNoDuration in seconds
is_privateNo1=private, 0=public
tickets_idYesTicket ID
users_id_techNoAssigned technician user 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. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=false, destructive=false, and openWorld=true, so the safety profile is covered by structured data. The description adds field semantics but discloses nothing about side effects, required permissions, or what happens to ticket state when a task is added, leaving the annotation bar only partially met.

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?

The description is a compact single block with the core purpose front-loaded and required fields flagged before optional ones. It is efficient, though the terse field dump reads more like a schema echo than a curated summary.

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?

With an output schema present and 100% parameter coverage, the description need not explain return values, and it covers the required/optional split adequately for a straightforward create operation. It is only slightly thin on prerequisites and error conditions for a mutation tool.

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%, so the schema already documents every parameter, and the description's field list (including the state and is_private codes) largely restates it. It adds no format, validation, or default details beyond what the schema provides, 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?

The description states a specific verb and resource ('Add a task to a ticket') and enumerates the fields it accepts, so an agent can immediately tell it is a task-creation tool. However, it does not differentiate from close siblings like glpi_add_followup or glpi_add_solution, which also attach content to a ticket.

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. the ticket must exist), and no pointer to the alternative tools such as glpi_add_followup or glpi_list_ticket_tasks. Usage must be inferred 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.