Skip to main content
Glama
Microsoft Active Directory MCP Server

Microsoft Active Directory MCP Server

by nks1097

ad_list_gpos

Retrieves all Group Policy Objects (GPOs) from Active Directory, with a configurable result limit, to support auditing and directory administration.

Instructions

[Group Policy Objects] [READ] Listar todas as Group Policy Objects (GPOs).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
correlation_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/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. The [READ] tag usefully signals a non-mutating operation, but nothing is said about pagination behavior, default result size, permission requirements, or what happens when the directory is large.

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

Conciseness3/5

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

Very short and front-loaded, but the bracketed tags restate what the sentence already says ("Group Policy Objects" / GPO), so part of the text is redundant rather than additive.

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

Completeness2/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. However, for a listing tool with an undocumented 'limit' and no scoping or usage context, the definition leaves an agent with real gaps about how to call it and what to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters. The description never mentions 'limit' (default 100) or 'correlation_id', so an agent gets no semantic guidance on result capping or request tracing from either source.

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 ("Listar") and resource (GPOs), and the [READ] tag confirms the operation class. It distinguishes itself from the singular ad_get_gpo by the plural 'list' framing, though that differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus ad_get_gpo, ad_list_ou_objects, or the report/generate variants. No prerequisites such as required permissions or target domain are mentioned.

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

Deploy Server

Other Tools