Skip to main content
Glama
mcpAD

mcpAD

Find Users Without Email

find_users_without_email
Read-only

List Active Directory users with no email address set to catch accounts that cannot receive notifications; optionally scope the check to a specific OU.

Instructions

Data-quality check: list users with no mail attribute set.

Accounts without an email address often can't receive password-expiry notices, MFA prompts or other automated notifications. Pass base (a DN) to scope to an OU.

Input Schema

NameRequiredDescriptionDefault
baseNo
limitNo
domainNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The `readOnlyHint` annotation already establishes that this is a safe read operation, and the description adds useful context about why the check matters. It does not describe result limits or pagination behavior, but the output schema is present to cover return structure.

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 purpose is front-loaded in the first sentence, followed by concise rationale and the key `base` scoping note. Every sentence adds value with no filler.

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 simple read-only tool with an output schema, the description gives enough context to understand the check and its main scoping parameter. However, with 0% schema description coverage, it should also explain `limit` and `domain` to be complete enough for reliable invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, but it only explains `base` as a DN for OU scoping. The `limit` and `domain` parameters are not mentioned at all, leaving two of three parameters undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: list users with no `mail` attribute set. The absence condition distinguishes it from the generic `find_users` sibling even though no sibling is named explicitly.

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?

It frames the tool as a data-quality check and explains why missing email matters, which gives clear usage context. It does not explicitly state when not to use it or name alternatives such as `find_users` or `search_ldap`.

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