Skip to main content
Glama
crunchtools

mcp-nagios-crunchtools

by crunchtools

Nagios Program Status Tool

nagios_program_status_tool
Read-only

Check whether the Nagios daemon is alive and working to verify the monitoring system. Detects wedged status data, disabled notifications, and disabled check execution.

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

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

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / max_staleness_seconds / minimum
      Added value: +1
  2. Addedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds substantial behavior: it detects wedged daemons where the CGI returns 200 with stale data, globally disabled notifications, and disabled check execution, and it raises on connection failure so a dead Nagios cannot be read as healthy. This is exactly the operational context the annotation cannot supply.

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?

Front-loaded with the core purpose, then the routing distinction, then the specific failure modes it catches. Every sentence carries information; nothing is restated or padded.

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?

With an output schema present, return values need no explanation in prose, and the description covers the remaining burden: what it detects, how failure surfaces (raises on connection failure), and how it differs from the sibling. An agent has everything needed to call and interpret it.

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 the single parameter (max_staleness_seconds) is fully documented in the schema, including its default and the ~10s refresh rationale. The description's mention of stale status data is thematic rather than additional parameter guidance, 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 (check whether the Nagios daemon is alive and working) and explicitly carves out the scope: it verifies the monitoring system, not outages. It contrasts directly with the sibling nagios_current_problems_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 Guidelines5/5

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

Gives explicit when-to-use ('watchdog asking is Nagios still able to tell me about problems?') and when-not ('NOT to find outages'), and names the alternative tool plus the exact failure mode that makes the alternative misleading. Routing is fully determined.

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