Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Create Role

create_role

Create a Secret Server role by submitting its name and enabled status, then verify the new role with a follow-up GET request.

Instructions

Create a Secret Server role.

Calls POST /api/v1/roles; data needs name and enabled. Returns {"result": ..., "verification": ...}, where verification is a follow-up GET of the role. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

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": {
      "data": "<data>"
    },
    "name": "create_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive write, and the description adds real context on top: the REST endpoint invoked and the fact that a verification GET is performed after creation. It does not cover failure modes, permission requirements, or what 'verification' contains on failure, so it is strong but not exhaustive.

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 essential facts (what it does, endpoint, required fields, return shape) are front-loaded in three tight sentences. The trailing full REST API documentation URL is long and only marginally useful, but the prose itself carries no filler.

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?

With no output schema, the description usefully explains the returned result/verification envelope and the follow-up GET, which an agent would otherwise not know. The remaining gap is the under-described nested data payload, which is only partly enumerated.

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 coverage is 0% and the single parameter is an untyped object with additionalProperties true, so the schema alone tells an agent nothing. The description compensates partially by naming the required 'name' and 'enabled' fields, but it omits the rest of the role payload and any format constraints, leaving the nested object largely undocumented.

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 Secret Server role') and pins the underlying operation to POST /api/v1/roles, which also implicitly separates it from the platform-role sibling. It stops short of explicitly contrasting with create_platform_role or update_role, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no named alternative for the closely related create_platform_role or update_role tools. The only implied guidance comes from the endpoint reference, which tells an agent how the call is executed rather than when it should be chosen.

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