Skip to main content
Glama
mcpAD

mcpAD

List Fsmo Roles

list_fsmo_roles
Read-only

Reports the owner of each Active Directory FSMO role to audit role placement and identify which domain controller holds schema, naming, PDC, RID, and infrastructure masters.

Instructions

Report the owner of each of the five FSMO roles (audit).

Returns one entry per role (schema_master, domain_naming_master, pdc_emulator, rid_master, infrastructure_master) with the container queried and the owning DSA DN (owner). The schema and domain-naming masters live in the Configuration naming context, derived from the domain base for a single-domain forest; pass config_base explicitly for a multi-domain forest. Containers the service account cannot read are skipped.

Input Schema

NameRequiredDescriptionDefault
domainNo
config_baseNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond readOnlyHint=true, it discloses real behavioral traits: how the Configuration NC is derived for a single-domain forest, the requirement to pass `config_base` explicitly for multi-domain forests, and that unreadable containers are silently skipped (a partial-result condition an agent must know about). It does not discuss permission requirements for the service account or failure/partial-failure signalling.

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?

Front-loaded with the purpose, then return shape, then the forest-scope caveat, then the skip behavior — a sensible ordering. Slightly verbose in the container/owner sentence, but each sentence adds information.

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

Completeness4/5

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

With an output schema present, the description need not specify return values, yet it still names the fields, which helps. Combined with annotation coverage of the safety profile, the only notable gap is permission/authentication context and what the caller sees when containers are skipped.

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?

Schema description coverage is 0%, so the description must carry the load and largely does: it explains that `config_base` overrides the derived Configuration naming context and when that is required. The `domain` parameter is only indirectly defined via 'derived from the domain base' — an agent must infer it is a domain base DN.

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 owner of each of the five FSMO roles') and enumerates the five roles returned, so an agent knows exactly what it gets. No sibling tool covers FSMO roles, so it is trivially distinguishable.

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?

The '(audit)' tag and the five-role enumeration imply an auditing/health-check use, and the description gives a conditional rule for passing `config_base` in multi-domain forests. It never explicitly states when to call this instead of adjacent tools such as get_domain_info or list_domain_controllers, so selection guidance is implied rather than stated.

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