Skip to main content
Glama

Create Issue Note

gitlab_create_issue_note

Create a GitLab issue comment as a top-level note or within a specific discussion.

Instructions

Create issue comment (top-level or discussion note).

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": {
      "issue_iid": "<issue_iid>",
      "body": "<body>"
    },
    "name": "gitlab_create_issue_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
issue_iidYes
created_atNo
project_idNo
discussion_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.7.0
    • removedInput schema / properties / created_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / created_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / discussion_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / discussion_id / type
      Added value: +[
      +  "string",
      +  "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 readOnlyHint=false, idempotentHint=false, openWorldHint=true, and destructiveHint=false, but the description adds no behavioral context beyond 'create' — no mention that repeated calls produce duplicate comments, no permission or auth requirements, no notification side effects. For a mutation tool this leaves most behavioral burden on the annotations alone.

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 zero filler, which is good structurally. However, the brevity crosses into under-specification for a five-parameter mutation tool, so there is little substance earning its place.

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?

With five parameters, 0% schema coverage, no output schema, and only annotation-level safety disclosure, the description is too thin. An agent cannot learn required formats, the role of project_id versus issue_iid, or what the returned note looks like.

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 five parameters, so the description must compensate and largely does not. 'Top-level or discussion note' only faintly gestures at discussion_id, while issue_iid, project_id, body, and created_at receive no explanation of format or role.

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 pairs a specific verb (Create) with a specific resource (issue comment) and clarifies the two supported forms: top-level comment or discussion note. It is unambiguous about what gets created, though it does not name distinguishing siblings such as gitlab_create_merge_request_note or gitlab_create_draft_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 or when-not-to-use guidance. The parenthetical hints that a discussion reply is possible, but nothing tells the agent when to pick this over gitlab_create_note, gitlab_create_draft_note, or the merge-request note variants, nor any prerequisites for posting.

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