Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_create_observable

Add a new observable or IOC to a case with a preview-first workflow, requiring approval before execution via dryRun=false and confirm=true.

Instructions

Add a new observable (IOC) to 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>",
      "dataType": "<dataType>",
      "data": "<data>"
    },
    "name": "thehive_create_observable"
  }
}

Input Schema

NameRequiredDescriptionDefault
iocNoMark as Indicator of Compromise (default: false)
papNoPAP: 0=Clear, 1=Green, 2=Amber, 3=Red (default: 2)
tlpNoTLP 2.0: 0=Clear, 1=Green, 2=Amber, 3=Amber+Strict, 4=Red (default: 2)
dataYesObservable value (e.g. IP address, domain name, hash)
tagsNoTags to apply
caseIdYesThe case ID to add the observable to
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
confirmNoSet true only after the operator approves this exact operation.
messageNoDescription or context about this observable
sightedNoMark as sighted in the environment (default: false)
dataTypeYesObservable data type
ignoreSimilarityNoIgnore this observable in similarity calculations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.6/5.0
Behavior4/5

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

The description adds real behavior beyond the annotations: an environment-level authorization gate (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true) and a preview/approve/execute sequence. The naming of that flag sits in mild tension with destructiveHint=false, but it reads as an authorization gate key rather than a claim that the tool is destructive, so this is not a contradiction. It does not mention duplicate/similarity handling, which the ignoreSimilarity parameter hints is relevant.

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

Conciseness3/5

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

It is short and front-loads the action, but the first two sentences run together without punctuation ("...to a case Requires operator authority"), which hurts readability at the point where the agent most needs clarity. No wasted content, just poor sentence boundaries.

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 12-parameter mutation with no output schema, the description covers the critical decision points: authorization, preview-first, and explicit confirmation. Full schema coverage carries the per-field detail, so what remains missing (return value, duplicate/similarity behavior) is minor.

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 dryRun, confirm, dataType, tlp, pap and the rest are already documented in structured form. The description only echoes the dryRun/confirm semantics, adding no format, defaults, or interaction rules beyond the schema; 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?

States a specific verb and resource ("Add a new observable (IOC) to a case"), and the phrase "to a case" implicitly separates it from the alert-observable and bulk siblings. It stops short of explicitly naming those alternatives, so the differentiation is inferable rather than stated.

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 the execution workflow (preview by default; dryRun=false plus confirm=true after approval) but offers no guidance on when to pick this tool over thehive_create_observable_bulk or thehive_create_alert_observable. Usage context is implied by the target object rather than argued.

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