Skip to main content
Glama

Create Work Item

gitlab_create_work_item

Create GitLab work items such as issues, tasks, epics, incidents, or tickets with titles, descriptions, labels, assignees, dates, and parent links.

Instructions

Create a work item of type issue, task, incident, test_case, epic, key_result, objective, requirement, or ticket.

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": {
      "title": "<title>"
    },
    "name": "gitlab_create_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
titleYes
labelsNo
weightNo
due_dateNo
parent_iidNo
project_idNo
start_dateNo
descriptionNo
confidentialNo
iteration_idNo
milestone_idNo
health_statusNo
assignee_usernamesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv1.7.0
    • removedInput schema / properties / confidential / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / confidential / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / due_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / due_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / iteration_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / iteration_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / milestone_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / milestone_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / weight / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / weight / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the mutation and non-idempotency profile is known without the description. The description adds nothing beyond that — no note on permission/scope requirements, no defaults for the optional type, no note that parent_iid must belong to the same project, and no warning about duplicate creation given non-idempotency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, which is structurally clean. However, the enumerated type list is the one piece of content that duplicates the schema, so the brevity reflects under-specification rather than efficiency.

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

Completeness2/5

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

For a 14-parameter mutation tool with no output schema and 0% schema description coverage, the description should explain at minimum the project scoping, the type default, and key optional fields. It covers none of this, leaving the agent to guess at most inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 14 parameters, so the description carries the full burden and fails: the only parameter content is the type enumeration, which merely restates the schema's own enum. Formats for due_date/start_date, the distinction between project_id and a group context, and the meaning of parent_iid, milestone_id, iteration_id, and health_status are all left unexplained.

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 ('Create') and resource ('work item') and enumerates the allowable types, so the agent knows exactly what operation is performed. It does not, however, distinguish this from closely named siblings such as gitlab_create_issue, leaving ambiguity about which creator to pick.

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 or when-not-to-use guidance, no mention of prerequisites such as whether project_id or a group context is required, and no pointer to gitlab_create_issue or gitlab_update_work_item as alternatives. The agent must infer everything about selection from the name alone.

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