Skip to main content
Glama

get_issue_notes

Retrieves all comments and notes for a specific GitLab issue, with pagination and sort options to review discussion history or track feedback.

Instructions

Get all notes (comments) for a specific issue

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": {
      "project": "<project>",
      "issueIid": "<issueIid>"
    },
    "name": "get_issue_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination
sortNoSort order for notes
orderByNoField to order by
perPageNoNumber of notes per page (max 100)
projectYesProject ID or path (e.g., "group/project" or "123")
issueIidYesIssue internal ID (iid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: no statement about read-only safety, authentication/permission needs, pagination defaults, or what the returned notes contain. The pagination parameters appear only in the schema, so an agent must open the schema to learn that results are paged.

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?

A single short sentence with zero filler and the essential resource front-loaded. It earns its place but is so terse that it omits readily includable clarifications rather than being wasteful.

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?

For a six-parameter read tool with no annotations and no output schema, the description is minimally adequate: it identifies the resource but says nothing about return shape, pagination behavior, or permissions. The rich schema compensates for parameter documentation, but behavioral completeness remains thin.

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 project, issueIid, page, perPage, sort, and orderBy all documented including enums and bounds. The description adds no extra semantic detail beyond confirming the issue scoping, so the baseline 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?

States a specific verb ('Get') and resource ('all notes (comments) for a specific issue'), and the parenthetical gloss clarifies that notes are comments. It clearly implies the issue-scoped list operation, though it never names the singular sibling get_issue_note to make the all-vs-one distinction explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for a specific issue' scopes usage to a known issue, which implicitly distances it from the merge-request note tools and from the singular get_issue_note. However, there is no explicit when-to-use guidance, no exclusions, and no mention of alternatives for fetching a single note or notes on other resources.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.