pvewarden
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_guestsA | List guests pvewarden can see, with VMID, name, status, Proxmox tags and permissions (may_update = tag 'pvewarden-update', may_reboot = tag 'pvewarden-reboot'). Start here: it is how you find the VMIDs the other tools take and what each guest allows. Does not contact the guests; check_updates does. source='static-config' means Proxmox is not connected and guests come from the server config; that is expected, not an error. |
| check_updatesA | Refresh package lists and report pending updates and reboot state. Each package has 'official' (from the distribution archives) and 'security' flags. Updates from third-party repositories are listed in 'third_party_report_only': apply_updates never installs them; report them to the user, especially major version jumps. 'held' = apt-mark hold, also skipped. auto_updates=true means the guest also installs updates by itself every day (unattended-upgrades) without a pvewarden snapshot; mention it to the user, it explains updates nobody asked for. 'lock' is a Proxmox lock on the guest (e.g. 'backup'): updates, snapshots and reboots wait until it is gone. backup_running=true: a Proxmox backup runs on that node now, updates would be much slower; suggest waiting until it is done. Without vmids, checks every running guest. Read-only: use it to see what is pending, apply_updates to install. Returns {guests: [...], pvewarden: {...}}. 'pvewarden' is about pvewarden itself: if it has 'new_version', tell the user that a newer pvewarden is out and how to upgrade ('upgrade'); security_fix=true means the newer release fixes a security problem: say so first. You cannot upgrade pvewarden yourself. |
| check_servicesA | systemd state of one guest: overall state (running, degraded, ...) and the failed units. Use it to look at a guest's health, e.g. before an update or when the user reports a problem; apply_updates and reboot_guest already compare it themselves. Read-only. Refused for a guest that is not running (list_guests shows the status). |
| list_snapshotsA | List the Proxmox snapshots of one guest with name, creation time and description. pvewarden=true marks snapshots pvewarden took (named pvewarden_YYYYMMDD_HHMMSS); only those can be rolled back to or deleted with pvewarden. Call it to get the exact name before rollback_snapshot or delete_snapshot. Read-only. |
| snapshot_guestA | Create a Proxmox snapshot of a guest now (requires tag 'pvewarden-update'), named pvewarden_YYYYMMDD_HHMMSS (UTC); returns the name. Not needed before apply_updates, which takes its own snapshot. Snapshots use storage until deleted (delete_snapshot, delete_old_snapshots). Refused while Proxmox locks the guest (e.g. during a backup). |
| apply_updatesA | Install updates on a guest (requires tag 'pvewarden-update'). Can take 10-20 minutes. Only the distribution's official archives are used: mode='security' installs security updates, mode='all' also regular updates. Third-party repositories and held packages are never installed; updates that would need them are skipped. No release upgrades. May auto-remove unused old kernels. If nothing is pending for the mode, returns nothing_to_install=true without a snapshot. 'planned' lists the packages it set out to install. Takes a snapshot first and aborts if that fails: then tell the user, do not retry with snapshot=false on your own. snapshot=false asks the user to confirm in the client. Refused while Proxmox locks the guest (e.g. during a backup). Does not reboot. If the result has still_running=true, the update goes on in the guest: call update_result. Report 'newly_failed_services' if not empty. Full output is in the file in 'log', a path on the pvewarden server (its container), not on the Proxmox host or the guest. |
| update_resultA | Wait for an update that apply_updates reported as still_running and return its result, in the same form as apply_updates (waits up to 30 minutes, then reports still_running again). Pass the vmid of that apply_updates call. never_started=true means nothing was installed. If pvewarden cannot tell what happened, it keeps the guest blocked and says a human must check it: tell the user, do not retry. |
| reboot_guestA | Reboot a guest through Proxmox (requires tag 'pvewarden-reboot') and wait until it answers again (up to 5 minutes). Returns kernel and uptime after the reboot. Use it when check_updates or apply_updates report reboot_required. Refused while Proxmox locks the guest. |
| rollback_snapshotA | Roll a guest back to a pvewarden snapshot and start it (requires tag 'pvewarden-update'). DISCARDS ALL CHANGES made since the snapshot, including application data. Use only when the user explicitly asks for it. Get the snapshot name from list_snapshots. If the guest had to be started, waits until it answers again (back_online), like reboot_guest. pvewarden asks the user to confirm in the client; if they decline, nothing changes. |
| delete_snapshotA | Delete one pvewarden snapshot of a guest by name (requires tag 'pvewarden-update'); other snapshots are never touched. Get the name from list_snapshots. Use it to remove specific snapshots; delete_old_snapshots removes by age. pvewarden asks the user to confirm in the client; if they decline, nothing changes. |
| delete_old_snapshotsA | Delete pvewarden snapshots older than N days (default 7); other snapshots are never touched. Without vmid, cleans all guests tagged 'pvewarden-update'. Returns the deleted snapshots; an empty list means none were old enough. To delete one specific snapshot, use delete_snapshot. pvewarden asks the user to confirm in the client; if they decline, nothing changes. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Each tool targets a distinct action on a distinct resource (guest listing, update check/apply/poll, snapshot create/list/delete/rollback, reboot, service check). The descriptions actively disambiguate the near-neighbors: delete_snapshot vs delete_old_snapshots, snapshot_guest vs the implicit snapshot in apply_updates, update_result vs check_updates, and check_services vs apply_updates/reboot_guest all explicitly state when to use which.
Nearly all names follow a verb_noun convention (check_services, reboot_guest, list_guests, apply_updates, rollback_snapshot, delete_snapshot). The one deviation is update_result, which is noun-based with no verb, and there is mild singular/plural drift between action verbs (guest, snapshot) and list verbs (guests, snapshots).
Eleven tools is well within a sensible range and each earns its place: read-only inspection, mutation, and async-result polling are all separate, necessary steps. Nothing looks like a redundant wrapper.
The update and snapshot lifecycles are covered end to end (check → snapshot → apply → poll result → reboot, plus list/rollback/delete/prune and service health). Minor gaps: there is no tool to read the update log file referenced in apply_updates' 'log' path, and no way to inspect or abort an in-flight update beyond polling update_result.