Skip to main content
Glama
alpadalar

ActiveDirectoryMCP

by alpadalar

get_user

Retrieves detailed Active Directory user information, including attributes, group memberships, account status, and security fields, to support audits and troubleshooting.

Instructions

Get detailed information about a specific user.

Retrieves comprehensive user information including attributes, group memberships, account status, and computed security fields.

Example:

  • get_user(username="jsmith")

Returns detailed user profile with security assessment.

Input Schema

NameRequiredDescriptionDefault
usernameYesUsername (sAMAccountName) to search for
attributesNoSpecific attributes to retrieve

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?

No annotations exist, so the description carries the full burden. It usefully discloses what comes back ('security assessment', computed fields) but never states that this is a read-only operation, what permissions are required, or what happens when the username does not exist.

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?

Front-loaded with the purpose, followed by a field inventory and a compact example. There is mild redundancy between 'detailed information' and 'comprehensive user information', but nothing is wasted.

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 and no annotations, the description adequately sketches the return value and gives a usage example for a simple two-parameter read tool. The missing pieces are operational details (permissions, not-found behavior) rather than anything that prevents a correct call.

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% and both parameters are documented there, so the baseline is 3. The description adds a concrete example of the required username but says nothing about the optional attributes parameter or its expected format.

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 ('Get detailed information about a specific user') and enumerates the payload (attributes, group memberships, account status, computed security fields), which implicitly separates it from list_users. It never names a sibling explicitly, so the differentiation is inferred rather than stated.

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?

Usage is only implied by the example call; there is no guidance on when to prefer this over get_user_groups, get_user_permissions, or list_users, and no exclusions or prerequisites (e.g. required permissions) are given.

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