Skip to main content
Glama

list_merge_requests_tool

List merge requests in a GitLab project, filtering by state, labels, milestone, and search terms to identify relevant merge requests.

Instructions

List merge requests for a GitLab project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (default: 1)
sortNoSort direction (asc, desc)desc
stateNoFilter by state (opened, closed, merged, all)opened
labelsNoComma-separated label names
searchNoSearch in title and description
order_byNoOrder by field (created_at, updated_at)created_at
per_pageNoResults per page, max 100 (default: 20)
milestoneNoMilestone title
project_idYesProject ID or path

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It only states 'list' implying a read-only operation, but adds no detail about pagination behavior, default state (opened), rate limits, or the nature of results. This is a significant gap for a tool interacting with a remote API, warranting a 2.

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?

The description is a single, clear sentence with no unnecessary words. It conveys the core purpose efficiently and is immediately scannable. There is zero waste, perfectly exemplifying 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?

Given the tool's moderate complexity with 9 parameters including pagination and filtering, the description is adequate as a bare-minimum statement but misses opportunities to note default state ('opened'), query behavior, or relationship to other MR tools. The presence of an output schema reduces the need to describe returns, but the absence of usage context holds this back from a higher score.

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 input schema fully documents all 9 parameters, including types, defaults, and descriptions. Per the rubric, this yields a baseline score of 3 even though the description itself adds no parameter-level detail. The description does not need to repeat schema information, so a 3 is appropriate.

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 (list), the resource (merge requests), and the scope (GitLab project). It is specific and unambiguous, though it does not explicitly differentiate from sibling tools like get_merge_request_tool, which likely retrieves a single MR. It achieves clarity without sibling differentiation, warranting a 4.

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?

The description provides no guidance on when to use this tool versus alternatives such as list_mr_notes_tool or get_merge_request_tool. There is no mention of default filters, prerequisites, or scenarios where this tool is preferred. The agent is left without any context for selection, meriting a score of 2.

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

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