Skip to main content
Glama
alpadalar

ActiveDirectoryMCP

by alpadalar

modify_user

Update existing Active Directory user attributes such as department, title, and contact details. Use this to change organizational or personal properties; passwords require a separate reset action.

Instructions

Modify user attributes and properties.

Updates existing user attributes including personal information, security settings, and organizational data.

Example:

  • modify_user(username="jsmith", attributes={"department": "Marketing", "title": "Manager"})

The password cannot be changed with this tool; use reset_user_password instead.

Input Schema

NameRequiredDescriptionDefault
usernameYesUsername to modify
attributesYesDictionary of attributes to modify

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses one important constraint (no password changes) and implies merge semantics via "attributes to modify," but omits permission requirements, whether omitted or null attributes are left untouched or cleared, behavior on a nonexistent username, and reversibility of security-setting changes.

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 core action, followed by useful scope and the worked example. The second paragraph ("Updates existing user attributes including personal information, security settings, and organizational data") largely restates the opening line, so a sentence could be trimmed, but nothing is misleading.

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

Completeness3/5

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

For a mutation tool with a free-form nested attributes object, no annotations, and no output schema, the description leaves significant surface uncovered: which attribute keys are accepted, how invalid keys are handled, and what the response contains. The password exclusion and example are helpful, but an agent could still call this with wrong key names and no warning.

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 description coverage is 100%, so baseline 3 applies, but the description adds real value beyond the schema: "attributes" is a free-form nested object with no enum or key whitelist, and the example modify_user(username="jsmith", attributes={"department": "Marketing", "title": "Manager"}) demonstrates the expected key/value shape an agent could not infer from "Dictionary of attributes to modify."

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 ("Modify user attributes and properties") and scopes it to existing users, which distinguishes it from create_user and delete_user. It does not explicitly contrast with modify_group/modify_computer or enable/disable_user, but the resource noun does the separating work.

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?

Provides an explicit exclusion with the correct alternative: "The password cannot be changed with this tool; use reset_user_password instead." That is a genuine when-not plus named alternative. It stops short of stating general preconditions (e.g. user must exist, permissions needed) or when to prefer enable/disable_user for account state.

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