Skip to main content
Glama
Microsoft Active Directory MCP Server

Microsoft Active Directory MCP Server

by nks1097

ad_link_gpo

Links a Group Policy Object to an Active Directory site, domain, or organizational unit, enabling policy application to targeted directory containers.

Instructions

[Group Policy Objects] [WRITE] Vincular GPO a site, dominio ou OU.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gpo_identity": "<gpo_identity>",
      "target_dn": "<target_dn>"
    },
    "name": "ad_link_gpo"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNo
dry_runNo
enabledNo
enforcedNo
target_dnYes
gpo_identityYes
correlation_idNo
confirmation_tokenNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description bears full burden, and it only supplies the [WRITE] tag. It says nothing about whether the link is reversible, what happens on re-linking an already-linked GPO, whether confirmation is required, or whether dry_run/confirmation_token exist as a two-step flow. For a mutation tool with zero annotation coverage, this is a significant gap.

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?

A single compact sentence with useful bracketed category and write tags front-loaded, so there is no wasted prose. However, the brevity crosses into under-specification rather than true conciseness; 'dominio' is even unaccented, suggesting minimal authoring care.

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

Completeness2/5

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

With 8 parameters, no annotations, 0% schema descriptions, and a hidden confirmation-token flow, the description does not give an agent enough to call the tool correctly; a caller could easily omit dry_run or the confirmation_token. The existing output schema relieves the need to explain return values, which is the only thing in its favor.

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% across 8 parameters, so the description must compensate and it barely does. The phrase 'a site, dominio ou OU' implies what target_dn should contain and that gpo_identity names the GPO, but order, enabled, enforced, dry_run, and confirmation_token are entirely undocumented in both schema and description.

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 states a specific verb and resource: 'Vincular GPO a site, dominio ou OU' (link a GPO to a site, domain, or OU). Combined with the [Group Policy Objects] and [WRITE] tags, an agent can immediately distinguish this from siblings like ad_unlink_gpo, ad_create_gpo, or ad_update_gpo. It stops short of a 5 because the tag prefix adds no information beyond the name prefix 'ad_'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives such as ad_unlink_gpo or ad_update_gpo, and no prerequisites such as required permissions or whether the target OU/site/domain must already exist. The [WRITE] tag implies a mutation context, but nothing explicitly says when or when not to call it.

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

Deploy Server

Other Tools