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

Nightingale (n9e) Built-in MCP Server

Official

list_history_alerts

Read-only

Retrieve historical alert events with filters for time range, severity, recovery status, business group, category, datasource, and keyword search. Review past incidents and investigate alert trends.

Instructions

List historical alert events with optional filters

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_history_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pNoPage number (starts from 1)
bgidNoBusiness group ID
cateNoAlert category
etimeNoEnd time Unix timestamp
hoursNoLookback hours
limitNoPage size (default 20)
queryNoSearch keyword
stimeNoStart time Unix timestamp
severityNoSeverity level (-1=all, 1=critical, 2=warning, 3=info)
rule_prodsNoProduct types comma-separated
is_recoveredNoRecovery status (-1=all, 0=not recovered, 1=recovered)
datasource_idsNoDatasource IDs comma-separated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

readOnlyHint=true already declares the safety profile, so the description only needs to add context — and it adds essentially none. It is silent on result ordering, pagination behavior beyond the schema's page/limit fields, retention window, and how the time filters interact (etime vs hours vs stime), all of which matter for a historical-event query.

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 clause with no filler or repetition. It is efficient, though the brevity comes at the cost of substance rather than through disciplined editing.

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?

For a 12-parameter query tool with no output schema, the description leaves an agent without guidance on filter interaction, result shape, or scale limits. The rich schema and readOnlyHint annotation carry most of the load, but the description itself is thin relative to the tool's complexity.

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% and every one of the 12 parameters carries its own inline description, including enum-like value mappings for severity and is_recovered, so the schema does the heavy lifting. The description contributes only "optional filters," adding no meaning about precedence or combination.

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?

"List historical alert events" gives a clear verb plus resource, and "historical" implicitly separates it from list_active_alerts, which an agent can read as the live-alert counterpart. It stops short of naming that sibling, so the distinction is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage cue is "with optional filters," which tells the agent every parameter can be omitted but says nothing about when to prefer this over list_active_alerts or get_history_alert. No exclusions, no prerequisites, no scenario guidance.

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