Skip to main content
Glama

list_virtual_machines

Retrieve CloudStack virtual machines and filter them by state, zone, or keyword to inspect and manage VM inventory.

Instructions

List virtual machines in CloudStack

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_virtual_machines"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoVM state (Running, Stopped, etc.)
zoneidNoZone ID to filter VMs
keywordNoKeyword to search VMs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/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 and it discloses almost nothing. It does not state whether results are paginated, whether the caller sees only their own VMs or all VMs, what the default when no filters are supplied is, or whether it is a read-only operation (implied by 'List' but not asserted).

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?

A single front-loaded sentence with no wasted words. Its brevity borders on under-specification rather than verbosity, but structurally it is clean.

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 three-filter list tool with no output schema and no annotations, the description should explain the shape of the result and any pagination or scoping behavior. None of that is present, so an agent cannot predict what a call returns or how large the response may be.

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%, including an enum for state, so the three filter parameters are already fully documented in structured data. The description adds no semantics beyond the schema, which is the baseline expectation at this coverage level.

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?

States a specific verb and resource ('List virtual machines') with the CloudStack platform scoping the domain. It does not distinguish this from siblings such as get_virtual_machine or list_virtual_machine_metrics, so an agent must infer that this is the broad enumeration endpoint.

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 guidance on when to use this versus get_virtual_machine (single VM lookup) or the many mutation siblings. Nothing says whether the result set is scoped by account, domain, or zone by default, which is exactly the decision an agent needs to make before calling.

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

Deploy Server

Other Tools