Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Bulk User Incident Response

bulk_user_response
Destructive

Run bulk incident response and offboarding by forcing logout, locking, disabling, or resetting 2FA; unlock or re-enable accounts as needed. Preview changes and confirm with an audit comment.

Instructions

Apply an opinionated sequence of bulk user operations.

.. warning:: This tool can lock out, disable, or strip 2FA from many users in a single call. It is intended for incident response (e.g. compromised accounts), bulk offboarding, or break-glass restoration. Always verify the user_ids list with the caller before invoking and require an explicit confirm=True plus a meaningful audit comment referencing the ticket/incident.

Composes calls to POST /v1/bulk-user-operations/* endpoints in the sequence prescribed by scenario.

Scenarios

"compromise" Force-logout → lock → disable → reset FIDO2 → reset TOTP. Use when an account is suspected of compromise and you want the strongest possible response. "offboard" Force-logout → disable. Less aggressive — keeps 2FA registrations so audit trails remain meaningful. "unlock" Unlock → enable. Reverses a prior lockout/disable. "reenable" Enable only. Use after "compromise" was applied in error. "force_logout" Just terminate active sessions.

Parameters

user_ids: List of user identifiers (or JSON string of the same). scenario: One of the scenario names listed above. comment: Required audit comment. Must reference the ticket/incident and explain why this action is being taken. An empty comment is rejected. confirm: Must be set to True to actually run any destructive scenario. "unlock", "reenable" and "force_logout" also require confirmation, but planning calls (confirm=False) return a preview of what the tool would do.

Returns

dict On preview (confirm=False): {"preview": {...}} with the list of steps and target user_ids, no API calls made. On execute: {"result": {...}, "verification": {...}} where result lists per-step API responses and verification is a fresh user listing for the affected ids.

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_ids": "<user_ids>",
      "scenario": "<scenario>",
      "comment": "<comment>"
    },
    "name": "bulk_user_response"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYes
confirmNo
scenarioYes
user_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations mark it destructive and non-idempotent, and the description goes well beyond that: it warns about locking out, disabling, and stripping 2FA from many users at once, requires an audit comment referencing a ticket, mandates confirm=True, and explains that confirm=False returns a preview with no API calls. It even describes the execute response shape including post-execution verification, which annotations alone could never convey.

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 warning, then clean sections for scenarios, parameters, and returns, with each scenario explained in one line. It is long for a tool description but proportionate to a multi-step destructive operation; there is minor redundancy between the confirm warning and the confirm parameter text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema and 0% schema description coverage, the description covers the destructive blast radius, all four parameters, the scenario vocabulary, the preview-vs-execute contract, and the structure of returned results and verification. An agent has everything needed to call this safely without further discovery.

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

Parameters5/5

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

Schema description coverage is 0% and there are no enums, so the description carries the full burden and does: user_ids accepts a list or a JSON string of the same, scenario must be one of the five named values (effectively supplying the missing enum), comment cannot be empty, and confirm must be True even for the nominally non-destructive scenarios. This is meaning that exists nowhere in the schema.

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?

States a specific action (apply an opinionated sequence of bulk user operations across POST /v1/bulk-user-operations/*) and enumerates five named scenarios with the exact step chain for each. This makes it immediately distinguishable from single-user siblings such as user_management or platform_user_management.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance per scenario: "compromise" for suspected compromise, "offboard" as the less aggressive variant, "unlock" to reverse a lockout, "reenable" after a mistaken "compromise", "force_logout" for sessions only. It also distinguishes preview (confirm=False) from execution, so an agent knows the safe exploratory path.

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