Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_get_user_code_changes_summary

Analyze a user's code contributions over a specified period, providing metrics like lines added/removed, files changed, language breakdown, and trend analysis. Use for productivity assessment, reporting, or capacity planning in GitLab projects.

Instructions

Get lines added/removed and files changed by user over period

Generate comprehensive statistics about a user's code contributions including quantitative metrics and impact analysis.

Returns code change summary with:

  • Volume metrics: lines added, removed, net change
  • File statistics: files created, modified, deleted
  • Language breakdown: contributions by file type
  • Project distribution: changes across repositories
  • Trend analysis: velocity over time periods

Use cases:

  • Development productivity analysis
  • Code contribution reporting
  • Team capacity planning
  • Performance review data

Parameters:

  • user_id: Numeric user ID
  • username: Username string (use either user_id or username)
  • project_id: Optional project scope filter
  • since: Analysis period start (YYYY-MM-DD)
  • until: Analysis period end (YYYY-MM-DD)
  • include_languages: Break down by programming language
  • include_trends: Include time-series trend data
  • granularity: Data granularity (daily, weekly, monthly)

Example: Get quarterly code change summary

{ "username": "johndoe", "since": "2024-01-01", "until": "2024-03-31", "include_languages": true, "granularity": "weekly" }

Input Schema

NameRequiredDescriptionDefault
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
sinceNoCommits after date (YYYY-MM-DD)
untilNoCommits before date (YYYY-MM-DD)
usernameYesUsername string

Input Schema (JSON Schema)

{ "properties": { "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": "Commits after date (YYYY-MM-DD)", "type": "string" }, "until": { "description": "Commits 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