Skip to main content
Glama
American Cloud MCP Server

American Cloud MCP Server

Official

Get VM metrics

get_vm_metrics
Read-onlyIdempotent

Retrieve CPU, memory, network, and disk usage metrics for a VM over a specified number of hours to monitor performance and diagnose resource issues.

Instructions

Get CPU, memory, network, and disk usage metrics for a VM over the last N hours.

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": {
      "id": "<id>",
      "hours": "<hours>"
    },
    "name": "get_vm_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVM identifier (UUID), from list_vms or create_vm.
hoursYesHow many hours of metrics history to return.
sample_periodNoSampling period in seconds. Omit for the API default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / hours / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / sample_period / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / sample_period / minimum
      Added value: +-9007199254740991
  2. First observedv0.8.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond the schema: no volume/latency expectations for long time windows, no granularity or aggregation behavior, no note that unknown VM ids fail, and no indication of what the response looks like even though no output schema exists.

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 well-formed sentence with the resource and the time window front-loaded and no filler. It is perhaps too terse for a metrics tool with no output schema, but nothing in it is wasted.

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?

For a read-only 3-parameter tool the definition is minimally viable, and the schema carries parameter detail. However, with no output schema, the description should say what is returned (per-metric time series? units? sampling intervals?), which it leaves entirely opaque.

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 all three parameters (id, hours, sample_period) are already documented with types, bounds, and an origin hint for id. The description only restates the hours window ('over the last N hours') and says nothing about trading sample_period against volume or about default sampling, so it adds no meaning beyond the schema.

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 (get) and resource (VM metrics) plus the exact metric families returned (CPU, memory, network, disk) and the time window. That distinguishes it from get_vm (VM attributes) and get_cost_estimate_vm (pricing), though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: this is the tool for historical utilization data on a VM, whereas get_vm covers configuration. There is no explicit statement of when to prefer it, no exclusions, and no mention of how to follow up (e.g., pair with get_cost_estimate_vm for sizing decisions).

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