Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_search_user

Search for GitLab users using partial details like name, email, or username. Retrieve user IDs, profiles, and activity status for team assignments or user management. Supports pagination for large result sets.

Instructions

Search for GitLab users based on partial information or search criteria.

This tool is useful when you don't have the exact username or ID, but need to find users based on name, email, or other search terms. Use this tool when you need to find users based on partial information or search queries.

Examples:

  • Find users by partial name: search_user("John Sm")
  • Search by email domain: search_user("@company.com")
  • Find users for team assignments

Returns user information including:

  • Basic details: ID, username, name, avatar
  • Public profile information
  • Activity status

For getting specific user details when you have exact ID/username, use 'gitlab_get_user' instead.

Parameters:

  • search: Search query (name, username, or email fragment)
  • per_page: Number of results per page (default: 20)
  • page: Page number for pagination (default: 1)

Example: Find users named "John"

{ "search": "John", "per_page": 10 }

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
searchYesSearch query (name, username, or email fragment)

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" }, "search": { "description": "Search query (name, username, or email fragment)", "type": "string" } }, "required": [ "search" ], "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