Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_merge_cases

Destructive

Merges multiple TheHive cases into one, previewing by default and requiring explicit confirmation to run this irreversible, data-destructive operation.

Instructions

Merge multiple cases into a single case. This is irreversible and data-destructive. 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>"
    },
    "name": "thehive_merge_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
caseIdsYesArray of case IDs to merge (minimum 2)
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.6/5.0
Behavior5/5

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

The description adds substantial behavior beyond the annotations: it states the merge is irreversible and data-destructive, requires THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true, previews by default, and needs explicit confirmation after approval. These details are exactly what an agent needs before invoking a destructive mutation.

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

Conciseness5/5

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

The description is four compact sentences with the destructive warning and execution prerequisites front-loaded. Every sentence adds safety or operational information, and there is no filler.

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 merge tool with no output schema, the definition covers irreversibility, authority requirements, preview behavior, and confirmation prerequisites. It stops short of explaining which case survives the merge or how child records are handled, but the critical invocation constraints are present.

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 the parameter descriptions already define dryRun, caseIds, and confirm. The description still adds useful workflow semantics by tying dryRun=false and confirm=true together as the execution condition after approval.

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 states a specific verb and resource: merge multiple cases into a single case. That outcome is distinct from sibling operations such as closing, deleting, or tagging a case, so an agent can identify the tool's role without opening the schema.

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 clear operational guidance: operator authority is required, the default is preview, and execution requires dryRun=false and confirm=true after approval. It does not explicitly name alternatives or when not to merge, but the approval and preview conditions are strong context.

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