Skip to main content
Glama
mcpAD

mcpAD

Never Expires Password

never_expires_password
Read-only

List Active Directory users whose passwords are set to never expire for security audits, optionally scoped by OU or an LDAP filter.

Instructions

List users whose password never expires (userAccountControl flag 65536).

A common security-audit check. Pass base (a DN) to scope to an OU, or extra_filter to AND an extra raw LDAP clause (must be pre-escaped).

Input Schema

NameRequiredDescriptionDefault
baseNo
limitNo
domainNo
extra_filterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already mark this as read-only, so the safety profile is clear. The description adds useful behavioral context: the exact flag being audited and the requirement that extra_filter be pre-escaped, which is important for correct invocation.

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?

Two tight paragraphs with no wasted text. The core purpose is front-loaded, followed by immediately useful audit context and parameter guidance.

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?

The description gives enough to call the tool correctly for the most important filtering parameters, and an output schema exists for return values. Still, with 0% schema description coverage, the omission of limit and domain semantics is a meaningful completeness gap.

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 0%, so the description must carry parameter meaning. It explains base as a DN for OU scoping and extra_filter as an ANDed raw LDAP clause, but it leaves limit and domain 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 and resource: listing users whose password never expires, with the exact userAccountControl flag. It is clear on its own, though it does not explicitly differentiate itself from the sibling never_expiring_accounts.

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?

Frames the tool as a common security-audit check and explains how to scope with base or extra_filter. However, it does not explicitly say when to choose this over sibling audit tools such as never_expiring_accounts or password_not_required.

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