Skip to main content
Glama

vm_action

Manage virtual machine power state, snapshots, IP information, and guest tools status; modification actions return an operation ID for tracking.

Instructions

电源、快照、Tools 与 IP 操作。修改类动作返回 operation_id。

action: status | start | shutdown | power_off | reboot | pause | resume | suspend | save_state | tools_status | ip | snapshot_list | snapshot_create | snapshot_restore | snapshot_delete。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "vm": "<vm>",
      "action": "<action>"
    },
    "name": "vm_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmYes
forceNo
actionYes
confirmNo
start_modeNogui
descriptionNo
snapshot_nameNo
include_memoryNo
delete_childrenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one valuable behavior: mutating actions return an operation_id, signalling asynchronous job semantics. However it does not flag which actions are destructive (shutdown, power_off, snapshot_delete, snapshot_restore), what confirm/force do, or what permissions are required.

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 purpose line is front-loaded and the action enumeration is dense but necessary information. The only weakness is that the action list is a raw pipe-separated block rather than grouped (power vs snapshot vs tools vs IP), which slightly slows scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-action, 9-parameter multiplexer with no annotations and no output schema, the description is thin: it never explains how parameters map to actions or what the response contains beyond operation_id. An agent would have to guess at force/confirm/start_mode semantics before calling.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, so the description must compensate and largely fails to. Only the action parameter is effectively explained; vm, force, confirm, start_mode, snapshot_name, include_memory and delete_children are never mentioned, and their interaction with specific actions is undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the resource domain (VM power, snapshot, VMware Tools, IP) and enumerates all 14 concrete actions, so an agent knows exactly what surface this tool covers. It stops short of distinguishing itself from siblings such as console_action or guest_command, which is why it is not a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says when to prefer vm_action over console_action, when to use snapshot_create versus snapshot_restore, or what preconditions (VM powered off for some snapshot ops) apply. The action list implies the available operations but leaves selection entirely to inference.

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