Skip to main content
Glama
alpadalar

ActiveDirectoryMCP

by alpadalar

add_group_member

Add a user, computer, or group to an Active Directory group by specifying the group name and member distinguished name; the operation fails if the member already exists.

Instructions

Add a member to a group.

Adds user, computer, or group as member of specified group.

Example:

  • add_group_member(group_name="Sales Team", member_dn="CN=John Smith,OU=Users,DC=company,DC=com")

Fails if the member is already in the group.

Input Schema

NameRequiredDescriptionDefault
member_dnYesDistinguished name of member to add
group_nameYesGroup name to add member to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 behavioral burden. It usefully discloses accepted member types and that the operation fails if the member is already present, but it omits permissions/auth requirements, reversibility, side effects, and response behavior.

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 and front-loaded, with the main purpose first followed by accepted member types, an example, and the duplicate failure condition. The first two sentences overlap slightly, but the content is efficient overall.

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?

For a simple two-parameter mutation tool, the description covers purpose, accepted inputs, an example, and one important failure mode. It is still incomplete for a tool with no annotations and no output schema because it does not address permissions, prerequisites, or what happens on success.

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 schema already documents both parameters. The description adds value with a concrete example showing group_name usage and the DN format for member_dn, going slightly beyond the schema text.

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: adding a user, computer, or group as a member of a specified group. It is clearly distinguishable from sibling operations like remove_group_member and get_group_members, though it does not explicitly name those alternatives.

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 implied by the operation itself, and the duplicate-member failure condition gives useful context. However, it does not explicitly say when to use this versus remove_group_member/get_group_members or mention prerequisites such as both objects already existing.

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