Skip to main content
Glama

get_resource_usage

Retrieve CPU, memory, and network performance metrics for a Proxmox VM or LXC container over a chosen timeframe to monitor resource use and diagnose performance issues.

Instructions

Get performance metrics (CPU, memory, network) for a VM or LXC container.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "node": "<node>",
      "vmid": "<vmid>",
      "type": "<type>",
      "timeframe": "<timeframe>"
    },
    "name": "get_resource_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYes
typeYes
vmidYes
timeframeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 burden of behavioral disclosure. It identifies this as a metrics retrieval operation but does not explain permissions, aggregation or sampling behavior, retention constraints, or what the returned metrics represent.

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 single front-loaded sentence with no wasted wording. It is compact and easy to parse, though its brevity contributes to gaps elsewhere.

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 tool with four required parameters, no annotations, and no output schema, the description is too thin. It does not compensate for the lack of schema parameter descriptions or clarify how the timeframe and node/vmid/type inputs affect the returned metrics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and all four parameters are required. The description does not explain node, vmid, type, or timeframe; it only loosely implies that type selects a VM or LXC container, leaving most parameter meaning undocumented.

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?

The description states a specific verb and resource: get performance metrics for a VM or LXC container, and names the metric categories (CPU, memory, network). It is clear enough to distinguish this from config-oriented siblings like get_instance_config, though it does not explicitly name a sibling alternative.

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 implies the target is a VM or LXC container, but it gives no explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. An agent must infer the intended usage context.

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