Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_promote_alert

Destructive

Promote a TheHive alert to a case, generating a new case from alert data; previews by default and executes only with dryRun=false and confirm=true after approval.

Instructions

Promote an alert to a case. Creates a new case from the alert data. 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": {
      "alertId": "<alertId>"
    },
    "name": "thehive_promote_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
alertIdYesThe alert ID to promote to a case
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.8/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, but the description adds genuinely new context: the preview-by-default posture, the two-flag execution gate, and the environment-level authority requirement. The notable remaining gap is what happens to the source alert after promotion (deleted, marked promoted, or left untouched) and whether the created case ID is returned.

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 and followed by the safety protocol; there is little waste. The second sentence mildly restates the first, and the dryRun/confirm protocol repeats what the schema properties already say, costing a small amount of redundancy.

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 destructive, non-idempotent mutation with no output schema, the description covers the safety mechanics well but omits the outcome: no return value, no statement about the alert's post-promotion state, and no note on whether promotion is reversible. An agent can invoke it safely but cannot predict the result.

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 coverage is 100% and each parameter already carries its own description, so the schema does most of the work. The description restates the dryRun/confirm protocol and adds the notion of an approval step, but contributes no new syntax or format detail beyond the structured fields.

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?

"Promote an alert to a case. Creates a new case from the alert data." gives a specific verb (promote) and resource (alert → case), and the second clause distinguishes it from a plain case creation by stating the source of the data. It stops short of naming a sibling like thehive_create_case, so the differentiation is implied rather than explicit.

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?

The description states the when clearly: preview first (default), then execute only with dryRun=false and confirm=true after approval, and only when operator authority is enabled via THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. What is missing is any guidance on when to prefer this over thehive_create_case for building a case from scratch.

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