Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_update_task

DestructiveIdempotent

Update an existing TheHive task's status, title, assignee, due date, group, order, or description; preview changes by default and execute only after explicit operator approval.

Instructions

Update an existing task 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": {
      "taskId": "<taskId>"
    },
    "name": "thehive_update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagNoFlag the task
groupNoNew group
orderNoNew order/position
titleNoNew title
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
statusNoNew status: Waiting, InProgress, Completed, Cancel
taskIdYesThe task ID to update
confirmNoSet true only after the operator approves this exact operation.
dueDateNoNew due date as Unix timestamp in milliseconds
assigneeNoNew assignee username
descriptionNoNew description

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 destructiveHint/idempotentHint annotations, it discloses the operator-authority gate (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true) and the dry-run/confirm approval flow, which are genuinely useful and not in the structured fields. It does not say what happens to fields left unspecified or whether partial updates overwrite existing values, which is the remaining gap.

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 compact sentences with the mutation and its safety gate front-loaded; nothing is filler. Minor issue: the first two sentences run together without punctuation ("task Requires"), slightly hurting readability.

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 destructive mutation with full schema coverage, annotations, and no output schema, the description covers the authority requirement and approval workflow an agent must respect. Partial-update semantics are the only notable omission.

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 dryRun and confirm is already documented in the schema; the description only restates the dryRun/confirm contract rather than adding new semantics. Baseline 3 applies since the schema does the heavy lifting.

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?

"Update an existing task" gives a specific verb and resource, clearly distinct from siblings like thehive_create_task and thehive_get_task. It stops short of naming those alternatives, but the resource is unambiguous.

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 preconditions and the two-step invocation contract: preview by default, then dryRun=false plus confirm=true only after operator approval. It does not point to sibling tools for related operations, but the when/how guidance for this tool is explicit.

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