Skip to main content
Glama
Microsoft Active Directory MCP Server

Microsoft Active Directory MCP Server

by nks1097

ad_reset_user_password

Reset a user's Active Directory password to restore account access, optionally forcing a change at next logon and supporting dry-run validation.

Instructions

[Users] [DESTRUCTIVE] Redefinir senha de usuario com seguranca.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "identity": "<identity>",
      "new_password": "<new_password>"
    },
    "name": "ad_reset_user_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
identityYes
new_passwordYes
correlation_idNo
confirmation_tokenNo
must_change_at_next_logonNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it delivers only the DESTRUCTIVE tag plus a vague 'com seguranca' claim. It says nothing about required permissions, whether the old password must be known, what dry_run or confirmation_token gate, or that must_change_at_next_logon defaults to true and will force a reset at next logon.

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

Conciseness3/5

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

It is a single front-loaded line with no filler, which is structurally fine, but the brevity comes from omission rather than discipline. The space saved was needed for parameter and safety context.

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?

This is a destructive credential mutation with six parameters, no annotations, and no schema descriptions; the description does not compensate. An output schema exists, so return values needn't be explained, but the invocation-time behavior and parameter meaning gaps are substantial.

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

Parameters1/5

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

Schema description coverage is 0% across six parameters, and the description mentions none of them. Critical semantics for dry_run, confirmation_token, correlation_id, and the default-true must_change_at_next_logon are left entirely undocumented.

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+resource ('Redefinir senha de usuario') and prefixes it with the [Users] domain and [DESTRUCTIVE] severity tags, so the agent knows exactly what operation this is. It does not differentiate from siblings such as ad_update_user or ad_unlock_user, which also touch user credentials, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no indication of when to use this versus ad_update_user, ad_unlock_user, or ad_get_password_expiring_users, and no prerequisites are stated. The [DESTRUCTIVE] tag implies caution but gives no exclusions or conditions for invocation.

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

Deploy Server

Other Tools