Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Lock Out Secret Server Local User

lock_out_secretserver_local_user
Destructive

Locks a local Secret Server user account to prevent access until an administrator unlocks it, recording the specified lockout reason type and description.

Instructions

Lock a local Secret Server user out until an administrator unlocks them.

Calls POST /api/v1/users/{id}/lock-out. reason_type is "SuspiciousActivity", "LoginAttemptsExceeded" or "Other"; reason is recorded as the description. 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": {
      "user_id": "<user_id>"
    },
    "name": "lock_out_secretserver_local_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
user_idYes
reason_typeNoOther

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is carried structurally. The description adds real value beyond that by naming the endpoint, saying the lock persists until an administrator reverses it, and explaining what the reason field is recorded as. It does not mention required privileges or the blast radius on existing sessions.

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 effect statement is front-loaded in the first sentence, followed by the endpoint and parameter semantics. The full documentation URL is somewhat bulky but is a legitimate reference; no sentence is pure filler.

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 three-parameter destructive mutation with annotations covering the safety profile and no output schema, the description covers purpose, endpoint and reason semantics well enough to call the tool. It stops short of stating permission requirements, whether active sessions are terminated, or what the response contains, which leaves gaps for a security-sensitive action.

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% and the schema declares no enums, so the description must carry the load. It does: it enumerates the three valid reason_type values (SuspiciousActivity, LoginAttemptsExceeded, Other) and clarifies that reason is stored as the description. Only user_id is left to inference, though its meaning is obvious from the documented path parameter.

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 gives a specific verb and resource ('Lock a local Secret Server user out') plus the concrete effect ('until an administrator unlocks them'). It is clearly distinguishable from siblings like delete_secretserver_local_user or reset_secretserver_local_user_password, and the endpoint POST /api/v1/users/{id}/lock-out pins down the exact operation.

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: an agent can infer this is the temporary-disable action rather than permanent deletion, and that unlocking is a separate administrative step. There is no explicit statement of when to prefer this over delete_secretserver_local_user, nor of prerequisites such as admin permissions.

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