Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Find Unlinked Gpos

find_unlinked_gpos

Detects Group Policy Objects that are not linked to any OU, site, or domain, revealing unused GPOs that consume resources and may need cleanup.

Instructions

Find all GPOs that are not linked to any OU, site, or domain.

Unlinked GPOs consume storage and processing resources but have no effect on any users or computers. They are often the result of deleted OUs, reorganized AD structure, or incomplete cleanup after GPO migration.

Note: This tool issues one PowerShell call per GPO to fetch XML reports. It may be slow on domains with many GPOs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_unlinked_gpos"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden. It discloses a real operational trait: one PowerShell call per GPO to fetch XML reports, plus a warning that it may be slow on large domains. That is exactly the kind of behavior an agent cannot infer from the schema, though it does not state the return shape or failure modes.

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 definition leads with scope, then context, then an operational warning, which is good front-loading. The middle paragraph on causes of unlinked GPOs is mild background that does not change invocation behavior but does support interpretation of results. Nothing is padded beyond that.

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 not be explained, and with zero parameters the schema side is trivially complete. The description covers purpose, rationale, and the performance caveat, which is enough for an agent to call it correctly. A note on whether it scans the entire domain versus a scope would close the remaining gap.

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, so the baseline is 4. There is no parameter meaning to add, and the description correctly does not invent any parameter guidance.

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 first sentence states a specific verb and resource with a precise scope: GPOs not linked to any OU, site, or domain. This is easy to separate from siblings like list_gpos or find_disabled_gpos. It stops short of naming any alternative, so it is clear but not sibling-differentiated in text.

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 explains why unlinked GPOs exist and that they have no effect, which implies a cleanup/audit use case. It never says explicitly when to choose this over list_gpos or find_disabled_gpos, nor does it state exclusions or prerequisites. Usage is implied rather than directed.

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