Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_bulk_assign_cases

DestructiveIdempotent

Assign multiple TheHive cases to one user as owner, previewing changes by default and requiring confirmation before execution.

Instructions

Assign multiple cases to a TheHive user. Requires THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval.

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": {
      "caseIds": "<caseIds>",
      "owner": "<owner>"
    },
    "name": "thehive_bulk_assign_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerYesUsername or login to assign as case owner
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
caseIdsYesCase IDs to assign
confirmNoSet true only after the operator approves this exact operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description's added value is the operational gatekeeping: env-flag dependency, operator authority, and the preview/confirm sequence for a destructive mutation. It loses a point for restating the same THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true requirement twice in near-identical phrasing, and for not noting partial-failure or invalid-ID behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and short, which is good, but the parenthetical duplication of the destructive-tools requirement is wasted space in an otherwise tight four-sentence description.

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 destructive bulk mutation with no output schema, the description covers the essential prerequisites and the safety protocol an agent must follow before calling. Missing details are secondary: what happens with mixed valid/invalid case IDs, and how the result reports per-case outcomes.

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 coverage is 100%, so per-parameter documentation is already handled; the description still adds workflow meaning by tying dryRun and confirm to an approval sequence rather than leaving them as isolated flags. It adds nothing about owner resolution or the 50-case cap beyond what the schema states.

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?

The description opens with a specific verb+resource+scope: 'Assign multiple cases to a TheHive user.' The word 'multiple' implicitly separates it from the singular thehive_assign_case, though it never names that sibling explicitly.

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

Usage Guidelines4/5

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

It lays out a clear two-phase protocol: preview by default, then execute only with dryRun=false and confirm=true after approval, plus the environmental prerequisite. It does not state when to prefer this over the single-case assignment tool, so the alternative selection is left implicit.

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