Skip to main content
Glama
crunchtools

mcp-nagios-crunchtools

by crunchtools

nagios_program_status_tool

Check if the Nagios daemon is alive and working by detecting stale status data, globally disabled notifications, or disabled check execution, so a dead monitoring system is never mistaken for a healthy one.

Instructions

Check whether the Nagios daemon itself is alive and actually working.

Use this to verify the monitoring system, NOT to find outages. It is the right tool for a watchdog asking "is Nagios still able to tell me about problems?" -- nagios_current_problems_tool answers a different question and returns "no problems" both when all is well and when Nagios has silently stopped working.

Detects a wedged daemon (CGI still returns 200 but status data is stale), globally disabled notifications (monitoring everything, alerting nobody), and disabled check execution. Raises on connection failure, so a dead Nagios can never be read as healthy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_staleness_secondsNoHow old Nagios's status data may be before the daemon is considered wedged. Default 60 (it refreshes every ~10s).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: detects a wedged daemon (CGI returns 200 but stale status data), globally disabled notifications, disabled check execution, and raises on connection failure so a dead Nagios cannot be read as healthy. This goes well beyond a simple 'check status' statement.

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?

The description is well-structured and front-loaded: the first sentence states the core purpose, followed by usage guidance, then behavioral details. Every sentence earns its place, and the contrast with the sibling tool is concise and informative.

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?

Given the tool's complexity (one optional parameter, no required params, output schema present), the description is complete. It covers what the tool does, when to use it, what it detects, and how it behaves on failure. The output schema handles return values, so no further description is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the parameter. The description adds context by explaining the default (60) and the refresh rate (~10s), which helps the agent reason about appropriate values. It doesn't need to do much more since there is only one parameter and it is fully described.

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?

The description states a specific verb ('Check whether the Nagios daemon itself is alive and actually working') and resource (the Nagios daemon), and explicitly distinguishes it from nagios_current_problems_tool. It clearly identifies what the tool is for: verifying the monitoring system, not finding outages.

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

Usage Guidelines5/5

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

The description explicitly says when to use this tool ('a watchdog asking is Nagios still able to tell me about problems?') and contrasts it with nagios_current_problems_tool, explaining why that alternative is not suitable (returns 'no problems' both when all is well and when Nagios has silently stopped working). This is clear when-to-use and when-not-to-use guidance.

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