Skip to main content
Glama
lininn

GitLab Review MCP

by lininn

get_merge_request_changes

Retrieve code changes from GitLab merge requests to review modifications before merging. This tool fetches diffs and file updates for code review workflows.

Instructions

Get merge request changes (GitLab compatibility alias)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repositoryNoRepository/project identifier (e.g., "group/project"). Optional if workingDirectory is provided.
pullRequestNumberNoPull/MR number (IID). Optional if mergeRequestIid is provided.
mergeRequestIidNoMerge request IID (GitLab). Optional if pullRequestNumber is provided.
providerNoGit provider (default gitlab)gitlab
workingDirectoryNoLocal repository path for auto-detecting project ID (aliases: working_directory, cwd)
remoteNameNoGit remote name used for auto-detecting the project IDorigin
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It only mentions 'GitLab compatibility alias' which hints at cross-provider support but doesn't clarify what 'changes' means, whether this is a read-only operation, what authentication might be needed, error conditions, or response format. For a tool with 6 parameters and no annotations, this is inadequate.

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 extremely concise - a single sentence that wastes no words. However, this brevity comes at the cost of being under-specified for a tool with this complexity. While structurally efficient, it lacks the necessary detail that would make it truly helpful.

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 6 parameters, no annotations, no output schema, and multiple sibling tools that appear related, the description is insufficient. It doesn't explain what 'changes' means, how this differs from similar tools, what the return format looks like, or any behavioral characteristics. The agent would struggle to use this tool effectively without additional context.

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 the schema fully documents all 6 parameters. The description adds no parameter-specific information beyond what's already in the schema, maintaining the baseline score of 3. However, it doesn't compensate for any gaps since there are none in the schema.

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

Purpose2/5

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

The description 'Get merge request changes (GitLab compatibility alias)' is tautological - it essentially restates the tool name with minimal elaboration. While it mentions 'GitLab compatibility alias', it doesn't specify what kind of changes are retrieved (diffs, file lists, commit details) or how this differs from similar tools like 'fetch_pull_request' or 'get_pull_request_files' among the siblings.

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

Usage Guidelines1/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. With siblings like 'fetch_pull_request', 'get_merge_request', and 'get_pull_request_files', the description offers no differentiation or context about appropriate use cases, leaving the agent to guess based on tool names alone.

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

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