Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_create_task_log

Add a log entry to a TheHive task with preview-first safety; set dryRun=false and confirm=true only after approval to execute.

Instructions

Add a log entry to a 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>",
      "message": "<message>"
    },
    "name": "thehive_create_task_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
taskIdYesThe task ID to add the log to
confirmNoSet true only after the operator approves this exact operation.
messageYesLog message content (supports markdown)
includeInTimelineNoTimeline inclusion flag (0=excluded, 1=included)

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 this is a non-read, non-destructive write; the description adds the real gate — an operator-authority env flag and a two-key dryRun/confirm approval flow — which an agent cannot infer from structured fields. It does not mention that the operation is non-idempotent, so repeated calls will append duplicate entries, but that is a secondary 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 short sentences, front-loaded with the action, then the authority requirement, then the preview/execute protocol. There is minor sloppiness (a missing period after 'task') and no wasted clauses, so it is efficient without being polished.

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 five-parameter mutation with no output schema, the description covers the two things that matter most: permission requirements and the dryRun/confirm safety protocol. It omits return behavior and duplicate-append semantics, which are minor for an append-only logging call.

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 all five parameters including dryRun, confirm, message, and includeInTimeline are already documented in the schema. The description only reinforces the dryRun/confirm semantics and adds no new meaning about formats or constraints, 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?

The description opens with a specific verb and resource: 'Add a log entry to a task,' which is unambiguous and distinguishable from the read counterpart thehive_list_task_logs. It never names a sibling explicitly to route against, so it stops short of a 5.

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 states the operational prerequisite (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true) and the exact invocation sequence: preview by default, then dryRun=false plus confirm=true after approval. What it lacks is any guidance on when to prefer this over creating a comment or updating the task instead.

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