Skip to main content
Glama
openITCOCKPIT

openITCOCKPIT MCP Server

Official

Explain Notification

explain_notification
Read-onlyIdempotent

Determine why a host or service failed to notify or who received alerts, by analyzing Naemon's checks for downtime, soft states, acknowledgements, and contact settings, plus recent notification history.

Instructions

Why a host or service did or did not notify: its settings, contacts and state checked the way Naemon checks them - disabled, downtime, soft state, host down, state not subscribed, acknowledged, no contact - and the notifications sent recently. Use it for "why did I get no alert for web01" or "who gets notified for Backup on db01".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNoHow far back to look for sent notifications.
hostnameYesExact host name. Required - there is no estate-wide form of this tool. A name that matches no host is answered with the tools that can find the right one.
servicenameNoExact service name on that host. Empty: explain the host itself.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 establish read-only, idempotent, non-destructive behavior. The description adds meaningful behavioral context beyond that by enumerating what Naemon checks — disabled, downtime, soft state, host down, state not subscribed, acknowledged, no contact — and clarifying that recent sent notifications are included. It describes the tool's internal evaluation behavior without contradicting the annotations.

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 two sentences with no filler. The first sentence delivers the core behavior and the detailed reason list, and the second provides concrete usage examples. Every clause earns its place and the most important information is front-loaded.

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 rich annotations, the 100%-covered schema, and the presence of an output schema, the description is complete: it explains the tool's diagnostic purpose, the types of conclusions it can provide, and example use cases. Nothing essential for an agent to select and invoke the tool 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%, so the schema already documents all three parameters well. The description adds only indirect value by signaling that the tool can address both host-level and service-level notification questions via the example queries, but it does not add parameter-specific semantics beyond the schema.

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 opens with a precise verb phrase, 'explain why a host or service did or did not notify,' and names the exact resource and diagnostic scope: settings, contacts, state checks, and recent notifications. It further grounds the purpose with concrete example questions, making it unmistakably distinct from the sibling tools in the list.

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?

The description gives explicit user-facing scenarios: 'why did I get no alert for web01' and 'who gets notified for Backup on db01.' This clearly communicates when to invoke the tool, though it does not explicitly name alternatives or state when not to use it.

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