Skip to main content
Glama
crunchtools

mcp-nagios-crunchtools

by crunchtools

Nagios Alert History Tool

nagios_alert_history_tool
Read-only

. Roll up Nagios state changes per host and service over a chosen period, capturing warnings, soft states, and flapping that notification history misses.

Instructions

Roll up Nagios state changes per host and service over a period.

Unlike notification history, this includes warnings, soft states and problems that recovered without paging anyone, so it is where flapping shows.

Input Schema

NameRequiredDescriptionDefault
hoursNoHow many hours of history to roll up, 1 to 744. Default 168 (one week).
host_nameNoFilter to a specific host. Omit for all hosts.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.3/5.0
Behavior4/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 real behavioral context beyond that: the rollup includes warnings, soft states, and self-recovered problems, making flapping visible — information an agent cannot derive from the annotations or schema.

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 with no filler; the scope statement is front-loaded and the differentiator follows immediately. Every clause earns its place.

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?

An output schema exists and the input schema is fully documented, so return values need not be described. With annotations covering safety and the description covering scope and sibling differentiation, nothing an agent needs in order to invoke this correctly is missing.

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 both parameters (hours, host_name) already carry format, range, and default details in the schema. The description adds no additional meaning about parameter usage, so the baseline 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?

States a specific verb and resource ('Roll up Nagios state changes per host and service') plus the time scope ('over a period'). It also explicitly distinguishes itself from the sibling notification-history tool, so an agent can pick between them without opening either schema.

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?

Names the alternative ('Unlike notification history') and gives the condition that selects this tool: warnings, soft states, and problems that recovered without paging. That is strong routing guidance, though it stops short of stating explicit exclusions or prerequisites for calling it.

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