Skip to main content
Glama
thehive-mcp

thehive-mcp

by lidless-labs

thehive_list_task_logs

Read-onlyIdempotent

Retrieve log entries for a specific TheHive task to review activity and troubleshoot workflow steps.

Instructions

List log entries for a specific task

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": {
      "taskId": "<taskId>"
    },
    "name": "thehive_list_task_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 50)
taskIdYesThe task ID to list logs for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and a closed-world scope, so the safety profile is fully covered by structured data. The description adds only the task-scoping constraint and is silent on result ordering, default/max page size, and whether the response is paginated or truncated at the limit.

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?

A single seven-word sentence with no filler and the scoping constraint front-loaded. It earns its brevity only partially, since the tool's read-only listing behavior could have been clarified in one more short clause without bloat.

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?

This is a simple two-parameter read tool with full annotation coverage and no output schema, so the description need not explain return values. However, for a log-listing endpoint, the absence of any note on ordering, pagination, or the limit cap leaves an agent guessing about how to retrieve a complete log set.

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%, with taskId and limit (min 1, max 500, default 50) fully documented in the schema. The description restates the taskId requirement ("for a specific task") but contributes no additional meaning such as whether limit is a hard cap or how to page beyond it, so the baseline of 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 ("List") and resource ("log entries") scoped to a single task, which cleanly separates it from create_task_log and list_tasks. It stops short of naming any sibling or explaining how it relates to them, so it is clear but not differentiated.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as fetching a task via thehive_get_task (which may already embed log data) or creating logs via thehive_create_task_log. The task-scoping requirement in the schema implies usage, but the description itself offers nothing.

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