Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_create_observable_bulk

Add multiple observables of the same type to a TheHive case in a single request, replacing repetitive one-by-one creation. Includes a preview-by-default dry run and requires explicit approval to execute.

Instructions

Add multiple observables of the same type to a case in one request. More efficient than creating one at a time. 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_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
iocNoMark all as IOCs (default: false)
papNoPAP level for all observables
tlpNoTLP 2.0 for all observables: 0=Clear, 1=Green, 2=Amber, 3=Amber+Strict, 4=Red
dataYesArray of observable values (e.g. multiple IPs, domains, or hashes)
tagsNoTags to apply to all observables
caseIdYesThe case ID to add observables 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 for all observables
sightedNoMark all as sighted (default: false)
dataTypeYesObservable data type (all items must be the same type)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive mutation but give no safety workflow. The description adds real value beyond that: it names the required operator authority flag (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true), states the default is preview-only, and specifies that execution needs both dryRun=false and confirm=true after approval. Return shape and partial-failure behavior are not described, so it is not a 5.

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: purpose first, efficiency rationale second, authorization constraint third, execution protocol last. Each sentence carries a distinct operational fact and none are wasted or repeated.

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, non-idempotent mutation with no output schema, the definition covers the operation's scope, the authorization requirement, and the two-phase preview/confirm protocol. The only meaningful gap is that the max-100 batch limit and behavior on partial failure are left to the schema or unstated.

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 every parameter including dryRun, confirm, dataType, and the array bounds is already documented in structured form. The description reiterates the 'same type' constraint for dataType but adds no format, ordering, or validation semantics beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

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 precise verb, resource, and scope: 'Add multiple observables of the same type to a case in one request.' That distinguishes it from a single-item create, and the 'same type' constraint is stated. It stops short of naming a specific sibling (e.g. the case-observable tool versus an alert-observable tool), so differentiation is inferred from behavior rather than from an explicit alternative callout.

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?

'More efficient than creating one at a time' clearly signals the condition that selects this tool over the singleton variant, and the dryRun/confirm gating explains the required execution sequence. There are no explicit exclusions (e.g. when to prefer the alert-observable sibling or the single-create tool for one item), which keeps it below a 5.

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