Skip to main content
Glama
alpadalar

ActiveDirectoryMCP

by alpadalar

test_connection

Validates Active Directory connectivity by testing LDAP connection and retrieving server status for troubleshooting and monitoring.

Instructions

Test LDAP connection and get server information.

Validates Active Directory connectivity and retrieves server status.

Example:

  • test_connection()

Useful for troubleshooting and monitoring.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It implies a read-only connectivity probe and mentions connectivity validation, but says nothing about timeout behavior, whether a failed connection raises an error or returns a status value, or what 'server information' actually contains — all critical for a test/health style tool.

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?

The opening two lines are front-loaded and efficient, but the 'Example: - test_connection()' block is pure filler for a zero-argument tool and adds no information. Roughly a third of the description earns no place.

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?

With no annotations and no output schema, the description should explain what a successful result looks like and how failure is surfaced. It gestures at 'server status' but leaves the return shape and error contract unspecified, which is the main gap an agent would hit.

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?

The tool takes zero parameters and the description correctly presents it as a no-argument call. There is no parameter semantics to elaborate, so the baseline of 4 applies.

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?

The description names a specific verb ('test') and resource ('LDAP connection' / Active Directory connectivity) and adds that it also retrieves server status, which is more than a restatement of the name. It is clear what the tool does, but it never distinguishes itself from nearby diagnostic siblings such as health, get_rootdse_info, or get_domain_info.

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?

'Useful for troubleshooting and monitoring' implies the context of use but gives no explicit when-to-use versus when-to-use-an-alternative guidance. With several diagnostic siblings present (health, get_tls_posture, get_domain_info), the agent is left to infer which probe to pick.

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