Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_run_responder

Destructive

Run Cortex responders on TheHive cases, alerts, tasks, or observables with preview-by-default safety; execute only after approval using dryRun=false and confirm=true.

Instructions

Run a Cortex responder on a case, alert, task, or observable. Responders have real-world side effects. Requires THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true. 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": {
      "responderId": "<responderId>",
      "objectType": "<objectType>",
      "objectId": "<objectId>"
    },
    "name": "thehive_run_responder"
  }
}

Input Schema

NameRequiredDescriptionDefault
tlpNoTLP 2.0 to apply to the action: 0=Clear, 1=Green, 2=Amber, 3=Amber+Strict, 4=Red
dryRunNoPreview this mutation by default. Set false only to execute an approved operation.
confirmNoSet true only after the operator approves this exact operation.
cortexIdNoThe Cortex server ID (e.g. 'cortex')
objectIdYesThe ID of the target object
objectTypeYesType of the target object (for example case, alert, case_task, case_artifact)
parametersNoResponder-specific parameters
responderIdYesThe Cortex responder ID to run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds genuinely useful context beyond that: the two-step approval gate, the environment flag prerequisite, and the preview-by-default posture. It stops short of describing what happens on partial failure or whether responder actions can be undone.

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?

The core behavior is front-loaded and easy to scan, but 'Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true)' immediately restates the preceding sentence about the same environment variable, which is pure redundancy. The trailing 'Preview by default' also duplicates the dryRun default already stated in the schema.

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 destructive 8-parameter tool with a nested free-form parameters object and no output schema, the description covers the safety gates and prerequisite configuration that an agent most needs. Gaps around the nested responder parameters and expected return behavior are partially absorbed by the 100% schema coverage and the rich annotations.

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 8 parameters including dryRun, confirm, and objectType are already documented in the schema. The description reinforces the dryRun/confirm workflow but mostly restates what the schema says, and it never mentions cortexId or how the free-form 'parameters' object is populated for a given responder.

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 names a specific verb and resource ('Run a Cortex responder') and enumerates the valid target types (case, alert, task, observable), so the agent knows exactly what will be acted upon. It does not explicitly contrast itself with the sibling thehive_run_analyzer, so an agent must infer the responder-vs-analyzer distinction from the name alone.

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 conditions clearly: preview is the default, execution needs dryRun=false plus confirm=true after operator approval, and the feature flag must be enabled. What is missing is an explicit exclusion pointing to thehive_run_analyzer as the lower-risk alternative when no side effects are desired.

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