Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Manage Platform Roles

platform_role_management
Destructive

List, retrieve, create, update, or delete Delinea Platform roles, including user and role assignments, with fallback guidance when role endpoints are unavailable.

Instructions

Manage roles on the Delinea Platform identity service.

Endpoint coverage:

  • "list" -> POST /identity/api/Report/RunReport ID role_searchbyname with a wildcard match. Returns all visible roles.

  • "get" -> same report filtered by an exact / substring role name.

  • "create" -> POST /identity/api/SaasManage/StoreRole (body {"Name": ..., "Description": ...}). Returns the role's _RowKey in Result.

  • "update" -> POST /identity/api/Roles/UpdateRole (body {"Name": <role-id>, "Description": ..., "Users": {"Add": [...]}, ...}).

  • "delete" -> POST /identity/api/SaasManage/RemoveRole.

Mutation behaviour is discovery-driven: the tool attempts the documented endpoint, and only falls back to a structured guidance error when the response is HTTP 404 (typical on modern Delinea Platform tenants using the xpmheadless scope, which exposes user CRUD but not role CRUD). Tenants that do expose role mutations get the real result.

Parameters

action: "list", "get", "create", "update" or "delete". role_id: Required for "get", "update" and "delete". For modern Platform this is typically a Name; for legacy Centrify deployments it's the _RowKey returned by StoreRole. data: For "create": {"Name": ..., "Description": ...}. For "update": any subset of {"Description", "Name", "Users": {"Add": [...], "Delete": [...]}, "Roles": {"Add": [...]}}. page_size: Maximum rows for "list". query: Optional search substring for "list". Default "%" matches all.

Returns

dict Raw API payload for reads, {"result": ..., "verification": ...} for successful writes, or {"error": ...} when the endpoint is unavailable on this tenant.

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>"
    },
    "name": "platform_role_management"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
queryNo%
actionYes
role_idNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Adds real context beyond the annotations: mutations are 'discovery-driven', 404 on tenants lacking role CRUD yields a structured guidance error, and successful writes return a verification payload. The destructive=true / readOnly=false hints are consistent with the documented create/update/delete behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and organized into endpoint/parameters/returns sections, but the raw endpoint paths, JSON body snippets, and RST backtick artifacts add bulk that an agent rarely needs to select or call the tool.

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 5-parameter, no-output-schema tool this covers actions, parameter roles, failure modes, and return shape well enough to call correctly. It stops short of noting any permission prerequisites for the mutating actions.

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 coverage is 0%, so the description carries the load, and it does: it defines each action's valid values, the dual meaning of role_id (Name on modern tenants vs _RowKey on legacy Centrify), the data payload shape per action, and the query default of '%'. Minor gap: it doesn't say whether data is required for create or what happens if it is omitted.

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?

Opens with a specific verb+resource ('Manage roles on the Delinea Platform identity service') and enumerates the five actions with their endpoints. It does not differentiate itself from plausible siblings such as role_management or platform_user_role_management, which keeps it short of a 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?

Explains per-action requirements (role_id required for get/update/delete, data shapes for create/update) and when the guidance-error fallback occurs. It never states when to pick this tool over the sibling role tools, so routing guidance is only implied.

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