Skip to main content
Glama
fredriksknese

mcp-activedirectory

list_users

List users from Active Directory or Azure AD with optional filters for name, email, or department.

Instructions

List Active Directory or Azure AD users with optional filters. Supports filtering by name, email, or department.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoFilter string: name, email, or department to search for
departmentNoFilter by department (partial match)
max_resultsNoMaximum number of results to return (default: 50)
sourceNoData source: "ad" for on-prem LDAP, "azure" for Azure AD/Entra ID (available: ad, azure)ad
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the action and supported filter fields, lacking details on pagination, performance, authentication requirements, or what happens with large result sets.

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 extremely concise with two short sentences, covering the essential purpose without any wasted words. It is well-structured and easily readable.

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?

Given the absence of annotations and output schema, the description is minimal. It omits important context such as return format, ordering, default pagination behavior, or any limitations. A more complete description would address these aspects.

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 parameters are fully described in the schema. The description adds a brief summary of filter capabilities but does not provide additional semantic details beyond what the schema already offers, warranting a neutral score.

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?

The description clearly states the tool lists users from Active Directory or Azure AD with optional filters, which distinguishes its purpose from similar list tools for other resources like list_groups. However, it does not explicitly differentiate from search_users, but the verb 'list' implies a broader listing than searching.

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 description implies usage for listing users with filters but does not provide explicit guidance on when to use this tool versus alternatives like search_users or get_user. No exclusions or alternative suggestions are given.

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/fredriksknese/mcp-activedirectory'

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