Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_update_observable

DestructiveIdempotent

Update an existing observable's metadata—IOC or sighted status, TLP/PAP, tags, and message—with a preview by default and explicit confirmation required to execute.

Instructions

Update metadata of an existing observable (IOC flag, sighted, TLP/PAP, tags, message). At least one field is required. 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": {
      "observableId": "<observableId>"
    },
    "name": "thehive_update_observable"
  }
}

Input Schema

NameRequiredDescriptionDefault
iocNoMark or unmark as Indicator of Compromise
papNoPAP: 0=Clear, 1=Green, 2=Amber, 3=Red
tlpNoTLP 2.0: 0=Clear, 1=Green, 2=Amber, 3=Amber+Strict, 4=Red
tagsNoReplace the full tag set with these tags
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
addTagsNoTags to add
confirmNoSet true only after the operator approves this exact operation.
messageNoNew description or context
sightedNoMark or unmark as sighted
sightedAtNoSighting time as epoch milliseconds
removeTagsNoTags to remove
observableIdYesThe observable ID to update
ignoreSimilarityNoExclude this observable from similarity checks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive and idempotent traits, so the description's value-add is the gated two-step safety model (preview first, then explicit confirmation) and the required environment flag, neither of which is derivable from structured fields. It does not describe what a preview returns or how partial updates interact, but the core hazard disclosure is present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with purpose then constraint then authority then execution gate. No sentence is redundant and the safety-critical conditions appear before the reader has to act on them.

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 13-parameter destructive mutation, the definition covers purpose, selection constraint, permission requirement, and the approval gate, and the schema fully documents every field. Remaining gaps are minor: interplay of tags versus addTags/removeTags is only implied, and the response of a preview run is unspecified (acceptable since there is no output schema).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so field meanings are already documented, and the baseline would be 3. The description earns a bump by adding a cross-parameter constraint — at least one mutable field must be supplied — that the schema does not express, since observableId alone would validate. It adds no further per-field nuance (e.g., precedence between tags and addTags/removeTags).

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?

States a specific verb and resource ('Update metadata of an existing observable') and enumerates the mutable fields (IOC flag, sighted, TLP/PAP, tags, message), which clearly separates it from create/get siblings. It stops short of naming the create or tag-specific siblings explicitly, so an agent must infer the boundary from 'existing' rather than being routed.

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 real preconditions: at least one field required, operator authority via THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true, preview-by-default, and execution only with dryRun=false plus confirm=true after approval. This is a concrete operational workflow. It does not point to alternatives (e.g., tag-specific tools elsewhere in the catalog) or state when not to use it.

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