Skip to main content
Glama

server_maintain

Idempotent

Update Kastell servers via SSH, reboot via cloud provider API, or run full 5-step maintenance. Bare servers: restart only.

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?

The description adds significant behavioral context beyond annotations: requires SSH access for update, API tokens for restart/status, and blocks certain actions on bare/manual servers. Annotations already provide idempotentHint=true, but the description details preconditions and restrictions. A minor gap: potential downtime effects are not mentioned, but overall strong transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and informative, packing a lot of info into a single paragraph. It is front-loaded with the verb ('Maintain') and actions. While it could be more structured (e.g., bullet points), every sentence adds value and there is no fluff. Slightly above average for conciseness.

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 covers all necessary context: actions, server type restrictions, auth requirements (SSH, API tokens), alternative for snapshots (sibling tool), and even business-hour hint. With output schema existing, return values are handled externally. This is a complete, self-contained description for a moderately complex tool.

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 description coverage, baseline is 3. The description adds value by explaining business hour usage for skipReboot and clarifying action applicability (e.g., maintain includes reboot steps). However, it largely reiterates the schema descriptions; no new parameter semantics beyond that. A solid 4 for complementing the schema without redundancy.

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 performs server maintenance on Kastell servers, listing three distinct actions ('update', 'restart', 'maintain') with explicit verb+resource. It differentiates between Coolify and bare servers, and mentions that snapshot is handled by a sibling tool. This makes the purpose unambiguous and distinct from siblings.

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?

The description provides explicit when-to-use guidance for each action, including server type restrictions (Coolify-only for update/maintain, both for restart) and business-hour usage of skipReboot. It also tells when NOT to use this tool (for snapshots, use server_backup) and notes manual server limitations. This is comprehensive alternative referencing.

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