Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_update_alert

DestructiveIdempotent

Update an existing TheHive alert's title, status, severity, tags, TLP/PAP, or description; preview changes by default, then execute only with dryRun=false and confirm=true.

Instructions

Update an existing alert 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": {
      "alertId": "<alertId>"
    },
    "name": "thehive_update_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
papNoNew PAP level
tlpNoTLP 2.0: 0=Clear, 1=Green, 2=Amber, 3=Amber+Strict, 4=Red
tagsNoNew tags (replaces existing)
titleNoNew title
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
followNoWhether to follow the alert
statusNoNew status: New, Updated, Ignored, Imported
alertIdYesThe alert ID to update
confirmNoSet true only after the operator approves this exact operation.
severityNoNew severity
descriptionNoNew description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the bar is lower, but the description adds real operational context: a required environment flag, a dry-run-by-default safety posture, and the exact two-flag gate for real execution. It does not state what partial updates do to unspecified fields or whether the preview returns a diff, keeping it out of 5 territory.

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 and followed by the authority and safety gate; nothing is padded. A missing period after "alert" is a trivial blemish rather than a structural problem.

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?

With no output schema, the description supplies the key missing context an agent needs: privilege requirements and the two-step confirm workflow for a destructive mutation, while the schema covers all field semantics. It leaves open what an update returns and how unspecified fields behave, which prevents a 5.

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 the schema already documents all 11 parameters including enum values, TLP/PAP ranges, and the note that tags replaces existing values. The description only restates the dryRun/confirm semantics that the schema already carries, 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 description opens with a specific verb+resource, "Update an existing alert," which is unambiguous and clearly distinct from create/delete/promote siblings by name alone. It stops short of explicitly contrasting itself with adjacent tools such as thehive_promote_alert or thehive_update_case, so it does not earn 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives strong procedural guidance for the mutation flow: preview by default, then dryRun=false plus confirm=true after approval. However, it offers no guidance on when to choose this tool over alternatives like promoting or re-creating an alert, and no exclusions or preconditions beyond the operator-authority flag.

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