Skip to main content
Glama

vm_management

Manage VirtualBox VMs by listing, creating, starting, stopping, deleting, cloning, resetting, pausing, resuming, or retrieving info through lifecycle operations.

Instructions

Virtual machine lifecycle management.

Actions: list, create, start, stop, delete, clone, reset, pause, resume, info. For LLM config suggestions or sandbox workflow planning use vm_agentic_workflow.

Return Format

Dict with success (bool), human-readable message, the action performed, and operation data (vms, vm_info, result). Failures carry a human-readable error.

Examples

await vm_management(action="list")
await vm_management(action="info", vm_name="Ubuntu-Dev")
await vm_management(action="create", vm_name="NewVM", os_type="Ubuntu_64", memory_mb=4096, disk_size_gb=40)
await vm_management(action="start", vm_name="NewVM")

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": {
      "action": "<action>"
    },
    "name": "vm_management"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items for list.
actionYesVM lifecycle operation to perform.
offsetNoOffset for list pagination.
os_typeNoGuest OS type for create. Use system_management(action='ostypes') for valid values.
vm_nameNoVM name. Required for all actions except list and clone.
use_caseNoDeprecated. Use vm_agentic_workflow(action='suggest_config') instead.
memory_mbNoRAM in MB for create.
source_vmNoSource VM name. Required for clone.
new_vm_nameNoNew VM name. Required for clone.
disk_size_gbNoDisk size in GB for create.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.2/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. It does disclose the return contract (success flag, message, action, vms/vm_info/result, error on failure), which is useful. But for a tool that includes delete, reset, and stop, it never states destruction scope, reversibility, or any precondition such as the VM needing to be powered off — a meaningful gap for mutation actions.

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?

Front-loaded with the one-line purpose and the action list, then sectioned into Return Format and Examples with no filler sentences. The return-format block partly overlaps the existing output schema, but it is short and the examples are high-value.

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 10-parameter, multi-action tool it covers purpose, action enumeration, sibling routing, return shape, error shape, and concrete call patterns. The remaining gap is destructive-action semantics (delete/reset irreversibility, stop-before-delete preconditions) that an agent would need before invoking those actions safely.

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?

Schema coverage is 100%, so the baseline is 3; the description earns above baseline by giving worked invocations that show which parameters pair with which action (create with os_type/memory_mb/disk_size_gb, info/start with just vm_name). This clarifies the otherwise implicit per-action parameter matrix that the flat schema does not express.

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 resource (virtual machines) and enumerates the exact lifecycle operations (list, create, start, stop, delete, clone, reset, pause, resume, info), so an agent knows the scope immediately. It also explicitly distinguishes itself from vm_agentic_workflow, so the tool is separable from its nearest sibling without opening a 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?

Provides an explicit exclusion: for LLM config suggestions or sandbox workflow planning, use vm_agentic_workflow instead. That is genuine routing guidance. What is missing is per-action guidance — nothing says when to use reset vs start, or that delete is irreversible and likely requires the VM to be stopped first.

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