Skip to main content
Glama

update_merge_request

Update a merge request's properties including title, description, target branch, assignees, reviewers, labels, and state using its IID or source branch name.

Instructions

Update a merge request (mergeRequestIid or branchName required)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID or complete URL-encoded path to project
merge_request_iidNoThe IID of a merge request
source_branchNoSource branch name
titleNoThe title of the merge request
descriptionNoThe description of the merge request
target_branchNoThe target branch
assignee_idsNoThe ID of the users to assign the MR to
reviewer_idsNoThe ID of the users to assign as reviewers of the MR
labelsNoLabels for the MR
state_eventNoNew state (close/reopen) for the MR
remove_source_branchNoFlag indicating if the source branch should be removed
squashNoSquash commits into a single commit when merging
draftNoWork in progress merge request
Behavior2/5

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

The description says 'Update' implying mutation, but doesn't disclose behavioral traits like closing/reopening (state_event) or other side effects. Annotations provide openWorldHint but no destructiveHint, so the description adds little beyond the schema.

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 a single concise sentence that front-loads the purpose. It is efficient but lacks structured detail.

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 13 parameters and no output schema, the description is too minimal. It does not cover how to use the tool effectively, such as which parameters are commonly used together, or what response to expect.

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%, so baseline is 3. The description adds no extra meaning beyond the schema, only noting that merge_request_iid or source_branch is required, which is already partially in the schema (required only project_id).

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 the verb 'update' and the resource 'merge request'. It also mentions required parameters. However, it doesn't distinguish from sibling tools like approve_merge_request or merge_merge_request, so it's not 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?

No guidance on when to use this tool versus alternatives. The description only notes required parameters, not when it's appropriate to update vs other operations like approve or merge.

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