Skip to main content
Glama
CyberKnightLabs

vmware-knight

cluster_info

Read-onlyIdempotent

Retrieve detailed vCenter cluster information including member hosts, HA/DRS settings, and resource capacity to verify configurations before changes.

Instructions

[READ] Get detailed cluster information: member hosts, HA/DRS config, resource capacity.

Read-only, no side effects. Use before cluster_add_host / cluster_remove_host (shows membership and per-host maintenance mode) and to verify cluster_configure changes.

Returns: Dict with name, host_count, hosts (each: name, connection_state, power_state, maintenance_mode), ha_enabled, ha_admission_control, drs_enabled, drs_behavior, total/effective CPU (MHz) and memory (GB). Errors return a dict with "error" + hint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesExact cluster name.
targetNovCenter target name from config.yaml; omit to use the default target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.12.10

TDQS

A4.3/5.0
Behavior4/5

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

With annotations already declaring readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, the description's 'Read-only, no side effects' is largely redundant. It earns credit by adding the error-return contract ('Errors return a dict with error + hint') and by enumerating the full return schema, which annotations cannot convey. No contradiction.

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?

Well-structured and front-loaded: [READ] tag, one-sentence purpose, usage guidance, then a compact return-format block. Every sentence earns its place; the only mild redundancy ('Read-only, no side effects' vs annotations) is brief and reinforces safety.

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?

Even with no output schema, an agent has everything needed: the exact return dict (all fields listed down to per-host maintenance_mode and CPU/MHz memory/GB units), the error format, usage timing, and a read-only safety profile from annotations. For a 2-parameter read tool, nothing critical 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% — 'name' is documented as 'Exact cluster name' and 'target' as the config.yaml vCenter target with default behavior. The description adds no per-parameter meaning beyond the schema, so the baseline 3 applies; the description's return-field list is useful but concerns outputs, not parameter semantics.

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?

States a specific verb and resource ('Get detailed cluster information') plus the exact contents (member hosts, HA/DRS config, resource capacity). The [READ] prefix and the named write-siblings (cluster_add_host, cluster_remove_host, cluster_configure) make the read-vs-mutate distinction unambiguous among the many cluster_* tools.

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

Usage Guidelines4/5

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

Gives explicit when-to-use context: 'Use before cluster_add_host / cluster_remove_host' and 'to verify cluster_configure changes.' This is clear and actionable, but it names no when-not-to-use case or stated alternative (e.g., cluster_health_summary for health-focused checks), so it stops short of the full 5.

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