Skip to main content
Glama
Grafana MCP Server
by nks1097

grafana_gerar_linha_tempo_incidente

Generate an ordered timeline of events, alerts, and annotations from Grafana to analyze incidents after they occur.

Instructions

  1. Gerar uma cronologia ordenada de eventos, alertas e anotações para análise pós-incidente.

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": {
      "nome_servico": "<nome_servico>",
      "horario_inicio": "<horario_inicio>"
    },
    "name": "grafana_gerar_linha_tempo_incidente"
  }
}

Input Schema

NameRequiredDescriptionDefault
horario_fimNonow
nome_servicoYes
horario_inicioYes

Output Schema

NameRequiredDescriptionDefault
erroNoMensagem de erro amigável caso haja falha
dadosNoCarga útil da resposta estruturada
avisosNoLista de alertas e avisos operacionais
sucessoNoIndica se a operação foi bem-sucedida
metadadosNoMetadados da execução
id_requisicaoNoIdentificador único da operação

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the disclosure burden. It does say which data sources are merged into the timeline (events, alerts, annotations), which is useful behavioral context, but it omits whether the call is read-only, how the time window is bounded, and the 'now' default for horario_fim.

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?

A single front-loaded sentence that wastes nothing beyond a stray '50.' numbering artifact left in the text.

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?

Three parameters, 0% schema coverage, no annotations, and an output schema that only covers the return shape. The description should compensate by explaining the service scope and time-window semantics, and it does not.

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% and the description mentions none of the three parameters. An agent must infer from 'cronologia' that nome_servico scopes the entity and that horario_inicio/horario_fim bound the window, with no indication of expected time format.

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 and resource: build an ordered chronology of events, alerts and annotations. It clearly says what the output artifact is, though it never distinguishes this from close siblings like grafana_gerar_resumo_pos_incidente or grafana_gerar_relatorio_incidentes.

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 phrase 'para análise pós-incidente' implies the post-mortem context of use, but there is no explicit when-to-use versus when-not, and no routing to the overlapping summary and incident-report tools.

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

Deploy Server

Other Tools