Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Update Role

update_role
Destructive

Rename, enable, or disable a Secret Server role by ID and change only the supplied fields. Disabling the role removes access for every member.

Instructions

Rename, enable or disable a Secret Server role.

Calls PATCH /api/v1/roles/{id}, changing only the fields given; enabled=False disables the role for every member. Returns {"result": ..., "verification": ...}. 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": {
      "role_id": "<role_id>"
    },
    "name": "update_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
enabledNo
role_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description earns credit for adding real context beyond them: the PATCH endpoint, that only supplied fields are modified, that enabled=False disables the role for every member (impact scope), and the return shape. It stops short of stating required authorization or behavior when role_id does not exist.

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 action and scope are front-loaded, followed by the endpoint and return contract in tight prose. The appended documentation URL is marginally useful boilerplate but does not obscure the core content.

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 mutation tool with no output schema, the description covers the endpoint, partial-update semantics, blast radius of disabling, and the returned keys. What remains missing — permission requirements and error behavior — is minor but not trivial for a destructive operation.

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 description coverage is 0%, so the description must carry the load. It meaningfully explains two of three parameters — name as rename and enabled as enable/disable with the member-wide consequence of False — while role_id is only implied via the /roles/{id} path template, leaving a minor gap.

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?

The description opens with a specific verb set and resource: 'Rename, enable or disable a Secret Server role.' The 'Secret Server' qualifier implicitly separates it from the sibling update_platform_role, so an agent can identify the target object without opening a schema.

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 implied by the field list (rename/enable/disable), and the partial-update behavior ('changing only the fields given') tells the agent how to scope a call. However, it never states when to prefer this tool over update_platform_role, nor any prerequisites such as required permissions on the role.

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