Skip to main content
Glama
Hoopshaker

TheHive FastMCP

by Hoopshaker

get_case_tasks

Retrieve all tasks linked to a specific case, with optional filters for sorting, creation date range, and result limit.

Instructions

List all tasks associated with a specific Case.

Args: case_id (str): The unique ID or name/number of the Case. sort (str, optional): Field to sort by. Use '-' prefix for descending (e.g., '-_createdAt' or '-_updatedAt'). created_after (str, optional): Filter tasks created after this date (ISO 8601 or timestamp in ms). created_before (str, optional): Filter tasks created before this date (ISO 8601 or timestamp in ms). limit (int): Maximum number of tasks to return. Default is 50.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNo
limitNo
case_idYes
created_afterNo
created_beforeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses that it lists tasks with optional filters, and mentions a default limit. Since no annotations exist, the description adequately conveys a read-only behavior, though it doesn't explicitly state non-destructiveness or auth needs.

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?

The description is well-structured as a docstring with a clear main sentence followed by parameter explanations. Every sentence serves a purpose without redundancy, being both concise and informative.

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?

Given 5 parameters, 1 required, and an existing output schema, the description thoroughly explains all inputs. It lacks error handling or edge case behavior but adequately covers the core functionality.

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?

The input schema has no descriptions (0% coverage), so the description fully compensates by explaining each parameter: case_id, sort (with formatting), date filters (ISO 8601 or timestamp), and limit (default 50). This adds significant meaning beyond 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 'List all tasks associated with a specific Case,' specifying the verb and resource. It distinguishes from sibling tools like create_task or get_case, which have different purposes.

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?

The description implicitly indicates when to use (to list tasks for a case) but does not explicitly mention when not to use or compare with alternatives. It provides clear context without exclusions.

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