Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Get Gpo Report

get_gpo_report

Retrieve a Group Policy Object's full settings report as structured XML or human-readable HTML, so you can audit GPO configuration and inspect policy details.

Instructions

Get the full settings report for a GPO in XML or HTML format.

For XML reports, returns both the raw XML string and the parsed settings structure. For HTML reports, returns the raw HTML string suitable for display in a browser.

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_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoGPO display name. Provide either this or gpo_id.
gpo_idNoGPO GUID string. Provide either this or name.
report_typeNoReport format — "xml" (default) or "html". XML provides structured data; HTML is human-readable.xml

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 supplied, the description carries the behavioral burden and does disclose the format-dependent return shape: raw XML plus parsed structure, or a raw HTML string. It says nothing about permissions needed to read a GPO, whether the report is expensive/slow to generate, or how large GPOs are handled, so read-safety and cost remain unstated.

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?

Front-loaded with the core action, then a short parallel breakdown of the two return formats. Every sentence is relevant, though the format explanation partly duplicates the schema and could be trimmed without loss.

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 and the description supplements it with the format-conditional return semantics, which is the main thing an agent needs to interpret results. Identity resolution (name vs gpo_id) is left entirely to the schema, which is acceptable given full coverage, but no guidance on large reports or errors is present.

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%, so name, gpo_id, and report_type are already fully documented in the schema, including the either/or identity constraint. The description adds only a restatement of the xml versus html effect, which the schema itself already explains; 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 ("Get the full settings report for a GPO") plus the supported output formats, which is far more informative than the title alone. It does not, however, differentiate itself from close siblings such as get_gpo_settings or get_gpo_details, so an agent must infer which one to pick.

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 the format trade-off (XML for structured data, HTML for browser display), which is useful selection context. It never says when to prefer this over get_gpo_settings or get_gpo_details, and offers no exclusions or prerequisites beyond the schema's identity requirement.

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