Skip to main content
Glama
alpadalar

ActiveDirectoryMCP

by alpadalar

get_tls_posture

Reports TLS posture of the domain controller connection, returning configured settings, live channel details, and security findings to verify bind encryption and certificate validation.

Instructions

Report the TLS posture of the connection to the domain controller.

Returns the configured values (use_ssl, ssl_port, enable_tls, validate_certificate, whether a CA file is set, require_secure_connection), the live channel (ldaps, starttls or plaintext, plus TLS version and cipher when available) and a list of findings {severity, code, message}. Takes no input; no secrets or paths are returned.

Example:

  • get_tls_posture()

Useful to verify that the bind is encrypted and the certificate is validated.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the three return components (configured values, live channel, findings) and explicitly states that no secrets or paths are returned, which tells the agent this is a safe, non-leaking read. The read-only nature is implied rather than declared, and no rate-limit or failure-mode context is given, keeping it below a 5.

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

Conciseness4/5

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

The opening sentence is front-loaded and the field enumeration is efficiently presented. However, the example 'get_tls_posture()' adds nothing for a zero-argument tool, and 'Takes no input' partly repeats the empty schema, so a small amount of text does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must explain returns — and it does, listing the configured keys, the live channel with TLS version and cipher, and the findings shape {severity, code, message}. Combined with the zero-parameter nature and the no-secrets guarantee, an agent has everything it needs to call and interpret this tool.

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?

Zero parameters means the baseline is 4, and the description reinforces this with 'Takes no input.' Nothing further about parameters is required or missing.

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 and resource: 'Report the TLS posture of the connection to the domain controller,' and the following sentence enumerates exactly what posture means (configured values, live channel, findings). No sibling tool overlaps this scope, so an agent can distinguish it immediately from the AD administration tools.

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?

'Useful to verify that the bind is encrypted and the certificate is validated' gives a clear condition for calling it, and 'Takes no input' rules out prerequisite discovery. There are no explicit exclusions or named alternatives, but none are needed given it is the only TLS-posture tool in the set.

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