Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_remove_member

Removes one or more members from a group, supporting batch removal of multiple subjects in a single call. Use it to revoke group access and return per-member results.

Instructions

Remove one or more members from a group. Supports batch operations - pass multiple subjects in the "subjects" array for efficiency instead of making multiple calls. Returns detailed information about the group and results for each member removed. For single member removals, you can use either the "subjectId" parameter OR the "subjects" array.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "groupName": "<groupName>"
    },
    "name": "grouper_remove_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectsNoArray of subjects to remove in a single batch operation. More efficient than multiple calls. Each object requires subjectId, with optional subjectSourceId and subjectIdentifier.
groupNameYesThe full name of the group
subjectIdNoThe subject ID of a single member to remove (use this OR subjects array, not both)
subjectSourceIdNoOptional subject source ID for single member (used with subjectId)
subjectIdentifierNoOptional subject identifier for single member (used with subjectId)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden. It discloses batch support and that detailed group and per-member results are returned, but it omits mutation-specific behavior such as required privileges, idempotency, error handling for non-members, and whether the removal is reversible.

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 front-loaded and appropriately sized, with the main purpose in the first sentence and practical parameter notes afterward. It is mostly free of wasted wording, though the return-value sentence is somewhat vague.

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 mutation tool with no annotations and no output schema, the description covers batch behavior and return results but is incomplete on permissions, failure modes, idempotency, and side effects like what happens when removing the last member. It is adequate but leaves meaningful behavioral gaps.

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 description coverage is 100%, so the schema already documents all five parameters in detail. The description reinforces the batch efficiency and single-member either/or choice, but adds little meaning beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Remove one or more members from a group.' It also clarifies batch and single-member scopes, making the tool's purpose distinguishable from add/get membership siblings without requiring schema inspection.

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?

It gives useful usage detail for batch versus single-member removal and notes that the subjects array is more efficient than multiple calls. However, it does not explicitly say when to use this tool versus alternatives such as grouper_add_member or grouper_get_members, and there are no exclusions or prerequisites.

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