Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Manage Group Membership

user_group_management
Destructive

Lists a user's group memberships, adds the user to specified groups, or removes them from groups through the Delinea API.

Instructions

Add or remove a user from groups.

Parameters

action: "get" to list groups for the user, "add" to add the user to groups or "remove" to remove them. user_id: Target user identifier. group_ids: List of group identifiers used with "add" and "remove".

Returns

dict API response content.

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": {
      "action": "<action>",
      "user_id": "<user_id>"
    },
    "name": "user_group_management"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
user_idYes
group_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false, so the safety profile is covered by structured data. The description adds little beyond that: it does not say what permissions are needed, whether removals are reversible, what happens to a user left with no groups, or anything concrete about the response ("API response content" is uninformative).

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?

Front-loaded with the core action statement, then a scannable per-parameter breakdown. The trailing Returns block ("dict / API response content") is low-value filler but small, and no sentence is redundant with another.

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 destructive mutation tool with no output schema and zero schema description coverage, the definition covers parameters adequately but leaves out permission requirements, the optional-vs-conditional status of group_ids, and side effects of removal. Enough to invoke, not enough to invoke safely in edge cases.

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 description coverage is 0%, so the description must carry the parameters, and it does: it names all three and enumerates the accepted action values ("get", "add", "remove"), which the schema does not encode as an enum. It stops short of stating that group_ids is required for add/remove and ignored for get, and that the schema marks it optional.

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 opening line gives a specific verb and resource ("Add or remove a user from groups"), and the Parameters block extends it with a third mode, listing groups. It is clear what the tool does, though the summary sentence undersells the "get" capability, which only surfaces in the parameter docs.

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?

Per-mode usage is implied by the action enumeration (use "get" to list, "add"/"remove" to mutate), so an agent can infer which mode fits. But there is no guidance on when to use this tool instead of user_management, group_management, or user_role_management, and no stated prerequisites or exclusions.

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