Skip to main content
Glama
vmware-skills

VMware-Monitor

get_resource_pool_usage

Read-onlyIdempotent

Retrieve per-pool CPU and memory reservations, limits, and usage to diagnose VM throttling when the host isn't busy. Identify if a resource pool cap is the cause.

Instructions

[READ] Per-resource-pool CPU/memory reservation, limit, and current usage.

Returns the list envelope with a real total; each row has name, cpu_reservation_mhz, cpu_limit_mhz, cpu_usage_mhz, mem_reservation_mb, mem_limit_mb, mem_usage_mb, sorted by memory usage descending. A limit of -1 means unlimited. Pool names are not cluster-qualified, so identical names in different clusters may look alike.

Use this when a VM is throttled but its host is not busy — the cap is usually the pool. Then get_vm_performance to see which VMs in it are demanding, or get_cluster_health_summary for the cluster-level picture.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax pool rows to return (None = all).
targetNovCenter/ESXi target from config (default if omitted).

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 establish read-only/idempotent/non-destructive, and the description adds substantial context on top: the list envelope with a real total, the exact field set, descending-memory ordering, the -1 sentinel meaning 'unlimited', and the caveat that pool names are not cluster-qualified. That last point is a non-obvious data trap an agent needs.

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?

The [READ] tag and usage trigger are front-loaded and the prose is largely waste-free, though the mid-paragraph enumeration of every returned column is somewhat heavy. With no output schema that detail arguably earns its place, but it reads more densely than necessary.

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 fully carries the return-value burden — envelope shape, columns, ordering, sentinel semantics — plus the known ambiguity caveat and usage routing. Nothing needed to call and interpret it correctly is missing.

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% and both 'limit' and 'target' are documented in the schema. The description adds nothing specific beyond this — the 'limit of -1' line refers to a returned field, not the limit parameter — so the baseline 3 applies while the schema does the work.

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?

The opening verb+resource is exact: per-resource-pool CPU/memory reservation, limit, and current usage. It names the concrete row fields and the sort order, so an agent immediately knows what this returns and how it differs from cluster- or VM-level siblings.

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?

It gives an explicit trigger ('a VM is throttled but its host is not busy — the cap is usually the pool') and routes to named alternatives (get_vm_performance for which VMs, get_cluster_health_summary for the cluster picture). This is genuine when-to-use plus alternatives.

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