Skip to main content
Glama
gpo-mcp-server

gpo-mcp-server

by hgursel

Get Gpo Links

get_gpo_links

Show all Organizational Units, domains, and sites linked to a GPO, including link enabled and enforced status, so you can verify exactly where the policy applies.

Instructions

Show all Organizational Units, domains, and sites linked to a GPO.

Parses the LinksTo section of the GPO XML report to show exactly where this GPO is applied, including whether each link is enabled and whether it is enforced (NoOverride).

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

Input Schema

NameRequiredDescriptionDefault
nameNoGPO display name. Provide either this or gpo_id.
gpo_idNoGPO GUID string. Provide either this or name.

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 usefully discloses the mechanism ('parses the LinksTo section of the GPO XML report') and the shape of results (enabled / NoOverride per link), which implies a read-only, non-mutating lookup. It says nothing about error behavior when the name or GUID does not resolve, whether multiple GPOs could match a name, or what permissions or connectivity are needed.

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?

Two short sentences, front-loaded with the answer to 'what does this return.' The second sentence earns its place by naming the data source and the per-link flags, with no filler or restatement of the title.

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 structure need not be explained, and the two parameters are fully described in the schema. For a read-only lookup that leaves little missing; only failure/lookup semantics for a non-resolving name or GUID would strengthen 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 coverage is 100% and both parameters already document their mutual exclusivity ('Provide either this or gpo_id'), so the schema does the heavy lifting. The description adds nothing about identifier resolution or precedence if both are passed. Baseline 3 applies when the schema is fully documented.

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 gives a specific verb and resource: it shows all OUs, domains, and sites linked to a GPO, and adds that link state (enabled, enforced/NoOverride) is included. That is far more precise than the tautological title. It does not explicitly contrast itself with near-neighbors such as get_gpo_scope or get_gpo_inheritance, so it stops short of a 5.

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?

There is no explicit when-to-use clause, no exclusions, and no prerequisites such as 'the named GPO must already exist.' Usage is only implied by the stated output, which tells an agent this is the tool for auditing where a GPO is applied. Adequate but leaves the agent to infer the boundaries itself.

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