Skip to main content
Glama

get_merge_request_note

Fetches a specific merge request comment by ID so you can inspect individual GitLab review notes.

Instructions

Get a specific note (comment) by ID from a merge request

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>",
      "mergeRequestIid": "<mergeRequestIid>",
      "noteId": "<noteId>"
    },
    "name": "get_merge_request_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteIdYesNote ID
projectYesProject ID or path (e.g., "group/project" or "123")
mergeRequestIidYesMerge request internal ID (iid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.9/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, yet it only implies read-only via 'Get'. It says nothing about permission requirements, behavior when the note ID is missing or belongs to another merge request, or whether it returns the note body and metadata.

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 front-loaded sentence with no wasted wording, and the parenthetical '(comment)' usefully disambiguates terminology. It is efficient, though its brevity is partly why behavioral detail is thin.

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?

This is a simple three-parameter getter whose parameters are fully documented, but with no annotations and no output schema, the description never indicates what the call returns or how failures manifest. An agent can guess it fetches a note, but not what it receives back.

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 each of project, mergeRequestIid, and noteId documented, so the baseline is 3. The description only restates that lookup is by ID and adds no format, path, or edge-case guidance beyond the schema.

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?

Names a specific verb (Get) and resource (note/comment) and scopes it to a single note by ID within a merge request, which implicitly distinguishes it from the plural get_merge_request_notes. It does not explicitly name or contrast any sibling, so it stops short of a 5.

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 statement of when to prefer get_merge_request_notes or get_merge_request_discussions, and no prerequisites mentioned. The only hint is the phrase 'by ID', which implies use after you already know the note ID.

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