Skip to main content
Glama
Hoopshaker

TheHive FastMCP

by Hoopshaker

create_alert

Create a new alert in TheHive to capture potential incidents from sources like SIEMs and emails. Specify type, source, severity, and tags for categorization.

Instructions

Create a new Alert in TheHive. Alerts represent potential incidents fetched from SIEMs, emails, etc.

Args: type_name (str): Type of the alert (e.g., 'SIEM', 'Phishing', 'EDR'). source (str): Source/provider of the alert (e.g., 'Splunk', 'Wazuh'). source_ref (str): Unique reference ID from the source system. title (str): Title of the alert. description (str): Detailed markdown-supported description. severity (int): Severity level: 1 (Low), 2 (Medium), 3 (High), 4 (Critical). Default is 2. tags (List[str], optional): List of tags to categorize the alert. tlp (int): Traffic Light Protocol level (0 to 4). Default is 2. pap (int): Permissible Action Protocol level (0 to 3). Default is 2.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
papNo
tlpNo
tagsNo
titleYes
sourceYes
severityNo
type_nameYes
source_refYes
descriptionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It lists parameters but does not disclose behavioral traits such as side effects (e.g., whether the alert triggers case creation), required permissions, error handling for duplicate source_ref, or idempotency. The description focuses on parameter details, not behavior.

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?

The description is appropriately sized given the lack of schema descriptions. It front-loads the main purpose and then lists parameters in a structured, readable manner. While a bit lengthy, every sentence earns its place. Could be more concise if schema were richer.

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?

The tool has 9 parameters with moderate complexity and an output schema (not shown in context). The description thoroughly documents all parameters but lacks broader context like what happens after creation, how the alert integrates with TheHive workflows, or expected return values. Given the output schema existence, the lack of return value explanation is acceptable, but missing behavioral context reduces completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description provides comprehensive detail for all 9 parameters: types, examples, default values, and optionality. For example, it explains severity levels (1-4) and gives example values for source. This adds significant meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Create a new Alert in TheHive' with a specific verb and resource. It also distinguishes alerts from cases via context ('Alerts represent potential incidents fetched from SIEMs, emails, etc.'), which helps differentiate it from sibling tools like create_case.

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 description implies usage for external incident data (e.g., SIEM, emails), but does not explicitly state when to use this tool versus alternatives like create_case or search_alerts. No exclusions or prerequisite conditions are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hoopshaker/thehive-fastmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server