Skip to main content
Glama

hmc_create_virtual_disk

Create a virtual disk inside a VIOS volume group, allocating capacity in MiB for use as backing storage to attach to LPARs.

Instructions

Create a Virtual Disk (logical volume) inside a Volume Group.

vios_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_vios). capacity_mb is the size in MiB. The disk becomes backing storage that you then attach to an LPAR with hmc_map_storage_to_lpar (storage_kind 'VirtualDisk'). Find vg_uuid with hmc_list_volume_groups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vg_uuidYes
disk_nameYes
capacity_mbYes
vios_name_or_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does mention that the disk becomes backing storage and specifies capacity units, which adds some context. However, it does not disclose whether the create operation is asynchronous, what side effects occur beyond creation, or any permission/authorization requirements, leaving a transparency gap for a mutation tool.

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?

The description is a compact paragraph with the core purpose first, followed by parameter-specific guidance. Every sentence carries useful information, with no filler or repetition.

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?

The description covers the main workflow (create then attach), parameter discovery references, and unit specification. It does not mention prerequisites like needing a valid Volume Group state or whether the disk becomes immediately available, but for a create tool with an output schema, it is mostly complete.

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 description coverage is 0%, so the description compensates by explaining vios_name_or_uuid (accepts PartitionName or UUID, find via hmc_vios), capacity_mb (size in MiB), and vg_uuid (find via hmc_list_volume_groups). The disk_name parameter is left undefined, but three of four parameters are enriched.

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?

The first sentence clearly states the action: 'Create a Virtual Disk (logical volume) inside a Volume Group.' It uses a specific verb and resource, and the scope ('inside a Volume Group') distinguishes it from siblings like hmc_create_volume_group or hmc_map_storage_to_lpar.

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?

The description provides contextual workflow guidance: the disk becomes backing storage to be attached to an LPAR via hmc_map_storage_to_lpar, and tells how to find vg_uuid with hmc_list_volume_groups. It lacks explicit 'when not to use' or exclusion against alternatives, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/randomparity/hmc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server