Skip to main content
Glama

Get group merge requests

gitlab_get_group_merge_requests
Read-onlyIdempotent

Fetch merge requests for a specific GitLab group to review open work, track progress, and manage group-level development activity.

Instructions

Get merge requests associated with a specific group.

Args: **kwargs: Additional parameters for the request (e.g., group_id).

Returns: Response: A wrapper containing the original response and a list of MergeRequest models.

Raises: MissingParameterError: If the group_id is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
dataNo
nameNo
pageNo
pathNo
avatarNo
argumentNostate=opened
group_idNo
per_pageNo
max_pagesNo
visibilityNo
descriptionNo
lfs_enabledNo
total_pagesNo
api_parametersNo
default_branchNo
emails_enabledNo
membership_lockNo
mentions_disabledNo
wiki_access_levelNo
auto_devops_enabledNo
duo_features_enabledNo
ip_restriction_rangesNo
share_with_group_lockNo
project_creation_levelNo
request_access_enabledNo
shared_runners_settingNo
subgroup_creation_levelNo
two_factor_grace_periodNo
file_template_project_idNo
default_branch_protectionNo
lock_duo_features_enabledNo
allowed_email_domains_listNo
enabled_git_access_protocolNo
shared_runners_minutes_limitNo
math_rendering_limits_enabledNo
prevent_forking_outside_groupNo
unique_project_download_limitNo
require_two_factor_authenticationNo
default_branch_protection_defaultsNo
extra_shared_runners_minutes_limitNo
lock_math_rendering_limits_enabledNo
unique_project_download_limit_alertlistNo
unique_project_download_limit_allowlistNo
prevent_sharing_groups_outside_hierarchyNo
auto_ban_user_on_excessive_projects_downloadNo
unique_project_download_limit_interval_in_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds real value beyond that by naming the return shape ('wrapper containing the original response and a list of MergeRequest models') and the error types raised. It stops short of mentioning pagination behavior or result limits, which matter for a list tool.

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 purpose sentence is front-loaded and useful, but the docstring scaffolding costs space: an 'Args' section whose only entry is the catch-all '**kwargs' conveys nothing about the 46 schema parameters. The Returns and Raises sections earn their place; the Args block does not.

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

Completeness4/5

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

For a read-only lister with no output schema, the description covers purpose, error conditions, and the shape of the return value. What's missing is guidance on the large, confusing parameter surface (pagination, the 'argument' filter, the evidently copy-pasted group settings fields), which is the main way an agent could call this incorrectly. Otherwise it's complete for a filtered-list operation.

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 description coverage is 0% across 46 parameters, so the description carries the full burden and largely fails. It only gestures at group_id ('Additional parameters for the request (e.g., group_id)') and never explains the meaningfully named params an agent would actually need: 'argument' defaulting to 'state=opened', page/per_page/max_pages pagination, or why dozens of unrelated group-setting fields appear in the schema. It also claims group_id is required (MissingParameterError) while the schema marks it nullable with zero required params.

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 ('Get merge requests associated with a specific group'), which distinguishes it in substance from gitlab_get_project_merge_requests and gitlab_get_merge_requests. However, it never names those siblings, so the agent must infer the group-vs-project scope distinction.

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 guidance on when to use this versus the many sibling alternatives (project-level, commit-level, or generic merge request listing). The only conditional info is a Raises clause about missing group_id, which is an error case, not usage guidance.

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