Skip to main content
Glama
godrix

@godrix/mcp-gitlab-utils

by godrix

Prepare review folder (worktree + install)

gitlab_prepare_review

Set up a local review environment for a GitLab merge request by creating a worktree and installing dependencies automatically.

Instructions

Creates a worktree from local repo (repo_path) or shallow HTTPS clone with token. Runs npm ci or composer install by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathNoAbsolute local clone path; resolves project and MR from current branch.
project_idNoNumeric ID or group/repo path on GitLab.
install_commandNoShell command at worktree root (e.g. npm ci). Omit to auto-detect.
merge_request_iidNoMerge request IID. Omit with repo_path to resolve from current branch.
Behavior3/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false. The description adds context about two modes (local repo or HTTPS clone) and default install commands, but does not disclose potential side effects (e.g., disk space usage) or error conditions (e.g., missing token).

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?

Single sentence front-loads the core action and includes key details (worktree creation, install command). No wasted words; excellent conciseness.

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 no output schema, the description should explain return values or success indicators, but it does not. However, the parameter descriptions and annotations are rich, and the behavior is mostly clear for a preparation tool.

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?

Input schema has 100% description coverage, so the baseline is 3. The description summarizes the workflow but does not add significant meaning beyond the parameter descriptions already provided.

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 creates a worktree and runs install commands, but it does not explicitly differentiate itself from sibling tools like gitlab_get_merge_request or gitlab_control_pipeline, which have distinct purposes.

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

Usage Guidelines3/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 such as gitlab_get_mr_context or gitlab_resolve_context. The description implies usage for setting up a review environment but does not state when not to use it or mention prerequisites like token availability.

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