Skip to main content
Glama

Mark merge request ready

gitlab_mark_merge_request_ready
Destructive

Marks a draft GitLab merge request ready by removing its leading Draft marker; it first checks the title and writes nothing if the request is not a draft.

Instructions

Mark a draft merge request ready by removing the leading Draft marker.

Reads the title first; a merge request that is not a draft writes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_mark_merge_request_ready"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo
approval_refNoOwner approval receipt for this operation; required by every owner-approved tool.
merge_request_iidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv27.3.26

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior by disclosing a read-before-write sequence and the no-op outcome for non-draft MRs. It omits permission/auth requirements and the fact that approval_ref is mandatory for owner-approved tools, keeping it below 5.

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?

Two short sentences, front-loaded with the action and followed by the guard condition. No filler, no redundancy with the title or annotations.

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?

The mutation behavior and no-op case are well covered and there is no output schema to explain. However, for a three-parameter write tool with 33% schema coverage, the description leaves the identifier semantics and the required approval receipt unexplained, which is a meaningful gap for correct invocation.

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

Parameters2/5

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

Schema coverage is only 33% — only approval_ref carries a schema description — and the tool description mentions no parameters at all, not even which identifier pair (project_id, merge_request_iid) targets the MR. With low coverage the description was expected to compensate, and it does not.

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?

States a specific verb and resource ('Mark a draft merge request ready') plus the concrete mechanism ('removing the leading Draft marker'), which tells an agent exactly what changes. It does not name or contrast with any sibling tool, so it stops short of a 5.

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?

Usage is implied rather than stated: the tool applies to draft merge requests, and the second sentence clarifies the no-op case for non-drafts. There is no explicit when-to-use guidance, no mention of prerequisites such as the approval_ref parameter, and no reference to alternatives like the auto-merge or update siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools