Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Add Platform Role Members

add_platform_role_members
Idempotent

Assign a Delinea Platform role to users or groups by their IDs, granting the role's permissions. Use it to add role memberships so subjects gain the access the role provides.

Instructions

Assign a Delinea Platform role to users or groups, granting its permissions.

subject_ids are Platform user or group IDs (find users with search_users). For each, calls PATCH /permission/api/role-memberships/{id}/add-role, or POST /permission/api/role-memberships when the subject has no role assignments yet. 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": "add_platform_role_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_nameYes
subject_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the underlying endpoints chosen per subject, that permissions are actually granted (a meaningful side effect), and that one result is returned per subject. That is real added context, though error behavior for an unknown role_name is not covered.

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 core behavior is front-loaded in the first sentence, followed by parameter guidance and endpoint detail. The endpoint paths and spec URL are somewhat verbose but plausibly useful for an agent debugging failures; little else is wasted.

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 two-parameter mutation with no output schema, the definition covers what is assigned, by what identifier, where to source IDs, and roughly what comes back ('one result per subject'). Missing only failure-mode guidance for nonexistent roles or subjects.

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 carries the burden. It explains subject_ids well (Platform user or group IDs plus how to find them) but only implicitly defines role_name — no statement that it must be an existing role or whether it is matched by exact name.

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: 'Assign a Delinea Platform role to users or groups, granting its permissions.' That is clearly distinguishable from get_platform_role_members and remove_platform_role_members, though it never explains how it relates to the similarly named add_user_roles / add_group_roles siblings.

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?

It tells the agent where to get subject IDs ('find users with search_users'), which is genuinely useful pre-call guidance. However, it never states when to prefer this over add_user_roles, add_group_roles, or create_platform_role, so the choice among similar assignment tools is left to inference.

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