Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Create Platform Role

create_platform_role

Creates a Delinea Platform role with an optional description and enabled status, failing if the role already exists. Assign permissions afterward to grant access.

Instructions

Create a Delinea Platform role.

Calls POST /permission/api/roles; fails if the role exists. A new role has no permissions and grants nothing until it is given some in the Platform. 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": "create_platform_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNo
role_nameYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, so the safety profile is covered. The description adds genuinely new behavior: the underlying endpoint (POST /permission/api/roles), the duplicate-name failure mode, and the important post-condition that the role starts with zero permissions and grants nothing. Return value shape is not disclosed, which keeps it from a 5.

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 endpoint and the two behavioral caveats; there is no filler. The raw spec URL is long but is the only place to learn the full API contract, so it earns its space.

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 mutation tool with no output schema, the description covers failure behavior and post-creation state well, but leaves the agent guessing about the three parameters and about what the call returns (e.g., a role ID needed for add_platform_role_members). Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description carries the full burden and does not meet it. It never explains what role_name should look like, what enabled=false means for a freshly created role, or how description is used — all three are bare titles in the schema.

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 ("Create a Delinea Platform role"), and the qualifier "Platform" distinguishes it from the sibling create_role, which is presumably a different product surface. It stops short of naming that sibling explicitly, so the differentiation is implied rather than stated.

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 description gives useful preconditions — it fails if the role already exists, and the new role grants nothing until permissions are assigned — which tells the agent this is step one of a two-step flow. It never says when to prefer this over create_role or update_platform_role, so the agent must infer the alternative from the name alone.

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