Skip to main content
Glama

Get Users

gitlab_get_users
Read-onlyIdempotent

Search GitLab users by username, active status, provider, or external UID, with pagination, to locate matching accounts.

Instructions

Search users.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_get_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
activeNo
searchNo
per_pageNo
providerNo
usernameNo
extern_uidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv1.7.0
    • removedInput schema / properties / active / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / active / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / extern_uid / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / extern_uid / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / per_page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / per_page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / provider / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / provider / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / search / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / search / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / username / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / username / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds nothing on top of that — it does not say whether results are paginated, what the default result count is, whether an empty search lists all users, or what the search matches against. Nearly zero value beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two words are technically concise, but this is under-specification rather than economy. There is no structure to front-load because there is essentially no content, and the terse phrasing wastes the opportunity to convey the searchable fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter search endpoint with no output schema, the description should explain filter semantics and pagination. Neither is present, so the definition is not sufficient to call the tool correctly without trial and error, though the annotations do mitigate the safety side.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 7 parameters with 0% description coverage, and the description supplies no meaning for any of them. Filters such as active, provider, username, extern_uid, search, page, and per_page are left completely opaque, including how 'search' differs from the field-specific filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb (search) and a resource (users), so the agent knows the general domain. But it gives no scope, no indication of which user fields are searchable, and no differentiation from sibling getters beyond the resource name. It is a minimal restatement of the tool's intent.

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?

There is no when-to-use guidance, no mention of pagination or listing behavior, and no indication of when another tool would be a better choice. The agent must infer everything from the bare phrase 'Search users.'

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