Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_create_case

Create a new TheHive case with title, severity, TLP/PAP, tags, owner, and template; previews by default and requires explicit approval to execute.

Instructions

Create a new case in TheHive 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": {
      "title": "<title>"
    },
    "name": "thehive_create_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
papNoPAP: 0=Clear, 1=Green, 2=Amber, 3=Red (default: 2)
tlpNoTLP 2.0: 0=Clear, 1=Green, 2=Amber, 3=Amber+Strict, 4=Red (default: 2)
flagNoWhether to flag/star the case
tagsNoTags to apply to the case
ownerNoUsername to assign as case owner
titleYesCase title
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
confirmNoSet true only after the operator approves this exact operation.
severityNoSeverity: 1=Low, 2=Medium, 3=High, 4=Critical (default: 2)
templateNoCase template name to use
descriptionNoCase description (supports markdown)
customFieldsNoCase custom fields keyed by TheHive custom field name

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 only say readOnlyHint=false, destructiveHint=false, idempotentHint=false. The description adds real value beyond that: a required environment flag, a default dry-run preview mode, and a two-key execution gate. It does not contradict the annotations — additive creation with destructiveHint=false is consistent.

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, roughly 30 words, front-loaded with purpose followed by the safety workflow. Minor cost: a missing period after 'TheHive' makes the first two clauses run together.

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 12-parameter mutation with no output schema, the description covers the highest-risk unknowns — permissions and the preview/confirm contract. Remaining gaps (what a preview returns, template or customFields behavior) are modest given complete schema coverage.

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%, so every parameter including pap/tlp/severity scales is already documented in the schema. The description reinforces the dryRun/confirm semantics but adds no syntax or meaning the schema lacks, so baseline 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 first sentence states a specific verb and resource: 'Create a new case in TheHive'. That cleanly separates it from the create_alert / create_task / create_observable siblings by resource type, though it never names an alternative 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?

Gives concrete operational context: operator authority via THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true, preview-by-default, and the dryRun=false + confirm=true gate after approval. What's missing is guidance on when to create a case rather than an alert or task, but the execution preconditions are unusually clear.

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