Skip to main content
Glama

Get project members

gitlab_get_project_members
Read-onlyIdempotent

Fetch members of a specific GitLab project by project ID to review user access, roles, and paginated results.

Instructions

Get members of a specific project.

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

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

Raises: MissingParameterError: If the project_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

B3.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description goes beyond them by disclosing error behavior (MissingParameterError when project_id is missing, ParameterError on invalid params) and the return shape (wrapper plus Membership models). It omits pagination behavior, which matters for a list endpoint defaulting to per_page=100.

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 Args/Returns/Raises docstring layout is front-loaded with the purpose and free of padding, but the 'Args: **kwargs ... (e.g., project_id)' line is a vacuous catch-all that conveys almost nothing about the real parameters.

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?

For a five-parameter list tool with a 0% schema coverage and no output schema, the description does supply the return type and error conditions but leaves pagination, group_id handling, and api_parameters entirely undocumented. An agent could call it, but only by guessing at the remaining inputs.

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 5 parameters, so the description carries the full burden and largely fails: page, per_page, group_id, and api_parameters are never mentioned. Only project_id is clarified, indirectly, via the Raises section, which usefully implies it is required despite the schema declaring zero required parameters.

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 members of a specific project'), which implicitly separates it from the sibling gitlab_get_group_members by scope. However, it never names that sibling or otherwise differentiates explicitly, 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?

Nothing tells the agent when to choose this over gitlab_get_group_members or the generic api_request. There is no statement of prerequisites, nor of when this tool is inappropriate, only the bare purpose.

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