Skip to main content
Glama
vola-trebla

ndjson-local-log-triage-mcp

by vola-trebla

summarize_log_timeline

Aggregate NDJSON log entries by time window, tallying errors, warnings, and info counts to reveal severity trends and spikes.

Instructions

Chronological severity aggregation — errors, warnings, and info counts per time window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logFileYesAbsolute path to the NDJSON log file
adaptiveNoAuto-scale bucket size to actual event density — samples first 1000 events to choose ms/s/min granularity and zooms in on the peak error window
levelFieldNoField containing log levellevel
windowMinutesNoAggregation window size in minutes
timestampFieldNoField containing ISO timestamptimestamp
lineStartPatternNoRegex that marks new log line start — enables multiline stack trace buffering
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It communicates the core read-only aggregation behavior but omits details about output structure, adaptive sampling, or performance implications for large logs.

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, front-loaded sentence with no filler. It earns its place by immediately conveying the tool's purpose.

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 6 parameters and no output schema, yet the description only offers a one-line summary. It lacks detail on return structure and usage context, though the schema covers parameters adequately.

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%, so the baseline is 3. The description does not add parameter meanings beyond the schema; 'severity' and 'time window' map to levelField and windowMinutes, but these are already described in the 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 the tool aggregates log severity levels into counts per time window, using 'chronological severity aggregation' as a specific verb+resource. This distinguishes it from sibling tools focused on schema discovery, pattern querying, anomaly detection, and live triage.

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 provides no explicit guidance on when to choose this tool over siblings. The intended use is implied by the aggregation phrasing, but there are no alternatives or exclusions 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/vola-trebla/ndjson-local-log-triage-mcp'

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