Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Get Gpo Settings

get_gpo_settings

Extract structured policy settings from a GPO and return parsed, nested data, avoiding raw XML parsing overhead.

Instructions

Extract structured policy settings from a GPO.

Fetches the XML report for the GPO and returns parsed settings in a clean, nested dictionary format without the raw XML overhead.

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": "get_gpo_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoGPO display name. Provide either this or gpo_id.
gpo_idNoGPO GUID string. Provide either this or name.
sectionNoOptional filter — "Computer", "User", or empty for both.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the underlying mechanism (fetches the GPO's XML report) and the output shape (clean nested dictionary, no raw XML), but says nothing about read-only nature, permissions, or failure behavior when the name/GPO ID does not resolve.

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 core action and followed by the mechanism/return note. Nearly every word earns its place; only the 'clean, nested dictionary format' phrasing is slightly redundant with the output schema.

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

Completeness3/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 parameters are fully covered by the schema. However, with zero annotations on a lookup tool, the description should at least state that it is a read-only lookup and what happens on an unresolved name or GPO ID.

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%, so the name/gpo_id mutual alternative and the Computer/User section filter are already fully documented in the schema. The description adds no parameter meaning beyond that, which is the expected baseline.

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?

Uses a specific verb+resource: 'Extract structured policy settings from a GPO', and clarifies the mechanism (fetch the XML report, return parsed nested dict). This implicitly separates it from raw-report siblings, but no sibling is named explicitly.

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?

Usage is only implied by the 'without the raw XML overhead' framing — an agent can infer this is the parsed-settings alternative to a raw report, but there is no explicit when-to-use/when-not statement or named alternative such as get_gpo_report or get_gpo_details.

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