Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Remove Platform Role Members

remove_platform_role_members
Destructive

Removes a Delinea Platform role from specified users or groups by subject IDs and returns one result per subject.

Instructions

Remove a Delinea Platform role from users or groups.

For each of subject_ids (Platform user or group IDs), calls PATCH /permission/api/role-memberships/{id}/remove-role. Returns one result per subject. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

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": {
      "role_name": "<role_name>",
      "subject_ids": "<subject_ids>"
    },
    "name": "remove_platform_role_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_nameYes
subject_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered structurally. The description does add genuinely useful behavior beyond that: it is a bulk per-subject loop hitting PATCH /permission/api/role-memberships/{id}/remove-role and returns one result per subject, implying non-atomic partial-failure semantics. It stops short of saying what happens to subjects that lack the role or what permissions are required.

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 one-line purpose, then the endpoint detail and return shape. The OpenAPI spec URL is marginal but not distracting; no filler sentences.

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 two-parameter bulk mutation with no output schema, the description covers the operation and the per-subject result shape but omits error behavior, required permissions, and whether removal of a non-member subject fails or no-ops. Adequate but not fully sufficient to call it confidently in edge cases.

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%, so the description must carry parameter meaning. It identifies subject_ids as Platform user or group IDs and implies role_name is the role to remove, but adds no format, validation, or duplicate-handling detail for either parameter.

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 Delinea Platform role from users or groups') and narrows the subject scope to Platform user or group IDs. It does not explicitly distinguish itself from siblings like remove_user_roles or remove_group_roles, so an agent must infer the Platform-vs-Secret-Server split from the name alone.

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 or when-not-to-use guidance and no alternative named. Given siblings such as remove_user_roles, remove_group_roles, and remove_platform_role_members-style tools, the absence of routing guidance is a real gap.

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