Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_create_task

Create a new task in a TheHive case with title, assignee, status, and due date; preview by default and require explicit approval to execute.

Instructions

Create a new task in a case 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>",
      "title": "<title>"
    },
    "name": "thehive_create_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagNoWhether to flag the task
groupNoTask group for organization
orderNoTask order/position in the list
titleYesTask title
caseIdYesThe case ID to add the task to
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
statusNoInitial status: Waiting, InProgress (default: Waiting)
confirmNoSet true only after the operator approves this exact operation.
dueDateNoDue date as Unix timestamp in milliseconds
assigneeNoUsername to assign the task to
descriptionNoTask description (supports markdown)

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?

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description adds the two-stage preview/confirm execution model and an environment-variable gate, which is real behavioral context an agent cannot infer. There is mild tension between destructiveHint=false and the THEHIVE_ALLOW_DESTRUCTIVE_TOOLS requirement, but the description does not contradict the annotation.

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?

Three short sentences, front-loaded with purpose, then the authority requirement and the execution protocol. It is efficient, though the missing punctuation between "case" and "Requires" makes the opening read as a run-on.

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 an 11-parameter mutation tool, the description covers the safety gate and execution protocol that matter most, and the schema already documents all fields. With no output schema, a note on what the created task returns would be the only meaningful addition.

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, including dryRun, confirm, status enum, and dueDate format, is already documented in the schema. The description adds no field-level meaning beyond what the schema supplies, so the 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?

"Create a new task in a case" gives a specific verb and resource, and it is clearly distinct from siblings like thehive_create_task_log or thehive_create_case. It stops short of explicitly naming those alternatives, so an agent gets the action but not an explicit contrast.

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?

States the operating conditions clearly: it previews by default, execution needs dryRun=false plus confirm=true, and operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true) is required. It does not say when to prefer this over related tools such as task logs, but the when-to-invoke workflow is unambiguous.

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