Skip to main content
Glama
tiancode
by tiancode

pve_vm_resize_disk

Grow a virtual machine or container disk by specifying the disk config key and size, with support for relative or absolute size increments.

Instructions

Grow a disk of a VM or container.

    Applies to: QEMU VMs and LXC containers, located by ``vmid`` (``node``
    optional and auto-resolved). ``disk`` is the config key (e.g. ``scsi0``,
    ``virtio1``, or ``rootfs``/``mp0`` for containers). ``size`` is either
    relative (``+10G`` — add 10 GiB) or an absolute new size (``64G``);
    units K/M/G/T. GROW ONLY: PVE does not support shrinking disks, and an
    absolute size smaller than the current one is rejected by PVE.

    Side effects: enlarges the disk volume (the filesystem inside the guest
    usually must be grown separately). Waits up to PVE_MCP_TASK_WAIT
    seconds; returns JSON with ``vmid``/``node``/``type``/``disk``/``size``
    and ``task``. Source: PUT /nodes/{node}/{qemu|lxc}/{vmid}/resize.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diskYes
nodeNo
sizeYes
vmidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses side effects (disk enlargement, filesystem separate growth), waiting behavior, and return format. No contradictions.

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?

Well-structured with a one-line summary followed by details. All sentences add value, though slightly lengthy. Could be slightly more concise.

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

Completeness5/5

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

Given presence of output schema and four parameters, description is complete: covers side effects, usage constraints, return fields, and source endpoint. No gaps.

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%, but description compensates fully: explains vmid, disk (with examples), size (relative/absolute, units, grow-only constraint), and node (optional, auto-resolved). Adds significant meaning beyond schema.

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 description clearly states it grows a disk of a VM or container, specifies applicable types (QEMU VMs and LXC containers), and explains the key parameters. It distinguishes itself from sibling tools by focusing specifically on disk resizing.

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 clear usage context (grow only, with relative or absolute size) and mentions that filesystem must be grown separately. Could be more explicit about when to use this vs. other configuration tools, but still good.

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/tiancode/pve-mcp'

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