Skip to main content
Glama

update_merge_request

Update the title and/or description of a GitLab merge request to reflect changes or corrections.

Instructions

Update merge request title and/or description.

Args: project_id: GitLab project ID mr_iid: Merge request IID title: New title (optional) description: New description (optional)

Returns: Confirmation message with updated MR details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
mr_iidYes
project_idYes
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

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 burden. It states 'Update merge request title and/or description' and 'Returns: Confirmation message', but it does not disclose whether the tool preserves unspecified fields, what happens if both title and description are null, or whether it requires write permissions.

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?

The description is compact, with a one-sentence opening, then a simple Args/Returns block. All sentences earn their place, and the purpose is front-loaded, despite the format being a bit verbose.

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?

With only 4 parameters, a straightforward action, and an output schema present, the description is mostly adequate. But it lacks edge-case details—like what happens when only one field is updated, or whether clearing a field requires an empty string or null—and provides no usage context relative to sibling MR tools.

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?

The description adds meaning beyond bare parameter names: 'project_id' becomes 'GitLab project ID' and 'mr_iid' becomes 'Merge request IID', and it notes that title/description are optional. However, it does not explain accepted formats, constraints (e.g., max length), or the effect of null vs. omitted values.

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 states a specific verb ('Update') and a resource ('merge request title and/or description'), which is clear. While it does not explicitly distinguish from the sibling update_merge_request_comment, the resource ('merge request title/description') makes the intended target obvious.

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?

No guidance is given about when to use this tool versus alternatives like get_merge_request, list_merge_requests, or add_merge_request_comment. It does not mention prerequisites, such as checking the current MR before updating, or how it relates to other update tools.

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