Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Delete Platform Role

delete_platform_role
Destructive

Deletes a Delinea Platform role by name so users and groups lose its permissions; also completes when the role does not exist.

Instructions

Delete a Delinea Platform role.

Calls DELETE /permission/api/roles/{name}, which also succeeds when no such role exists; users and groups lose the role's permissions. 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>"
    },
    "name": "delete_platform_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), the description discloses real behavioral facts: the underlying endpoint, that deletion cascades so users and groups lose the role's permissions, and that the call succeeds even when the role is absent. That last point sits in mild tension with idempotentHint=false, though it concerns error behavior rather than the effect of repeated calls, so it is not a true contradiction.

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 action and resource, followed by the concrete API call and consequence. The OpenAPI spec link is reasonable supporting material, though it is not something an agent can dereference mid-call.

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 single-parameter destructive tool with no output schema, the definition covers what is destroyed, who is affected, and what happens when the target does not exist, which is most of what an agent needs. It does not mention required permissions or whether the deletion is recoverable, both relevant for an irreversible operation.

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?

One required parameter with 0% schema coverage, so the description must carry meaning. The endpoint template '{name}' implies role_name is the identifier used in the API path, which adds modest value, but there is no guidance on where to obtain a valid role name or its format (case sensitivity, exact vs. partial match).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Delete a Delinea Platform role'), which cleanly separates it from siblings such as delete_platform_user, create_platform_role, or update_platform_role. The API path DELETE /permission/api/roles/{name} reinforces the exact scope.

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?

The destructive intent is implied clearly enough that an agent knows this is the removal operation for a platform role, but there is no explicit when-to-use versus alternatives guidance (e.g., prefer update_platform_role to revoke permissions, or remove_platform_role_members first).

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