Skip to main content
Glama
openITCOCKPIT

openITCOCKPIT MCP Server

Official

Service Health

get_service_health
Read-onlyIdempotent

Explains why a specific service is in a problem state by showing its current status, duration, likely causes like host down or downtime, and recent changes.

Instructions

How one service is doing: state and since when, what likely explains a problem (its host down, a downtime, an acknowledgement), and recent state changes. Use it for "why is Backup on db01 critical".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNoHow far back to look for state changes and 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.
servicenameYesExact service name on that host. Required. A name that matches no service is answered with the tools that can find the right one.

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, and non-destructive behavior. The description adds meaningful context about what the tool returns: state, duration, likely explanations, and state changes, which goes beyond the structured 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?

Two tight sentences carry the entire message: the first defines what the tool reveals, the second gives a concrete invocation scenario. No filler or redundant restatement of the name or schema.

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?

The description, rich parameter schema, and strong annotations together cover the tool's inputs, behavior, and a realistic use case. The output schema exists, and the no-match behavior is documented in the parameter descriptions, so nothing essential is missing for an agent to call this tool correctly.

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 coverage is 100%, with hostname, servicename, and hours all documented in the input schema. The description does not need to repeat parameter details and only lightly reinforces the time range via "recent state changes," so a baseline 3 is appropriate.

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 the tool's exact scope: it reports on a single service's state, duration, likely cause, and recent changes. The use case "why is Backup on db01 critical" makes the purpose concrete and distinguishes it from estate-wide or host-level tools.

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 a clear usage scenario with a concrete example. It does not explicitly enumerate when to prefer sibling tools like get_host_health or explain_notification, but the single-service focus and example provide enough contextual guidance.

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