Skip to main content
Glama
Hoopshaker

TheHive FastMCP

by Hoopshaker

search_alerts

Search for alerts in TheHive using filters like title, severity, tags, status, and date range to quickly find relevant security events.

Instructions

Search for Alerts in TheHive with advanced filtering.

Args: title (str, optional): Substring match on the Alert title. severity (int, optional): Filter by exact severity level (1 to 4). tags (List[str], optional): Filter by tags (requires all tags to match). status (str, optional): Filter by status (e.g. 'New', 'Imported', 'Ignored'). sort (str, optional): Field to sort by. Use '-' prefix for descending (e.g., '-_createdAt' or '-_updatedAt'). created_after (str, optional): Filter alerts created after this date (ISO 8601 or timestamp in ms). created_before (str, optional): Filter alerts created before this date (ISO 8601 or timestamp in ms). limit (int): Maximum number of alerts to return. Default is 10.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo
tagsNo
limitNo
titleNo
statusNo
severityNo
created_afterNo
created_beforeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden. It describes parameter behavior (e.g., tags require all matches) but lacks details on pagination, maximum limit, authentication needs, or error handling. There is no contradiction with annotations.

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 starts with a clear one-line purpose, followed by a well-structured bullet list for parameters. While the list is long, each parameter has a brief but informative explanation. No unnecessary fluff.

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 description covers all parameters adequately but lacks contextual information such as pagination behavior, result handling (empty list vs null), and any constraints on the limit parameter. Given the presence of an output schema, return values need not be detailed, but behavioral completeness is moderate.

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

Parameters4/5

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

Schema coverage is 0%, so the description compensates well. It explains the meaning of each parameter beyond schema type/defaults: substring match for title, exact level for severity, AND logic for tags, examples for status, sorting syntax with '-' prefix, and date formats. Missing details on tags being a list of strings (but schema provides that).

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 'Search for Alerts in TheHive with advanced filtering', which is a specific verb-resource combination. It distinguishes from siblings like get_alert (single alert retrieval) and search_cases (cases vs alerts).

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 guidance is provided on when to use this tool versus alternatives like get_alert or search_cases. The description only explains what the tool does, not the context for choosing it.

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