Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_assign_case

DestructiveIdempotent

Assign a TheHive case to a specific user by username or login, with a dry-run preview by default and execution only after explicit operator approval.

Instructions

Assign a case to a TheHive user by username or login 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": {
      "caseId": "<caseId>",
      "owner": "<owner>"
    },
    "name": "thehive_assign_case"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds meaningful context beyond them: a required environment gate, a default dry-run/preview mode, and a two-key confirmation protocol after approval. This tells an agent exactly how the mutation is gated and what the safe default is.

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?

Four short sentences, front-loaded with the action before the safety protocol, with no filler. Minor flaw: the missing period after 'by username or login' makes the second sentence run into the first.

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 gated destructive mutation with no output schema, the description covers authority, preview, and confirmation requirements well. It omits what happens on an unknown username and what the preview returns, but nothing critical to correct invocation is missing.

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 description coverage is 100%, so every parameter (owner, caseId, dryRun, confirm) is already documented in the schema. The description restates the owner as 'username or login' and reiterates the dryRun/confirm gating, adding emphasis but little new meaning; the baseline of 3 applies.

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 (assign a case) and identifies the target property (TheHive user by username or login). It is clear what single-case assignment does, though it never names thehive_bulk_assign_cases, so the singular-vs-bulk distinction is only implied by 'a case'.

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 gives concrete routing conditions: preview by default, execute only with dryRun=false and confirm=true after approval, and only when THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. The main gap is no explicit pointer to a sibling for multi-case assignment or for reassigning via update_case.

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