Skip to main content
Glama

list_virtual_machine_metrics

Retrieve performance metrics for virtual machines, filtered by VM ID or zone, to monitor resource usage and diagnose CloudStack VM health.

Instructions

List virtual machine performance metrics

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_machine_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSpecific VM ID
zoneidNoZone ID to filter 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?

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action ('List') without detailing whether this is a read-only operation, if it requires specific permissions, what the output format looks like (e.g., metrics types, time ranges), or any rate limits. This is inadequate for a tool that likely returns performance data.

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, efficient sentence with no wasted words. It is front-loaded with the core purpose, making it easy to scan and understand quickly, which is ideal for conciseness.

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?

Given the complexity of performance metrics (which could include CPU, memory, network data, etc.), no annotations, and no output schema, the description is insufficient. It doesn't explain what metrics are returned, their format, or any behavioral aspects like pagination or authentication needs, leaving significant gaps for the agent.

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%, so the schema already documents both parameters ('id' and 'zoneid') with clear descriptions. The description adds no additional meaning beyond implying metrics are for VMs, which is already inferred from the tool name and schema. Baseline 3 is appropriate as the schema handles parameter documentation adequately.

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 clearly states the action ('List') and resource ('virtual machine performance metrics'), making the purpose understandable. However, it doesn't distinguish this tool from its sibling 'list_virtual_machines', which might list VMs themselves rather than their metrics, leaving some ambiguity about differentiation.

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?

No guidance is provided on when to use this tool versus alternatives like 'get_virtual_machine' or 'list_virtual_machines'. The description lacks context about prerequisites, such as needing VM IDs from other tools, or exclusions, leaving the agent without clear usage direction.

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