Skip to main content
Glama

Get user

gitlab_get_user
Read-onlyIdempotent

Retrieve information about a specific user by ID. Supply the user ID to fetch profile and account details from the GitLab API.

Instructions

Get information about a specific user.

Args: **kwargs: Additional parameters for the request (e.g., user_id).

Returns: Response: A wrapper containing the original response and a User model.

Raises: MissingParameterError: If the user_id is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
dataNo
nameNo
pageNo
sortNo
sudoNo
adminNo
emailNo
activeNo
adminsNo
humansNo
blockedNo
user_idNo
externalNo
order_byNo
passwordNo
per_pageNo
providerNo
usernameNo
max_pagesNo
extern_uidNo
two_factorNo
total_pagesNo
created_afterNo
api_parametersNo
created_beforeNo
exclude_externalNo
exclude_internalNo
saml_provider_idNo
without_projectsNo
skips_confirmationNo
without_project_botsNo
with_custom_attributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered by structured data. The description adds real value beyond that by naming the return shape ('wrapper containing the original response and a User model') and the two error classes, but says nothing about permissions needed to read other users, pagination behavior, or that most of the 32 kwargs belong to other manager endpoints.

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

Conciseness3/5

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

The Returns/Raises lines are front-loaded and useful, but the 'Args: **kwargs: Additional parameters for the request (e.g., user_id)' block is docstring boilerplate that conveys almost nothing. It is short overall, but a full third of the text is filler rather than specification.

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 32-parameter tool with zero schema descriptions and no output schema, the description does well to name the return model and errors, but leaves critical gaps: identifier semantics (user_id vs username), the fact that required parameters are nominally zero while user_id is effectively required, and why the remaining parameters exist. An agent could not confidently call this without reading the schema and guessing.

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

Parameters2/5

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

Schema description coverage is 0% across 32 parameters, so the description carries the full burden — yet it only names user_id and a generic '**kwargs'. It never explains that the remaining 30+ fields (page, per_page, sort, active, admin, saml_provider_id, password, etc.) are pass-through manager attributes irrelevant to a single-user lookup, nor whether username is an accepted alternative identifier, even though the schema allows it.

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

Purpose4/5

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

States a specific verb and resource: 'Get information about a specific user.' That is clearly a read of a single user object. It does not differentiate from the close sibling gitlab_get_users (list users) or explain that this is the single-record variant, so it falls short of a 5.

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 and no routing to alternatives such as gitlab_get_users, gitlab_get_users vs gitlab_create_user/gitlab_update_user, or gitlab_graphql. The only implicit hint is 'Raises MissingParameterError: If the user_id is missing,' which is buried in a docstring section rather than framed as 'call this with exactly one identifier'.

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