Skip to main content
Glama

get_incident_timeline

Retrieve anomaly incidents as ordered timelines grouping related signals, showing matched multi-step patterns and recovery status to reveal what happened, in what order, and whether it recovered.

Instructions

Get anomaly incidents as ordered timelines. Anomalies on one instance or topology that follow each other closely are grouped into one incident, in the order they happened, with any matched multi-step sequence pattern and a recovery status (active, recovering, recovered, degraded when signals stay open long after the incident went quiet, or unknown when recovery can no longer be measured, with those metrics in recovery.unknownSignals). Use to answer "what happened, in what order, and has it recovered".

Input Schema

NameRequiredDescriptionDefault
limitNoMax incidents to return, newest first (default 20)
startTimeNoStart time (Unix timestamp ms, default 24h ago)
instanceIdNoOptional instance ID override

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.54.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses grouping logic, chronological ordering, matched sequence patterns, and five recovery statuses including the meaning of degraded and unknown. It does not discuss permissions or response shape limits, but for a read-oriented incident timeline the key behavioral traits are covered.

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?

The description is front-loaded with the core purpose and then adds the use-case question in a second sentence. It is dense but every clause adds useful context, with little wasted wording.

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

Completeness5/5

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

Given the absence of annotations and output schema, the description explains the return semantics thoroughly: grouping, ordering, sequence patterns, and recovery states with a pointer to recovery.unknownSignals. It gives an agent enough to call the tool correctly and interpret the main result shape.

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 coverage is 100%, so all three parameters are already documented in the input schema. The description adds no parameter-specific meaning beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb and resource: get anomaly incidents as ordered timelines. It further distinguishes the tool by explaining how anomalies are grouped into incidents and what each incident contains, so an agent can tell it apart from a raw anomaly list.

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?

It gives a clear usage context: use to answer 'what happened, in what order, and has it recovered'. It does not explicitly name alternatives such as get_anomalies or state when not to use this tool, but the intended question is unambiguous.

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