Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_get_similar_alerts

Read-onlyIdempotent

Find alerts that share observables with a specified alert or case to identify related incidents and support similarity matching.

Instructions

List alerts that share observables with a given alert or case (TheHive similarity matching)

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": {
      "entityType": "<entityType>",
      "entityId": "<entityId>"
    },
    "name": "thehive_get_similar_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 50)
entityIdYesThe alert or case ID
entityTypeYesWhether entityId refers to an alert or a case

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds the meaningful behavioral detail that matching is by shared observables (similarity matching), but says nothing about ordering, whether the source entity appears in results, similarity thresholds, or how the limit interacts with total matches.

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?

One front-loaded sentence with the key scope constraint up front. The trailing parenthetical '(TheHive similarity matching)' restates what 'share observables' already conveyed, making it marginally redundant but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only lookup with full annotation and schema coverage, the definition is adequate to invoke the tool correctly. It falls short on what comes back (similarity score? ordering? max 500 vs default 50 behavior) with no output schema to compensate.

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 entityType, entityId and limit are already documented with an enum and bounds. The description only paraphrases that the entity may be an alert or a case, adding no syntax, format, or default information beyond the schema.

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?

Names a specific verb (List) and resource (alerts) plus a precise scope qualifier: alerts that share observables with a given alert or case. That qualifier separates it from the plain thehive_list_alerts without needing to name the sibling, though no sibling is called out explicitly.

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?

The use case (find similar alerts) is implied by the description, but there is no explicit when-to-use/when-not guidance and no pointer to thehive_get_similar_cases for the case-side equivalent or to thehive_list_alerts for unfiltered listing. An agent must infer the choice from the phrase 'share observables'.

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