Skip to main content
Glama

incident_timeline

Combines changes, CI failures, cluster warnings, and incidents into one ordered timeline and flags recent changes as suspects for root-cause correlation.

Instructions

One ordered timeline of changes, CI failures, cluster warnings and incidents.

Lists the changes that landed shortly before the first failure as suspects. namespace, owner/repo and job_name opt in to Kubernetes, GitHub Actions and Jenkins; ServiceNow is always queried. Correlation is by time only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "incident_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoNo
hoursNo
ownerNo
job_nameNo
namespaceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.7/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 burden, and it does real work: it discloses that ServiceNow is always queried regardless of parameters (an implicit always-on data pull), that the other three sources are strictly opt-in, and that 'correlation is by time only' – a significant caveat limiting causal claims. It does not explicitly state that the tool is read-only, though 'timeline' and 'lists' strongly imply it.

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?

Four compact sentences, front-loaded with the core output, then the suspect-listing behaviour, then the source opt-in rules and the correlation caveat. Every sentence adds information. Slightly awkward that the source list appears after the behaviour rather than being grouped with source-related parameters, but no filler.

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

Completeness4/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 structure need not be described. For a five-parameter, all-optional aggregation tool with no annotations, the description covers the source selection model and the critical time-only correlation limitation. The remaining gap is the unexplained 'hours' window, which an agent must guess at.

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 0%, so the description must compensate for five undocumented parameters. It maps namespace, owner/repo and job_name to their respective backends, which is genuinely additive, but the paired owner/repo semantics are only hinted at and the 'hours' lookback window (default 6) is never explained. Two of five parameters therefore remain semantically opaque.

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 opens with a specific verb and resource: it produces 'one ordered timeline of changes, CI failures, cluster warnings and incidents.' That cross-source aggregation clearly distinguishes it from single-source siblings like k8s_get_events or snow_list_incidents. It stops short of naming a sibling, but the aggregate scope is unambiguous.

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?

Useful opt-in logic is given: 'namespace, owner/repo and job_name opt in to Kubernetes, GitHub Actions and Jenkins; ServiceNow is always queried,' which tells an agent how to target sources. However, there is no statement of when to prefer this tool over individual source tools, nor any exclusion or prerequisite. Guidance is implied through parameter behaviour rather than stated as usage policy.

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