Skip to main content
Glama
Nightingale (n9e) Built-in MCP Server

Nightingale (n9e) Built-in MCP Server

Official

list_active_alerts

Read-only

List currently firing alert events with optional filters by severity, rule, business group, or time range to identify active issues.

Instructions

List active alert events with optional filters. Use this to view currently firing alerts.

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": "list_active_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pNoPage number (starts from 1)
ridNoAlert rule ID
bgidNoBusiness group ID
cateNoAlert category (prometheus/host/elasticsearch, default $all)
etimeNoEnd time Unix timestamp
hoursNoLookback hours (mutually exclusive with stime/etime)
limitNoPage size (default 20)
queryNoSearch keyword (matches rule name/tags)
stimeNoStart time Unix timestamp
severityNoSeverity levels comma-separated (1=critical, 2=warning, 3=info)
rule_prodsNoProduct types comma-separated (host/metric/loki/anomaly)
datasource_idsNoDatasource IDs comma-separated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the meaningful constraint that results are limited to active/firing events rather than resolved ones, but says nothing about pagination defaults, result volume, or ordering.

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?

Two short sentences, front-loaded with the verb and resource and followed by the usage cue. No filler or redundant restatement of the title.

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?

With twelve parameters and no output schema, the definition leans entirely on the schema and the readOnly annotation. It is adequate to identify and call the tool, but it omits any note on defaults, result shape, or how filtering combinations behave.

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 all twelve parameters are already documented in the schema, including the stime/etime versus hours exclusivity. The description only says "optional filters" and adds no syntax, default, or precedence detail beyond the schema.

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?

States a specific verb and resource ("List active alert events") and narrows the scope to currently firing alerts in the second sentence. It does not name the sibling list_history_alerts explicitly, so the active-vs-history distinction must be inferred from the word "active".

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?

"Use this to view currently firing alerts" gives a clear positive usage condition. There are no exclusions or named alternatives, even though get_active_alert and list_history_alerts are obvious adjacent tools an agent might hesitate between.

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