Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Remove User from Groups

remove_user_from_groups
Destructive

Remove a Secret Server user from specified groups by user ID and group IDs to revoke group-based access and update memberships.

Instructions

Remove a Secret Server user from groups.

Calls DELETE /api/v1/users/{id}/groups?groupIds=.... Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

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": {
      "user_id": "<user_id>",
      "group_ids": "<group_ids>"
    },
    "name": "remove_user_from_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
group_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is carried structurally. The description adds the underlying REST call (DELETE /api/v1/users/{id}/groups?groupIds=...) and a reference link, but says nothing about side effects such as whether inherited group-derived permissions are revoked, or what happens when the user is not a member of a listed group.

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 operation is stated in the first sentence with no filler, and the endpoint detail is placed after it. The documentation URL and endpoint string are implementation trivia that add little for an agent but do not obscure the core statement.

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 narrow two-parameter destructive tool with annotations covering the safety profile and no output schema to explain, the definition is minimally sufficient. It falls short on preconditions (permissions), on the semantics of the two required ids, and on the outcome when the membership does not exist.

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 both parameters, so the description must compensate and largely does not. Only the URL snippet hints that group_ids accepts multiple values; there is no explanation of whether user_id is the Secret Server local user id versus a platform user id, or whether unknown group ids cause an error.

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 and resource ("Remove a Secret Server user from groups"), which is unambiguous about the operation and target. It doesn't explicitly contrast itself with add_user_to_groups or get_user_groups, but the verb alone makes the distinction clear.

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?

There is no explicit when-to-use guidance, no prerequisites (e.g. admin/delegated rights needed to modify group membership), and no mention of related operations such as add_user_to_groups or get_user_groups for verification. The usage is only implied by the verb.

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