Skip to main content
Glama

Create Work Item Note

gitlab_create_work_item_note

Add a note or threaded reply to a GitLab work item, enabling comments on tasks and responses within existing discussions.

Instructions

Add a note or threaded reply to a work item.

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": {
      "iid": "<iid>",
      "body": "<body>"
    },
    "name": "gitlab_create_work_item_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
iidYes
bodyYes
internalNo
project_idNo
discussion_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.7.0
    • removedInput schema / properties / discussion_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / discussion_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / internal / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / internal / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, and open-world behavior, so the description only needs to add context. It adds the existence of threaded replies but says nothing about permissions, note visibility (internal vs public), or that repeated calls create duplicate notes — leaving the mutation profile thin.

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?

The single sentence is front-loaded and free of waste, which is good structure, but its brevity is under-specification rather than discipline given the five undocumented parameters.

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 five-parameter mutating tool with no output schema and zero schema documentation, the definition leaves the agent guessing about required identifiers and the internal-note switch. It is not complete enough to invoke confidently without reading the raw schema.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must carry the burden and does not. It conveys the note body and vaguely the discussion_id via 'threaded reply', but never explains iid, project_id, or the 'internal' flag, which is the most semantically loaded option.

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 ('Add') and resource ('note or threaded reply') scoped to a work item, which is enough to tell it apart from sibling emoji-reaction, update, and delete tools. It stops short of naming a discriminating alternative such as gitlab_create_draft_note or gitlab_create_note.

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 explicit when-to-use guidance, no prerequisites, and no mention of when to prefer this over draft notes or the generic note-creation siblings. The only implied usage cue is 'threaded reply', which hints at replying within an existing discussion.

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