Skip to main content
Glama
mcpAD

mcpAD

Find Contacts

find_contacts
Read-only

Search Active Directory contacts by CN, email, or display name using * wildcards; optionally restrict to a base DN subtree and limit results.

Instructions

Find AD contact objects by cn/mail/displayName (supports * wildcards).

Passing no string matches every contact. Pass base (a DN, e.g. an OU) to restrict the search to a subtree.

Input Schema

NameRequiredDescriptionDefault
baseNo
limitNo
domainNo
stringNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuinely useful behavior — wildcard matching syntax and the fact that omitting `string` matches every contact, which is a non-obvious blast-radius signal. It stops short of describing result capping or how `limit` truncates results.

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 short sentences, front-loaded with purpose then the parameters that change scope. No filler; each clause conveys a distinct search semantic.

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?

An output schema exists, so return values needn't be explained, and the wildcard/scope semantics are well covered. However, for a paged search tool, the absence of any mention of `limit` behavior and `domain` targeting leaves real gaps an agent must guess at.

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 0%, so the description carries the full burden, and it covers only two of four parameters: `string` (attributes matched, `*` wildcards) and `base` (DN subtree). `limit` and `domain` are left completely undocumented anywhere, including whether `domain` selects a different domain controller or naming context.

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?

States a specific verb (find) and resource (AD contact objects) plus the searchable attributes (cn/mail/displayName), which cleanly separates it from the many sibling finders like find_users, find_groups, and find_computers. An agent can route to it without inspecting the schema.

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?

It explains the behavior of the optional filters (no `string` returns everything, `base` narrows to a subtree), which is useful invocation guidance. But it gives no when-to-use/when-not guidance relative to alternatives such as search_ldap or get_by_dn, which are plausible substitutes for a broad LDAP-style lookup.

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