Skip to main content
Glama

server_doctor

Read-onlyIdempotent

Run proactive health analysis on a server to detect disk trending full, high swap, stale packages, and more. Returns findings grouped by severity with remediation commands.

Instructions

Run proactive health analysis on a server. Detects disk trending full, high swap, stale packages, elevated fail2ban bans, audit regression streaks, old backups, and reclaimable Docker space. Uses cached metrics by default — pass fresh=true to fetch live data via SSH. Returns findings grouped by severity (critical/warning/info) with remediation commands. For a full scored security audit across 27 categories, use server_audit instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverNoServer name or IP. Auto-selected if only one server exists.
freshNoFetch live data via SSH instead of using cached metrics. Default: false (reads cache only).
formatNoOutput format: summary (grouped findings with counts), json (full DoctorResult).summary
autoFixNoRun diagnose->fix chain automatically. Default: false (read-only).
dryRunNoShow what fixes would be applied without executing SSH. Requires autoFix: true.
forceNoSkip per-finding confirmation prompts (CI-safe). Requires autoFix: true.
Behavior5/5

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

The description discloses default behavior (cached metrics, read-only by default) and explains the autoFix, dryRun, and force parameters. Annotations (readOnlyHint=true) align with default behavior, and no contradiction is present.

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 concise with two efficient sentences, followed by a list and key details. It front-loads the purpose and then provides necessary context without superfluous text.

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?

Despite no output schema, the description explains the return format (findings grouped by severity with remediation commands) and covers all key aspects of tool behavior, making it complete for the given complexity.

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 coverage is 100%, with each parameter well-described. The description adds context about cached vs live data and alternative tool usage, but does not significantly enhance parameter understanding 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 clearly states the tool runs proactive health analysis on a server, listing specific checks (disk trending full, high swap, etc.) and explicitly distinguishes itself from sibling tool server_audit, which does a full scored security audit.

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?

It specifies when to use cached vs live data via fresh=true, and explicitly says to use server_audit for a full security audit. This provides clear guidance on alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kastelldev/kastell'

If you have feedback or need assistance with the MCP directory API, please join our Discord server