Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Get Rsop

get_rsop

Calculate the Resultant Set of Policy (RSoP) for a user, computer, or both to determine which Group Policy settings actually apply after inheritance, security filtering, and WMI filter evaluation.

Instructions

Get the Resultant Set of Policy (RSoP) for a user and/or computer.

Calculates which policies actually apply to a specific user, computer, or user+computer combination after inheritance, security filtering, and WMI filter evaluation are taken into account.

At least one of user or computer must be provided.

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

Input Schema

NameRequiredDescriptionDefault
userNoDomain user in "DOMAIN\username" format (e.g. "CONTOSO\jsmith"). Optional if computer is provided.
computerNoComputer name without domain prefix (e.g. "DESKTOP-ABC123"). Optional if user is provided.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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 that the tool performs a calculation involving inheritance, security filtering, and WMI filter evaluation, which is useful behavioral context beyond a simple lookup. It does not state whether the operation is read-only, what permissions are required, whether WMI evaluation can be slow, or what happens if neither user nor computer is supplied beyond the precondition statement.

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 description is short, front-loaded, and explains the core concept before the constraint. There is minor repetition between 'user and/or computer' and 'specific user, computer, or user+computer combination', but no significant wasted text.

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?

For a two-parameter read-style calculation tool with full schema coverage and an output schema, the description provides the essential purpose, calculation semantics, and input precondition. Missing permission requirements and performance considerations are modest gaps relative to the tool's apparent simplicity.

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?

Schema coverage is 100%, so the baseline would be 3. The description adds meaningful semantics by stating that at least one of user or computer must be provided, a constraint not expressed in the schema's required list. It also clarifies that user, computer, or both may be targeted together.

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 states a specific verb and resource: obtaining the Resultant Set of Policy (RSoP) for a user and/or computer. It also explains that the result reflects inheritance, security filtering, and WMI filter evaluation, which distinguishes this from raw GPO lookup tools. It does not explicitly name or contrast with sibling tools such as get_gpo_scope or get_gpo_report.

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 by explaining that this calculates which policies actually apply to a user, computer, or both. It also states the key precondition that at least one of user or computer must be provided. However, it gives no explicit guidance on when to choose this over alternatives such as get_gpo_scope, get_gpo_report, or get_gpo_inheritance.

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