Skip to main content
Glama

update_merge_request

Update a GitLab merge request's title, description, labels, assignees, reviewers, and milestone. Dry-run mode returns a preview without making changes.

Instructions

Update a merge request (title, description, labels, assignees, reviewers). dry_run=true by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
mr_iidYesMR IID
titleNoNew title
descriptionNoNew description (Markdown)
add_labelsNoLabels to add (comma-separated)
remove_labelsNoLabels to remove (comma-separated)
assignee_idsNoAssignee user IDs
reviewer_idsNoReviewer user IDs
milestone_idNoMilestone ID
dry_runNoDry run mode (default: true). When true, returns a preview of the action without executing it. Set to false only after user confirmation.
Behavior4/5

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

Annotations indicate readOnlyHint=false, consistent with a mutation. The description discloses that dry_run is enabled by default for safety, adding behavioral context beyond annotations. It does not detail permissions or side effects, but the dry_run note is valuable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that conveys the purpose and a critical behavioral detail (dry_run) without unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters fully described in schema and no output schema, the description covers what is updated and the dry-run default. It is adequate for the tool's complexity, though it could mention that dry_run shows a preview.

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 coverage is 100%, so the schema already documents all parameters. The description lists the main updatable fields but adds no new semantic meaning beyond the schema's descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it updates a merge request, listing specific fields (title, description, labels, assignees, reviewers). The verb 'Update' and resource 'merge request' are precise, and it distinguishes from siblings like create_merge_request or merge_merge_request.

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

Usage Guidelines4/5

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

The description mentions dry_run=true by default, which guides safe usage. However, it does not explicitly state when to use this tool versus alternatives like update_issue or approve_merge_request, though the context implies it.

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/wanadev/gitlab-mcp'

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