Skip to main content
Glama
AIops-tools

io.github.AIops-tools/proxmox-aiops

vm_shutdown

Destructive

Gracefully shut down a Proxmox VM via ACPI instead of a hard stop. Preview the action first by setting dry_run=True.

Instructions

[WRITE] Graceful ACPI shutdown of a VM (vs the hard vm_stop). Inverse: vm_start.

Pass dry_run=True to preview.

Args: vmid: Numeric Proxmox VM id. dry_run: If True, preview without shutting down. target: Proxmox target name from config. node: Node name; omit to auto-locate the VM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNo
vmidYes
targetNo
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare a destructive write (readOnlyHint=false, destructiveHint=true, idempotentHint=false), so the safety profile is covered. The description adds genuinely useful context beyond that: the shutdown is graceful/ACPI rather than a hard power-off, and dry_run provides a no-op preview. It doesn't mention timeout behavior or what happens to unsaved data, but for a mutated state this is solid added value.

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?

Front-loaded with the write marker, operation, and sibling contrast in the first line; the Args block is terse. Minor redundancy in restating parameter names, but every line earns its place.

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 destructive four-parameter mutation with no output schema, the description covers write intent, graceful-vs-hard semantics, preview capability, and all arguments. It leaves only timeout/guest-dependency edge cases unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: vmid is the numeric Proxmox id, dry_run previews, target comes from config, and node can be omitted to auto-locate the VM. That last point is behavioral meaning the schema does not convey.

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?

States a specific verb+resource (graceful ACPI shutdown of a VM) and immediately distinguishes it from the sibling vm_stop by naming the hard alternative and the inverse vm_start. An agent can route between vm_shutdown, vm_stop, and vm_start without opening any schema.

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?

Explicitly contrasts with the hard vm_stop and points to vm_start as the inverse, which gives a clear condition for selection. It also recommends dry_run=True for preview. It stops short of stating when-not to use it (e.g., only for ACPI-capable guests), so it's clear but not fully exhaustive.

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