Skip to main content
Glama
AIops-tools

xcpng-aiops

by AIops-tools

vm_stats

Retrieve recent CPU and memory usage averages for a virtual machine, with configurable granularity (seconds, minutes, hours, days).

Instructions

[READ] Recent CPU / memory stats for a VM (RRD-backed averages).

Args: vm_id: VM uuid (see vm_list). granularity: seconds / minutes / hours / days (default seconds). target: Xen Orchestra target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vm_idYes
targetNo
granularityNoseconds
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It indicates read-only operation with '[READ]' and explains data source (RRD-backed averages). However, it does not mention return format, error cases, or limitations like potential staleness.

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 concise, using a single header line and a bullet-style args list. Every sentence adds value without redundancy. It is well-structured and easy to parse.

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?

The tool has moderate complexity (3 params, no output schema). The description covers purpose and parameters well but omits the output format and potential errors. For a stats tool, describing the return structure would improve completeness.

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?

With 0% schema description coverage, the description adds critical meaning: vm_id is specified as a VM UUID with reference to vm_list, granularity describes allowed values and default, and target explains its source and optional nature. This fully compensates for the schema's lack of detail.

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?

Description starts with '[READ] Recent CPU / memory stats for a VM (RRD-backed averages)', clearly specifying the action, resource, and data type. It distinguishes from sibling tools like vm_list and vm_get by focusing on performance statistics.

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?

Description explains when to use the tool (to get recent CPU/memory stats) but does not explicitly contrast with alternatives such as vm_health_rca. The implied usage is clear but lacks a direct 'when not to use' statement.

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