Skip to main content
Glama
godrix

@godrix/mcp-gitlab-utils

by godrix

Manage merge requests

gitlab_manage_merge_requests

Manage GitLab merge requests: list, create, update, approve, merge, close, reopen, set draft/ready, and add comments. Streamline MR workflows directly from the AI agent.

Instructions

List, create, update, approve, merge, close, reopen, draft/ready, or comment on merge requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
shaNoExpected source branch SHA (GitLab merge validation).
stateNoFilter for list action.
titleNoTitle (create/update).
actionYes
labelsNoComma-separated labels (create/update).
squashNoSquash commits when merging.
commentNoComment body (comment action).
repo_pathNoAbsolute local clone path; resolves project and MR from current branch.
project_idNoNumeric ID or group/repo path on GitLab.
descriptionNoDescription (create/update).
list_per_pageNo
source_branchNoFilter for list or branch for create.
target_branchNoTarget branch for create (default: project default_branch).
merge_request_iidNoMerge request IID. Omit with repo_path to resolve from current branch.
merge_commit_messageNoMerge commit message.
remove_source_branchNoRemove branch after merge (create/update/merge).
squash_commit_messageNoSquash commit message.
merge_when_pipeline_succeedsNoSchedule merge when pipeline succeeds.
Behavior2/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, but the description adds little behavioral context beyond listing actions. It does not disclose permission requirements, side effects of actions like merge or close, or any rate limits. The description lacks detail that would help an agent understand behavior beyond the annotations.

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 very short (one sentence) and front-loads the actions, but it is merely a list without any structuring or explanation. It could be improved by grouping actions or mentioning typical workflows, but it is not overly verbose.

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?

For a tool with 18 parameters, no output schema, and a wide range of actions, the description is incomplete. It does not explain return values, error conditions, or action-specific parameter requirements. The agent would need to consult the schema heavily.

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 89%, so most parameters already have descriptions in the schema. The description does not add any parameter-level semantics; it only lists the available actions. Baseline of 3 is appropriate since schema handles the burden.

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 tool manages merge requests with a list of specific actions (list, create, update, approve, merge, close, etc.), which distinguishes it from sibling tools that are more narrowly focused (e.g., gitlab_get_merge_request). However, it could be more precise about the exact resource (GitLab merge requests).

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 provided on when to use this tool versus alternatives. There are siblings like gitlab_get_merge_request for reading a single MR, but the description does not mention trade-offs or exclusions. The agent must infer usage from the action list.

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

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