Skip to main content
Glama

user_search

Read-only

Searches company employees by name, phone, email, department (role) and level; filters combine. With userID, returns one employee with the full profile, access and roles. Each employee comes with link (the name as a link) and mention (for a Kosmodrom chat message). A colleague's phone and email are shown, and can be searched, only with access to their personal data; otherwise they are null and a phone or email search returns nothing.

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": "user_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPart of a first, last or middle name as written in the workspace; case-insensitive.
roleNoDepartment.
emailNoExact email, case-insensitive, e.g. to match an assignee from GitLab or another external system.
levelNoLevel or array of levels.
limitNoNumber of results (default 20, max 50).
phoneNoPhone number; formatting is ignored.
userIDNoOne employee by ID, with the full profile; other filters are ignored.
allowBlockedNoInclude employees with blocked access; default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / userID
      Added value: +{
      +  "description": "One employee by ID, with the full profile; other filters are ignored.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/non-destructive annotations, the description discloses two non-obvious behaviors: permission-dependent nulling of phone and email (with searches on those fields yielding no results), and that userID bypasses other filters and returns the full profile plus access and roles. It also describes the shape of each returned record (link, mention). What it omits is result ordering and empty-result behavior.

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?

Three sentences, front-loaded with purpose, then the userID special case, then the permission caveat — a sensible information order. The final sentence is long and slightly convoluted ('shown, and can be searched, only with access...') but every clause carries actionable information.

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

Completeness5/5

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

With no output schema, the description compensates by naming the returned fields (full profile, access, roles, link, mention) and by explaining the access-dependent nulling of contact data. Combined with a fully documented 8-parameter schema, an agent has everything needed to call this correctly and interpret empty contact results.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: it maps 'role' to department, states that filters combine, and clarifies that userID supersedes other filters and returns an expanded profile rather than a list item. The permission caveat also explains why phone/email filters may appear to fail rather than being invalid.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Searches company employees') and enumerates the filterable fields (name, phone, email, department/role, level), which cleanly separates it from the feature/repo/task/file siblings that search entirely different domains. It also states the single-record mode via userID, so an agent understands both the lookup and the search behavior without opening the schema.

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

Usage Guidelines4/5

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

It gives clear operational context: filters combine, userID switches to single-record mode and ignores other filters, and phone/email searches silently return nothing without personal-data access. It does not name any alternative tool or state explicit exclusions, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources