Skip to main content
Glama
mikedotJS
by mikedotJS

Create a merge request

gitlab_mr_create

Create a GitLab merge request by specifying project, source and target branches, title, and optional details like description, labels, and assignees using the GitLab REST API.

Instructions

Create an MR using GitLab REST API via glab api

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYes
sourceBranchYes
targetBranchYes
titleYes
descriptionNo
draftNo
labelsNo
assigneesNo
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only mentions 'via glab api', but does not describe side effects (e.g., triggers pipelines, requires authentication), success/failure behavior, or any constraints. Minimal behavioral disclosure.

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 a single sentence, which is concise, but it sacrifices completeness. It is front-loaded with the verb 'Create an MR', but lacks essential details. It could be considered under-specified rather than optimally concise.

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

Completeness1/5

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

The tool has 8 parameters, no output schema, and no annotations. The description fails to explain input parameter semantics, return values, error handling, or usage examples. This is severely incomplete for a creation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no parameter explanations. Parameters like 'project', 'sourceBranch', 'targetBranch', and 'draft' are not elaborated, leaving ambiguity about their format (e.g., project ID vs path) and usage.

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 action 'Create an MR' and the resource 'merge request', using GitLab REST API. This distinguishes it from sibling tools like gitlab_mrs_list. The title reinforces the purpose. However, it could be more specific about the exact API endpoint.

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 usage guidelines are provided. There is no information on when to use this tool versus alternatives, prerequisites (e.g., permissions, project existence), or when not to use 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/mikedotJS/mcp-gitlab'

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