Skip to main content
Glama

server_maintain

Idempotent

Update, restart, or run full maintenance on managed servers. Updates use SSH; restarts use cloud provider API; maintenance includes status check, update, health, reboot, and final verification.

Instructions

Maintain Kastell servers. Actions: 'update' runs Coolify update via SSH (Coolify servers only — bare servers are blocked), 'restart' reboots server via cloud provider API (works for both Coolify and bare servers), 'maintain' runs full 5-step maintenance (Coolify servers only — bare servers are blocked). Snapshot not included — use server_backup tool. Requires SSH access for update, provider API tokens for restart/status. Manual servers: restart not available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction: 'update' runs platform update via SSH (managed servers — Coolify or Dokploy), 'restart' reboots server via cloud provider API (both modes), 'maintain' runs full 5-step maintenance (status → update → health → reboot → final, managed servers only)
serverNoServer name or IP. Auto-selected if only one server exists.
skipRebootNoSkip reboot and final check steps (only for 'maintain' action). Useful during business hours.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Beyond annotations (idempotent, non-readonly, non-destructive), the description adds valuable behavioral details: which actions are blocked for bare servers, the need for specific credentials, and that snapshot is not included. This provides safety and expectation-setting without contradicting 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 remarkably concise: three sentences covering the tool's purpose, actions, constraints, prerequisites, and a cross-reference. Every sentence carries essential information, and the structure (purpose -> actions -> exclusions/requirements) is logical and front-loaded.

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?

Given the existence of an output schema (not shown), the description adequately covers the tool's behavior, prerequisites, and limitations. It omits details on synchronous vs async execution and error handling, but the output schema likely captures return values. Overall, it is sufficiently complete for an agent to invoke correctly.

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?

With 100% schema coverage, the schema already describes parameters. The description enhances the 'action' parameter by explaining each enum value's behavior and steps (e.g., 'maintain' runs 5 steps). It does not add value for 'server' or 'skipReboot', but the action enrichment is significant.

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 'Maintain Kastell servers' and enumerates three specific actions (update, restart, maintain) with detailed explanations of their scope and limitations. It distinguishes from sibling tools by mentioning the server_backup tool for snapshots, leaving no ambiguity about the tool's purpose.

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 provides explicit usage conditions: actions restricted to Coolify servers vs bare servers, prerequisites (SSH access, API tokens), and the unavailability of restart for manual servers. It also advises using server_backup for snapshots. However, it does not contrast with other sibling tools like server_doctor or server_fix, leaving some usage context implicit.

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