Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Remove Roles from Group

remove_group_roles
Destructive

Removes specified roles from a Secret Server group by group ID and role IDs, enabling permission cleanup while respecting role-administration lockout safeguards.

Instructions

Remove roles from a Secret Server group.

Calls DELETE /api/v1/groups/{id}/roles with {"roleIds": [...]}. Secret Server refuses any role removal it calculates would lock the signed-in account out of role administration (API_RoleAdministrationNoLockout). It counts only rights granted through Secret Server roles, so an account that is an administrator through the Delinea Platform can add roles but not remove them. 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": {
      "group_id": "<group_id>",
      "role_ids": "<role_ids>"
    },
    "name": "remove_group_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes
role_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes well beyond that: it discloses the underlying DELETE endpoint and JSON payload shape, and — most valuably — the API_RoleAdministrationNoLockout refusal, including the subtle caveat that Delinea Platform-derived administrator rights are not counted so such accounts can add roles but not remove them. That is exactly the kind of failure mode an agent cannot infer from structured fields.

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 key fact (what it removes) is front-loaded, and the endpoint/payload detail follows logically before the lockout caveat. The trailing documentation URL is somewhat expendable and the text is a bit long for two parameters, but every sentence except the reference link carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive two-parameter mutation with no output schema, the description covers the endpoint, request body, and the one server-side guard that will block the call. It omits what a successful response looks like (e.g., empty body vs. updated role list) and whether the call is all-or-nothing when multiple role IDs are supplied, which keeps it below 5.

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 0% for both parameters, so the description carries the full burden. It partially compensates by showing that group_id is the `{id}` path segment and role_ids is sent as a `roleIds` array in the body, which clarifies shape and location. It does not say whether unknown or already-absent role IDs cause an error or are silently ignored, leaving partial-failure semantics undocumented.

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 opens with a precise verb+resource: 'Remove roles from a Secret Server group.' That distinguishes it from add_group_roles and from the user-scoped variants (remove_user_roles, remove_user_from_groups) by naming both the target object (group) and the object being removed (roles). It stops short of explicitly naming a sibling, which keeps it at 4 rather than 5.

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 verb and target, and the lockout rule gives a real precondition an agent should anticipate before calling. However, there is no explicit 'use this instead of X when...' routing against the many sibling role-removal tools, and no statement of when removal would be inappropriate beyond the server-side refusal case.

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