Skip to main content
Glama
mungowang
by mungowang

gitlab_users_search

Read-only

Find users by name or username to get numeric IDs for assignments and filters, as GitLab CE 11.3 requires numeric user IDs.

Instructions

Find users by name or username. Needed because 11.3 assigns and filters by numeric user id and never by username.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number; see pagination.nextPage in the result
searchYessubstring search
perPageNoitems per page, max 100 (GitLab default is 20)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already declares this is a safe read, and the description adds the useful context that results exist to bridge to numeric ids. It says nothing about result volume, matching behavior (substring vs exact, per the schema), or ordering beyond what the schema and output schema already provide.

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

Conciseness4/5

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

Two short sentences, the purpose front-loaded before the rationale. The '11.3' reference is terse and assumes internal context, which costs a little clarity but no wasted prose.

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

Completeness4/5

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

With an output schema present, return values need not be explained, and the schema covers all three parameters plus pagination. The only gap is the absence of explicit guidance on when this beats other lookups, which is minor for a simple read tool.

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

Parameters3/5

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

Schema coverage is 100%, so 'search', 'page' and 'perPage' are fully documented in the schema itself. The description's 'by name or username' loosely maps to the search parameter but adds no syntax or format detail beyond it. Baseline 3 applies.

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 ('Find users by name or username') and explains why it exists relative to the id-based filtering elsewhere. It does not name a sibling alternative, but no sibling tool overlaps with user lookup, so the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The rationale ('11.3 assigns and filters by numeric user id and never by username') implies when to reach for this tool — resolving a username to an id — but it is stated as a justification rather than explicit usage guidance. There is no when-not condition and no named alternative such as gitlab_whoami for the current user.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.