Skip to main content
Glama

timeline

Pinpoint when log events started or spiked by counting matches per time bucket, filtered by pattern or minimum level, and displaying results as an ASCII sparkline.

Instructions

Event counts per time bucket for a pattern and/or minimum level, with an ASCII sparkline and bars. Shows WHEN something started or spiked. bucket is 'auto' (about 60 buckets) or a duration such as 10s, 5m, 1h, 1d.

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": {
      "path": "<path>"
    },
    "name": "timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNo+00:00
pathYes
levelNo
regexNo
sinceNo
untilNo
bucketNoauto
patternNo
ignore_caseNo
include_rotatedNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the output shape (sparkline plus bars) and the default bucketing behavior ('auto' = about 60 buckets), which is genuinely useful. It does not say whether the tool reads rotated logs or how cost/volume scales with a wide since/until range, and the read-only nature is only implied by 'counts'.

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?

Two tight sentences with the core behavior front-loaded and the bucket syntax following as supporting detail. No filler; slightly compressed phrasing but nothing that should be cut.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not required, but a 10-parameter aggregation tool with no annotations and 0% schema coverage needs more than this. The most consequential inputs (path, since/until window, tz) are undocumented, leaving an agent to guess at semantics that materially change results.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it only covers three of ten parameters: bucket (with concrete format examples like 10s, 5m, 1h, 1d), plus incidental mentions of pattern and level. The required 'path' parameter and the time-window/tz/regex/ignore_case/include_rotated controls are left entirely to inference.

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?

The description gives a specific verb+resource: 'Event counts per time bucket', plus the qualifying dimensions ('for a pattern and/or minimum level') and the rendering format ('ASCII sparkline and bars'). An agent can distinguish this from a raw log search. It stops short of naming which sibling to use instead, so it is clear but not sibling-differentiated.

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?

'Shows WHEN something started or spiked' implies the use case (temporal distribution / anomaly onset) but states no explicit when-not conditions and names no alternatives such as search_logs or log_overview. Usage is inferable rather than prescribed.

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