Skip to main content
Glama

List Merge Requests

gitlab_list_merge_requests
Read-onlyIdempotent

Retrieve merge requests for a GitLab project and filter by state, labels, author, assignee, reviewer, branches, or dates to track review work.

Instructions

List merge requests for a project.

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_list_merge_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
wipNo
pageNo
sortNo
scopeNo
stateNo
labelsNo
searchNo
order_byNo
per_pageNo
author_idNo
milestoneNo
project_idNo
assignee_idNo
reviewer_idNo
created_afterNo
source_branchNo
target_branchNo
updated_afterNo
created_beforeNo
updated_beforeNo
author_usernameNo
assignee_usernameNo
reviewer_usernameNo
with_labels_detailsNo
approved_by_usernamesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed34 schema fields changedv1.7.0
    • removedInput schema / properties / assignee_id / anyOf
      Removed value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "number"
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / assignee_id / type
      Added value: +[
      +  "string",
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / assignee_username / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / assignee_username / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / author_id / anyOf
      Removed value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "number"
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / author_id / type
      Added value: +[
      +  "string",
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / author_username / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / author_username / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / created_after / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / created_after / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / created_before / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / created_before / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / milestone / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / milestone / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / per_page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / per_page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / reviewer_id / anyOf
      Removed value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "number"
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / reviewer_id / type
      Added value: +[
      +  "string",
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / reviewer_username / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / reviewer_username / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / scope / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / scope / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / search / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / search / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / state / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / state / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / updated_after / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / updated_after / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / updated_before / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / updated_before / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / with_labels_details / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / with_labels_details / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. Beyond that the description adds nothing: no mention of pagination defaults, default state/scope (e.g. whether closed MRs are included), default sort order, or rate/result-size limits for a tool with 25 filter parameters.

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 single sentence is front-loaded and waste-free, but its brevity comes from omission rather than discipline given the tool's complexity. It is appropriately short, just not sufficiently informative.

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?

For a 25-parameter list endpoint with zero schema descriptions and no output schema, one sentence leaves the agent without any of the information needed to invoke it well. It should at minimum summarize the key filter families and pagination behavior.

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% across 25 parameters, and the description names none of them. Fields like wip, scope, state, order_by, approved_by_usernames and the created_before/after date formats are completely unexplained anywhere in the definition.

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 ('List merge requests') and scopes it to a project, which loosely separates it from the group-level and milestone variants. It stops short of explicitly naming those siblings or noting what the project scoping excludes.

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 when-to-use or when-not-to-use guidance is given; nothing tells the agent how this differs from gitlab_list_group_merge_requests or gitlab_get_milestone_merge_requests. The existence of rich filtering is not even hinted at, so the agent has no cue about which entry point to pick.

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