Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_get_user_mr_comments

Retrieve merge request comments and review feedback authored by a specific user in GitLab. Use to analyze code review participation, quality assurance, feedback impact, and team collaboration. Filter by user, project, date, or comment type.

Instructions

Get all comments authored by a user on merge requests

Find all merge request comments and review feedback provided by the specified user, including code review discussions.

Returns MR comment information with:

  • Comment details: content, type (review/discussion)
  • MR context: title, state, author, project
  • Review info: approval status, code line references
  • Thread info: discussion flow, resolution status
  • Impact: influence on code quality and decisions

Use cases:

  • Code review participation tracking
  • Quality assurance monitoring
  • Mentoring and feedback analysis
  • Team collaboration assessment

Parameters:

  • user_id: Numeric user ID
  • username: Username string (use either user_id or username)
  • project_id: Optional project scope filter
  • comment_type: Filter by type (review, discussion, all)
  • since: Comments after date (YYYY-MM-DD)
  • until: Comments before date (YYYY-MM-DD)
  • mr_state: Filter by MR state (opened, merged, closed, all)
  • sort: Sort order (created, updated, project)
  • per_page: Results per page (default: 20)
  • page: Page number (default: 1)

Example: Get code review comments from last month

{ "username": "johndoe", "comment_type": "review", "since": "2024-01-01", "until": "2024-01-31" }

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination Type: integer Range: ≥1 Default: 1 Example: 3 (to get the third page of results) Note: Use with per_page to navigate large result sets
per_pageNoNumber of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing
project_idNoOptional project scope filter
sinceNoComments after date (YYYY-MM-DD)
untilNoComments before date (YYYY-MM-DD)
usernameYesUsername string

Input Schema (JSON Schema)

{ "properties": { "page": { "default": 1, "description": "Page number for pagination\nType: integer\nRange: ≥1\nDefault: 1\nExample: 3 (to get the third page of results)\nNote: Use with per_page to navigate large result sets", "minimum": 1, "type": "integer" }, "per_page": { "default": 50, "description": "Number of results per page\nType: integer\nRange: 1-100\nDefault: 20\nExample: 50 (for faster browsing)\nTip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing", "maximum": 100, "minimum": 1, "type": "integer" }, "project_id": { "description": "Optional project scope filter", "type": "string" }, "since": { "description": "Comments after date (YYYY-MM-DD)", "type": "string" }, "until": { "description": "Comments before date (YYYY-MM-DD)", "type": "string" }, "username": { "description": "Username string", "type": "string" } }, "required": [ "username" ], "type": "object" }

Other Tools from MCP GitLab Server

Related Tools

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

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