Skip to main content
Glama

Search users

user_search
Read-onlyIdempotent

Search for users by name, username, or email, with optional active/inactive filtering. Returns core profile fields and status without passwords.

Instructions

Find users by text in name, user_name or email, optionally only active or inactive ones. Returns sys_id, user_name, name, email, title and active. Password fields are never returned. Use user_get for roles and groups.

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
textNoText in the name, user_name or email.
limitNoMaximum records to return. Defaults to the configured default, capped at maxRecords.
activeNoOnly active (true) or inactive (false) records.
fieldsNoField names to return (dot-walking allowed, e.g. caller_id.name). Default: all.
offsetNoRecords to skip (paging). Use nextOffset from the previous result.
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.
displayValueNoraw = stored values, display = labels, both (default) = value and label when they differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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=false, so the description earns credit mainly for the security guarantee that password fields are never returned and for enumerating returned fields. It does not discuss paging behavior or result size, both of which matter for a search tool returning record sets.

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?

Four short sentences, each carrying distinct information: what it finds, what it returns, a security guarantee, and an alternative. Front-loaded with the core purpose; no filler or redundant restatement of the title.

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 no output schema, the description usefully enumerates the returned fields, which is the right compensation. Minor gaps remain given seven optional parameters: paging via limit/offset and instance selection are left entirely to the schema, but that is acceptable at 100% schema coverage.

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 description coverage is 100%, so the schema already documents text, limit, active, fields, offset, instance, and displayValue. The description restates the text-matching scope and the active filter but adds no new semantics such as matching rules (substring vs. prefix), case sensitivity, or field-selection behavior; baseline 3 is appropriate.

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?

States a specific verb and resource ("Find users by text") and immediately scopes the searchable fields: name, user_name, or email. It also names the sibling tool to use for a different need, so an agent can distinguish it from user_get without inspecting either 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?

Explicit routing is provided: "Use user_get for roles and groups," which tells the agent when to reach for a different tool. It falls short of a full guidance set because it does not cover overlapping siblings like group_search or table_query, nor does it state when not to search (e.g., when a sys_id is already known).

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