Skip to main content
Glama

vm_list

List all VMs with their power state, host, tools status, and sizing. Filter by power state or pool, and get a truncation flag when more VMs exist to handle large fleets.

Instructions

[READ] List VMs with power state, host, tools status, sizing.

Returns {"vms": [...], "returned": N, "limit": L, "truncated": bool}.
When truncated is true there are more VMs than were returned — re-run with
a higher limit rather than treating this as the whole fleet.

Args:
    power_state: Optional filter (Running / Halted / Paused / Suspended).
    pool: Optional pool uuid to filter by.
    limit: Max VMs to return after filtering (default 200).
    target: Xen Orchestra target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolNo
limitNo
targetNo
power_stateNo
Behavior4/5

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

The description discloses the return format and the critical truncation behavior ('When truncated is true there are more VMs than were returned — re-run with a higher limit'). Annotations are absent, so the description carries full burden. It does not mention side effects, authentication, or rate limits, but for a read-only list tool this is sufficient. The [READ] prefix adds clarity.

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 very concise: one sentence for purpose, one for return format, one for truncation behavior, and a clean parameter list. Every sentence adds value. It is front-loaded with the purpose and structured logically.

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 the tool has 4 parameters, no output schema, and moderate complexity (filtering, truncation), the description covers everything needed: purpose, return shape, critical truncation behavior, and all parameters. There is no missing information that would hinder correct usage.

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?

The description documents all four parameters (power_state, pool, limit, target) with their purpose and defaults. The input schema has no property descriptions (0% coverage), so the description fully compensates by providing meanings and expected values. It also explains the truncation behavior in context of limit.

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 starts with '[READ] List VMs with power state, host, tools status, sizing.' This clearly states the verb (List) and resource (VMs), and it specifies the fields returned. It also distinguishes from sibling tool 'vm_get' which retrieves a single VM.

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?

The description does not provide any guidance on when to use this tool versus alternatives. It does not mention prerequisites, exclusions, or when not to use it. The only contextual hint is the '[READ]' prefix, but no explicit comparison with sibling tools like 'overview' or 'backup_job_list'.

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/AIops-tools/XCPng-AIops'

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