Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Compare Gpos

compare_gpos

Compare settings between two Group Policy Objects to identify configuration drift between baseline and deployed GPOs or environment-specific policies.

Instructions

Compare the settings between two Group Policy Objects.

Fetches XML reports for both GPOs, parses them into structured settings, then computes a detailed diff. Useful for identifying configuration drift between a baseline GPO and a deployed GPO, or between two environment-specific GPOs.

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": {
      "gpo1_name": "<gpo1_name>",
      "gpo2_name": "<gpo2_name>"
    },
    "name": "compare_gpos"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpo1_nameYesDisplay name of the first GPO (the reference/baseline).
gpo2_nameYesDisplay name of the second GPO (the comparison target).

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the burden and does reasonably well: it discloses the internal sequence (fetch XML reports for both GPOs, parse, compute a diff), which implies a read-only operation with no mutation of either GPO. It does not state permission requirements or behavior when a GPO name is not found, but the core behavior is visible.

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

Conciseness5/5

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

The purpose is front-loaded in the first sentence and the remaining two sentences each add a distinct piece of value (mechanism and use cases). No filler or restated title.

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?

For a two-parameter comparison tool with an output schema covering return values, permissions and result format need not be explained here. Purpose, mechanism, and intended scenarios are all present, leaving nothing an agent needs in order to select and call it.

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 description coverage is 100% and the schema already labels gpo1_name as the reference/baseline and gpo2_name as the comparison target. The description's baseline-versus-deployed framing repeats that without adding new parameter-level detail, so the baseline 3 is appropriate.

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 opens with a specific verb and resource: 'Compare the settings between two Group Policy Objects', and the mechanism (fetch XML reports, parse, diff) makes the operation unambiguous. It never names a sibling or explicitly states what it is not, so it lands at 4 rather than 5.

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?

It gives concrete use cases: identifying configuration drift between a baseline and a deployed GPO, or between two environment-specific GPOs. That is clear when-to-use context, but there is no explicit exclusion or pointer to alternatives such as get_gpo_settings or get_gpo_report for single-GPO inspection.

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