Skip to main content
Glama

get_server_health

Read-onlyIdempotent

Retrieve Docker host health for the Dokploy host or a specified server, with an optional 1–168 hour window to inspect recent health status.

Instructions

Get Docker host health. Omit server_id for the Dokploy host itself.

since_hours is 1-168 when you want a window. This uses docker.getServerHealth. server.getServerMetrics is not wrapped: it requires a monitoring URL and token the OpenAPI spec does not explain how to derive.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_server_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idNo
since_hoursNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds real context beyond that: the default target when server_id is null, the bounded time window, and the underlying API call (docker.getServerHealth) that determines behavior. It doesn't describe pagination or result volume, but with an output schema present that is a minor omission.

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?

Four short sentences, front-loaded with the core action, then scope, then parameter bounds, then the reason a related endpoint is unavailable. No filler, and the exception note earns its place by preventing a wrong-tool guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only tool with an output schema and full annotations, the description covers the decisions an agent must make: default target and time window. The only remaining gap is the interpretation of an omitted since_hours and the granularity of 'health', which the output schema likely resolves.

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 0% for both parameters, so the description carries the burden and largely does: server_id's null default semantics are explained ('omit for the Dokploy host itself') and since_hours is bounded to 1-168. What since_hours actually windows (events vs. metrics samples) and what happens when it is omitted are not stated.

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 gives a specific verb and resource ('Get Docker host health') and immediately clarifies scope: omitting server_id targets the Dokploy host itself. It also preempts a natural sibling question by explaining that server.getServerMetrics is deliberately not wrapped, so an agent can distinguish what this tool does and does not cover.

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?

It gives concrete selection guidance for the parameters ('omit server_id for the Dokploy host itself', 'since_hours is 1-168 when you want a window') and rules out a related metrics endpoint that isn't exposed. It stops short of explicitly naming which sibling tool to use instead for per-server or per-instance status, so no when-not clause for the wrapped tools.

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