Skip to main content
Glama

update_merge_request_note

Modify an existing merge request note by specifying project ID, merge request IID, and note ID. Updates the thread content directly in GitLab.

Instructions

Modify an existing merge request note. Use this for an existing resource; choose the corresponding create tool for a new resource and a note tool for discussion-only text. It changes remote GitLab state and requires the necessary project or group permission; GitLab returns validation, conflict, permission, or rate-limit errors instead of silently applying an invalid request. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesThe content of the note or reply
note_idYesThe ID of a thread note
project_idYesProject ID or complete URL-encoded path to project
merge_request_iidYesThe IID of a merge request

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv2.1.18
  2. Removedv2.1.14
  3. Addedv2.1.11
  4. Removedv2.1.10
  5. Changed2 schema fields changedv2.1.9
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / required
      Previous value: -[
      -  "body"
      -]New value: +[
      +  "body",
      +  "project_id",
      +  "merge_request_iid",
      +  "note_id"
      +]
  6. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

The description discloses that it changes remote state, requires permissions, and may return specific error types (validation, conflict, permission, rate-limit). This adds value beyond the openWorldHint annotation and sets expectations for side effects.

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 description is moderately concise but has some redundancy (e.g., 'use required identifiers and pagination fields exactly as documented' adds little). It front-loads the core purpose, but the latter half is somewhat generic. Could be tightened.

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?

No output schema exists, but description covers error behavior (validation/conflict/permission/rate-limit). However, it doesn't clarify what 'modify' does (e.g., replaces body only, supports replies?), and note_id semantics are vague ('The ID of a thread note' doesn't explain how to obtain it). Mixed completeness.

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 descriptions already cover all parameters (100% coverage), so baseline is 3. The description adds a note about numeric ID or URL-encoded path, which is helpful but only partially matches schema (mentions group_id which isn't in schema). No additional semantic value for body, note_id, or merge_request_iid.

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 clearly states 'Modify an existing merge request note' with a specific verb and resource, which immediately conveys the tool's purpose. It also distinguishes from create tools by explicitly mentioning 'existing' vs. new resources, though some siblings like update_merge_request thread notes exist.

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 description says to use this for existing resources and to choose a create tool instead for new notes, which provides some differentiation. However, it doesn't explicitly exclude other related tools like get_merge_request_note or delete_merge_request_note, leaving the 'when not to use' partly ambiguous.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zereight/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server