Skip to main content
Glama

storage_management

Manage VirtualBox VM storage by listing, creating, and removing controllers, creating disks, and attaching disks to VMs.

Instructions

Comprehensive storage management portmanteau tool.

Consolidates all storage operations into a single interface. Use the action parameter to specify which operation to perform.

Return Format

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

Examples

await storage_management(action="list_controllers", vm_name="MyVM")
await storage_management(action="create_controller", vm_name="MyVM", controller_name="SATA Controller", controller_type="sata")
await storage_management(action="create_disk", disk_name="MyDisk.vdi", disk_size_gb=50)
await storage_management(action="attach_disk", vm_name="MyVM", disk_path="/path/to/MyDisk.vdi")
await storage_management(action="remove_controller", vm_name="MyVM", controller_name="SATA Controller")

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": "storage_management"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items for list actions.
actionYesStorage operation to perform.
offsetNoOffset for list pagination.
vm_nameNoVM name (list_controllers, create_controller, remove_controller, list_disks, attach_disk).
disk_nameNoDisk file name (create_disk).
disk_pathNoDisk file path (attach_disk).
disk_size_gbNoDisk size in GB (create_disk).
controller_nameNoController name (create_controller, remove_controller).
controller_typeNoController type (create_controller): ide|sata|scsi|sas|usb|pcie.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses a return format and examples, but it does not describe permissions, side effects, reversibility, or whether create/remove/attach actions modify host or VM state destructively.

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 well-structured with an introduction, return format, and examples, and the key action parameter is front-loaded. The examples are useful for a portmanteau tool, though the opening phrase is slightly redundant and the return-format section duplicates the output schema.

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

Completeness3/5

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

For a nine-parameter tool with mutating actions, the description gives enough structure to make calls, especially through examples. It remains incomplete on action-specific prerequisites, safety behavior, and when to prefer this tool over sibling management tools.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all nine parameters and their action associations. The examples reinforce valid action/parameter combinations, but they do not add substantial semantic detail beyond what the schema provides.

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 clearly identifies a storage-management tool that consolidates multiple storage operations behind an action parameter. Examples name concrete actions such as list_controllers, create_controller, create_disk, attach_disk, and remove_controller, so an agent can distinguish this from network or snapshot tools, though sibling differentiation is not explicit.

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

Usage Guidelines3/5

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

It instructs the agent to use the action parameter and illustrates several action calls, which implies how to select operations. However, it does not state when this tool should be used instead of vm_management or snapshot_management, nor does it give exclusions or prerequisites for each action.

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