Skip to main content
Glama
Grouper MCP Server

Grouper MCP Server

by Unicon

grouper_delete_group_by_id_index

Deletes a Grouper group by its ID index and returns the deleted group’s name, UUID, type, status, and metadata for verification and audit.

Instructions

Delete a group from Grouper by ID index and return detailed information about the deleted group including: name (full group name), displayName (human-readable display name), description (group purpose), uuid (unique identifier), extension (short name), displayExtension (short display name), typeOfGroup (group|role|entity), idIndex (numeric ID), enabled status, and detailed metadata including: hasComposite, createTime, modifyTime, createSubjectId, modifySubjectId, compositeType, typeNames, attributeNames, attributeValues, and composite group information (leftGroup, rightGroup).

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": {
      "idIndex": "<idIndex>"
    },
    "name": "grouper_delete_group_by_id_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
idIndexYesThe ID index of the group to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure for a clearly destructive operation. It never states whether deletion is reversible, whether group members and assigned privileges are also removed, what permissions are required, or what happens when the idIndex does not exist. It spends its words on the return payload instead of the consequences of the call.

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?

The action is correctly front-loaded in the opening clause, but the bulk of the description is a run-on enumeration of roughly twenty returned fields. That enumeration has some value because no output schema exists, yet the unstructured field dump is hard to scan and crowds out the more important mutation semantics.

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?

Because there is no output schema, the return-value inventory does fill a real gap and tells the agent what comes back. What is missing is the destructive-operation context — irreversibility, cascade effects on members and privileges, permission requirements, and error behavior — which matters more for a delete tool than field lists.

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?

There is a single parameter with 100% schema description coverage ("The ID index of the group to delete"), so the schema already documents it fully. The description adds no format, range, or lookup guidance beyond naming idIndex in the title phrase, which is the expected baseline when the schema does the work.

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 ("Delete a group from Grouper") plus the selector used ("by ID index"), which distinguishes it from the sibling delete-by-name and delete-by-uuid tools. However, it never explicitly states that distinction, leaving the agent to infer it from the tool name and the phrase "by ID index".

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 "by ID index" qualifier, so an agent holding a numeric idIndex can infer this is the right delete variant. There is no explicit when-to-use guidance, no statement of what to do if you only have a name or UUID, and no mention of prerequisites or safety considerations for a destructive operation.

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