Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_list_alert_comments

Read-onlyIdempotent

List comments on a TheHive alert, newest first, to review analyst notes and investigation updates. Set a limit to control how many comments are returned.

Instructions

List comments on an alert, newest first

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": {
      "alertId": "<alertId>"
    },
    "name": "thehive_list_alert_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 50)
alertIdYesThe alert ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description contributes only the ordering ('newest first'), which is genuinely new information since there is no output schema. It says nothing about pagination behavior beyond limit or how the ordering interacts with the cap.

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?

A single eight-word sentence with zero waste, front-loading the action and resource before the ordering detail. Nothing is repeated from the schema or annotations.

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 two-parameter read-only list tool with full schema coverage and complete annotations, this is nearly sufficient. However, with no output schema, the description could have said what a comment record contains or whether results are paginated beyond the limit, leaving a modest gap.

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%: alertId and limit (with default 50 and range 1-500) are already fully documented in the schema. The description adds no additional meaning about either parameter, so 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 ('List comments') plus a scope qualifier ('on an alert') and an ordering ('newest first'). The alert scoping implicitly separates it from the generic thehive_list_comments sibling, though the sibling is never named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance, and no routing to alternatives. An agent must infer from 'on an alert' that this is the alert-comment variant rather than the case-comment sibling, and there is no stated prerequisite such as the alert needing to exist.

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