Skip to main content
Glama
vola-trebla

ndjson-local-log-triage-mcp

by vola-trebla

group_semantic_patterns

Cluster similar log messages using the Drain algorithm to isolate core events and parameter distributions, turning noisy logs into actionable insights.

Instructions

Cluster similar log messages using Drain algorithm to isolate core events and parameter distributions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNoDepth of the Drain parse tree
file_pathYesAbsolute path to the log file
time_window_startNoISO timestamp to filter logs generated after this time
similarity_thresholdNoSimilarity threshold for clustering (0.1 to 1.0)
Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosing behavioral traits. It reveals the algorithm and the type of output (core events and parameter distributions), but does not state whether the tool is read-only, has side effects, or requires any preconditions. This is partially transparent but leaves significant behavioral aspects undisclosed.

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 a single, concise sentence that front-loads the core purpose and algorithm. No unnecessary words.

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 no output schema, so the description should ideally explain return values; it hints at 'core events and parameter distributions' but does not specify the structure. It also does not contextualize usage among the sibling tools. Given the moderate complexity (4 parameters), the description is adequate but not fully complete.

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?

All parameters have descriptions in the input schema, providing full coverage. The tool description adds the algorithm name and the concept of parameter distributions, but does not elaborate on the individual parameters. Therefore, it meets the baseline of 3 without additional value.

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 the tool clusters similar log messages using the Drain algorithm, specifying the resource (log messages) and the outcome (isolate core events and parameter distributions). This distinguishes it from sibling tools like query_log_pattern or detect_error_anomalies.

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 a use case for grouping similar log messages but does not explicitly state when to prefer this tool over alternatives like query_log_pattern or discover_log_schema. There is no mention of exclusions or prerequisites, so the guidance is only implicit.

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/vola-trebla/ndjson-local-log-triage-mcp'

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