Skip to main content
Glama

Get group members

gitlab_get_group_members
Read-onlyIdempotent

Retrieves the members of a specified GitLab group so you can inspect group access and roles. Supports pagination for large member lists.

Instructions

Get members of 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 Membership models.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
group_idNo
per_pageNo
project_idNo
api_parametersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare the operation as read-only, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds useful behavioral context by mentioning the return wrapper with Membership models and errors for missing group_id or invalid parameters. It does not describe pagination behavior, which is relevant given page and per_page 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 main purpose is front-loaded in the first sentence. However, the formal Args/Returns/Raises structure includes a non-specific '**kwargs' line that adds little value, and the useful information is diluted by generic docstring boilerplate.

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

Completeness2/5

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

The description covers the return shape and some error cases, which helps because there is no output schema. But for a paginated list endpoint with five undocumented parameters, it omits key details such as pagination, what project_id means in this context, and how group_id should be supplied.

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% for five parameters, so the description must carry the burden. It only indirectly documents group_id by saying MissingParameterError occurs when it is missing; it does not explain page, per_page, project_id, or api_parameters, leaving most parameter semantics unclear.

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 states a clear verb and resource: 'Get members of a specific group.' This distinguishes it from project-member tools by explicitly scoping to groups. It does not explicitly contrast with sibling tools, 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool versus alternatives such as gitlab_get_project_members or other group-related retrieval tools. It only mentions an error when group_id is missing, which is a constraint rather than 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