Skip to main content
Glama

gitlab_get_my_profile

Retrieve your complete GitLab profile including personal information, account settings, security status, and private statistics for dashboard display or data verification.

Instructions

Get the current authenticated user's complete profile

Retrieve your own comprehensive profile information including private settings and detailed statistics not available via public user APIs.

Returns complete profile including:

  • Personal info: email, name, bio, location

  • Account settings: notifications, preferences

  • Statistics: private/public project counts

  • Security: 2FA status, SSH keys count

  • Activity: recent contributions, sign-in history

Use cases:

  • Display user dashboard information

  • Verify account settings and security

  • Show personalized statistics

  • Export profile data

No parameters required - uses authentication token.

Example usage:

{}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'gitlab_get_my_profile' tool. It simply delegates to the GitLabClient's get_my_profile() method to fetch the authenticated user's complete profile information.
    def handle_get_my_profile(client: GitLabClient, arguments: Optional[Dict[str, Any]]) -> Dict[str, Any]: """Handle getting current user's complete profile""" return client.get_my_profile()
  • The tool schema definition including name, description reference, and empty input schema (no parameters required). This defines the tool's interface for MCP.
    types.Tool( name=TOOL_GET_MY_PROFILE, description=desc.DESC_GET_MY_PROFILE, inputSchema={ "type": "object", "properties": {} } ),
  • The tool registration in the server's list_tools() handler, which returns the MCP Tool object for 'gitlab_get_my_profile'.
    types.Tool( name=TOOL_GET_MY_PROFILE, description=desc.DESC_GET_MY_PROFILE, inputSchema={ "type": "object", "properties": {} }
  • Mapping of tool name to handler function in the TOOL_HANDLERS dictionary, used by server.call_tool() for dispatch.
    TOOL_GET_MY_PROFILE: handle_get_my_profile,
  • Constant definition for the tool name string, used consistently across files.
    TOOL_GET_MY_PROFILE = "gitlab_get_my_profile"
Install Server

Other Tools

Latest Blog Posts

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