Skip to main content
Glama

List Users

servicenow_list_users
Read-onlyIdempotent

Find ServiceNow users by active status, name, department, or role. Retrieve user details including name, username, email, department, and manager.

Instructions

List and search ServiceNow users.

Args:

  • query (string): Encoded query (e.g., 'active=true', 'department.name=IT', 'nameLIKEjohn'). Default: active users only.

  • limit / offset: Pagination

  • response_format: Output format

Common queries:

  • All active users: 'active=true'

  • Search by name: 'nameLIKEsmith'

  • By department: 'department.name=Information Technology'

  • By role: 'roles=itil'

Returns: Users with name, username, email, department, and manager

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1–100, default 20)
queryNoEncoded query (default: active users)active=true
offsetNoNumber of results to skip for pagination (default 0)
response_formatNoOutput format: 'markdown' (default) for human-readable or 'json' for structured datamarkdown
Behavior5/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description adds valuable behavioral context: default query of active users only, pagination via limit/offset, response_format choices, and the specific return fields (name, username, email, department, manager). This goes beyond the annotations with no contradictions.

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

Conciseness5/5

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

The description is well-organized and concise: a one-sentence purpose, followed by a clear Args section and a Common queries section with examples, then a Returns line. Every element serves a purpose, and the structure makes it easy to scan.

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?

Given the tool has 4 parameters with full schema documentation and no output schema, the description provides a complete picture: purpose, input parameters, query examples, pagination, output format, and return fields. It supplies sufficient context for an agent to select and invoke the tool correctly without missing critical information.

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

Parameters5/5

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

Schema description coverage is 100%, so the baseline is 3. The description significantly adds meaning by explaining the query parameter with concrete examples ('nameLIKEjohn', 'department.name=Information Technology') and listing common queries, plus clarifying limit/offset as pagination and response_format as output format. This is far more helpful than the schema alone.

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 clearly states the tool 'List and search ServiceNow users', which is a specific verb and resource. This distinguishes it from siblings like servicenow_get_user (which fetches a single user) and servicenow_query_records (generic query). The name and title reinforce the plural list/search intent.

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?

The description provides clear context for use by giving common query examples (active users, name search, department, role) and noting default behavior. However, it does not explicitly mention when to use an alternative tool (e.g., for a single user, use get_user) or provide when-not-to-use guidance, so it lacks explicit exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kylburns89/servicenow-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server