Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Update Platform Role

update_platform_role
Destructive

Update a Delinea Platform role's description and enabled state; disabling a role blocks access for all its members. Built-in roles cannot be changed.

Instructions

Update a Delinea Platform role's description and enabled state.

Calls PUT /permission/api/roles/{name}, which replaces both; enabled=False disables the role for every member. Built-in roles can't be changed. 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>",
      "description": "<description>",
      "enabled": "<enabled>"
    },
    "name": "update_platform_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
role_nameYes
descriptionYes

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?

Goes well beyond the annotations by disclosing that PUT replaces both fields wholesale, that enabled=False disables the role for every member, and that built-in roles are immutable. Those are exactly the blast-radius facts an agent needs before a destructiveHint mutation. Missing are permission/auth requirements and what the call returns (the annotations already cover destructiveness and non-read-only status).

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 core action, then the endpoint and consequences, with zero filler. The trailing spec URL is a reasonable reference but takes space that could have held parameter caveats.

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 three-parameter destructive mutation with annotations and no output schema, the description covers replacement semantics, side effects, and the immutable built-in case. Auth requirements and return behavior are the remaining gaps, both minor given the annotation coverage.

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 the load; it does explain that role_name is the path identifier ({name}) and that description and enabled are both replaced, implying they are supplied in full rather than patched. It does not spell out the pitfall that omitting or blanking description overwrites the existing text, nor the format of role_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?

States a specific verb and resource with scope: 'Update a Delinea Platform role's description and enabled state.' The 'Platform' qualifier and the named fields let an agent distinguish it from the sibling update_role, though the description never explicitly routes between the two.

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 only implied by the field list; there is no explicit statement of when to prefer this over update_role or create_platform_role. A useful when-not is present in 'Built-in roles can't be changed,' but it reads as a caveat rather than deliberate routing guidance.

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