Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Get Gpo Inheritance

get_gpo_inheritance

Retrieves the ordered Group Policy Object inheritance chain for an Organizational Unit, accounting for parent OU inheritance, block inheritance settings, and enforced NoOverride links.

Instructions

Show the GPO inheritance chain for an Organizational Unit.

Retrieves the ordered list of GPOs that apply to the specified OU, taking into account inheritance from parent OUs, block inheritance settings, and enforced (NoOverride) links.

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": {
      "target_ou": "<target_ou>"
    },
    "name": "get_gpo_inheritance"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_ouYesDistinguished name of the OU to query, e.g. "OU=Sales,DC=contoso,DC=com" or "DC=contoso,DC=com".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the result accounts for parent-OU inheritance, block-inheritance settings, and enforced (NoOverride) links — real computation semantics beyond the name. However, it does not state that this is a read-only operation, nor any permission or authentication requirements.

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?

Two short sentences, front-loaded with the purpose and followed by the inheritance semantics. The opening 'Show...' and 'Retrieves...' are slightly redundant but the expansion earns its place by explaining what inheritance resolution includes.

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?

An output schema exists, so return values need no explanation, and the lone parameter is fully described in the schema. The description covers the inheritance-resolution logic adequately for a simple single-parameter query tool; only permission/safety context is missing.

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 coverage is 100% and the single target_ou parameter is fully documented in the schema, including distinguished-name format examples. The description only restates that the OU is 'specified' and adds no format or edge-case detail beyond the schema, so baseline 3 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?

States a specific verb and resource — 'Show the GPO inheritance chain for an Organizational Unit' — which is clearly distinct from siblings like get_gpo_links or get_gpo_scope. It does not explicitly name or contrast those siblings, so the differentiation is implicit rather than stated.

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 description implies the use case (resolving which GPOs actually apply to an OU, including inherited and enforced links) but never says when to prefer this over get_rsop or get_gpo_scope, nor any prerequisites. Usage is inferable from the purpose but not explicitly guided.

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