Skip to main content
Glama
VMware-Monitor

VMware-Monitor

get_cluster_health_summary

Read-onlyIdempotent

Get a one-glance health rollup for vCenter clusters: batch host, VM power, CPU/memory pressure, and alarms, score each cluster ok/warn/critical, and rank top anomalies for triage.

Instructions

[READ] One-glance health rollup for every cluster — "is anything on fire?".

Start here for single-vCenter triage. Batches hosts, VM power state, live CPU/memory pressure and alarms per cluster, scores each "ok"/"warn"/ "critical", and ranks the anomalies into top_issues. Use this instead of stitching list_all_clusters + list_esxi_hosts + get_alarms yourself.

Returns {totals, top_issues, issues_total, clusters, snapshot, customization_hint, endpoint} — not the list envelope. endpoint gives api_type/version/build of this connection, distinct from inventory hosts. Lead with top_issues (worst first), show clusters as context, always echo customization_hint last. Point-in-time — no trending. top_issues includes datastores thin-provisioned past 100% of capacity (kind capacity, scope datastore), attributed to the cluster of a host that mounts them; get_datastore_capacity has the full table. Alarm issues carry condition_now and acknowledged_days. Only a cleared alarm (its condition is read to be false now) ranks after live issues; an unknown one is not re-checked and keeps its severity rank, however long ago it was acknowledged — report it as possibly still live.

Then drill into what top_issues names with investigate_vm, investigate_host or investigate_datastore; use get_cross_vcenter_attention to cover every target at once. Acting on a finding belongs to vmware-aiops.

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": "get_cluster_health_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNoCap ``top_issues`` (default 10; 0 omits it). ``issues_total`` is the pre-cap count.
targetNovCenter/ESXi target from config (default if omitted).
include_vmsNoRoll up VM counts (default True); False skips that pass.
cluster_filterNoCase-insensitive substring; only matching clusters show (None = all, plus a standalone-hosts row).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond them: point-in-time with no trending, the per-cluster scoring scheme, ranking logic for top_issues, thin-provisioned datastore attribution to a mounting host's cluster, and the subtle rule that a cleared alarm ranks after live issues while an unknown one keeps its severity rank. That alarm-semantics detail is exactly the kind of thing an agent would otherwise misreport.

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?

Opening scope, then guidance, then return shape, then caveats, then next steps — well front-loaded and every paragraph has a job. It runs long for a read tool and includes presentational directives ("lead with top_issues", "always echo customization_hint last") that are useful but edge toward verbosity rather than selection criteria.

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?

With no output schema, the description takes on the burden of describing the return value and does so precisely: it lists the payload keys, notes it is not the list envelope, and clarifies that endpoint is connection metadata rather than an inventory host. For a four-parameter, zero-required aggregation tool with rich internal logic, an agent has everything needed to call it and interpret the result.

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 top_n, target, include_vms and cluster_filter are each fully documented in the schema, and the description does not add syntax or behavior for any of them. The implied "every cluster" scope hints at cluster_filter's None default but never states the capping behavior of top_n or the cost of include_vms. Baseline 3 is correct when the schema carries the parameter burden.

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?

"[READ] One-glance health rollup for every cluster" pairs a specific verb-and-resource with an intent framing ("is anything on fire?"), and the definition explicitly states it replaces stitching list_all_clusters + list_esxi_hosts + get_alarms. An agent can distinguish it from both the primitive list tools and the drill-down investigate_* tools without opening any schema.

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

Usage Guidelines5/5

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

"Start here for single-vCenter triage" establishes the entry point, and the closing paragraph names the concrete alternatives: investigate_vm/investigate_host/investigate_datastore for drill-down, get_cross_vcenter_attention for all targets at once. It also routes mutation elsewhere ("Acting on a finding belongs to vmware-aiops"), so both when-to-use and when-not-to-use are explicit.

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