Skip to main content
Glama

get_supervisor_status

Read-onlyIdempotent

Retrieve a Supervisor Cluster's health and readiness to verify it is RUNNING and Kubernetes-ready before creating namespaces or TanzuKubernetesClusters.

Instructions

[READ] Get the health of one Supervisor Cluster (vSphere with Tanzu control plane).

Returns cluster_id, config_status (RUNNING = healthy, else CONFIGURING / ERROR / REMOVING), kubernetes_status (READY / WARNING / ERROR), api_server_cluster_endpoint, kubernetes_version (null plus kubernetes_version_hint if unavailable), and network_provider. Run check_vks_compatibility first for cluster IDs; use this to confirm a Supervisor is healthy before create_namespace or create_tkc_cluster. On vCenter 9.1+, optional version lookup requires Namespaces.Manage for Supervisor topology and Namespaces.Upgrade for version evidence. Missing access leaves the version unknown; it does not grant or bypass RBAC.

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": {
      "cluster_id": "<cluster_id>"
    },
    "name": "get_supervisor_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNovCenter in config.yaml; omit for the default.
cluster_idYesCompute cluster MoRef, e.g. 'domain-c1' (wcp_clusters field of check_vks_compatibility).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.14
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / cluster_id / description
      Added value: +"Compute cluster MoRef, e.g. 'domain-c1' (wcp_clusters field of check_vks_compatibility)."
    • addedInput schema / properties / target / description
      Added value: +"vCenter in config.yaml; omit for the default."
  2. Addedv1.8.9
  3. Removedv1.8.8
  4. Addedv1.5.26
  5. Removedv1.5.23
  6. First observedv1.3.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description adds value by disclosing RBAC requirements (Namespaces.Manage for topology, Namespaces.Upgrade for version evidence) and degradation behavior when access is missing. The explicit note that missing access "does not grant or bypass RBAC" clarifies that the tool never escalates privileges, which annotations cannot convey.

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 purpose is front-loaded and every block (returns, prerequisite, RBAC) is relevant. It is a dense single paragraph covering three distinct concerns, which makes it slightly harder to scan than a line-structured version, but there is no filler.

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 carries the return-value burden and does so thoroughly, including null handling via kubernetes_version_hint. Auth requirements and the pre-call dependency are also covered, leaving nothing an agent needs in order to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, but the description adds navigational meaning by tying cluster_id back to the wcp_clusters field of check_vks_compatibility. The target/vCenter parameter is left entirely to the schema, which is acceptable given full coverage.

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 description opens with a specific verb and resource ("Get the health of one Supervisor Cluster") and immediately scopes it to the vSphere with Tanzu control plane, which separates it from sibling readers like get_tkc_cluster or list_namespaces. It then enumerates the returned fields, so an agent knows exactly what 'health' means here.

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 states an explicit prerequisite ("Run check_vks_compatibility first for cluster IDs") and a concrete decision rule ("use this to confirm a Supervisor is healthy before create_namespace or create_tkc_cluster"). Both when-to-use and the ordering relative to siblings are spelled out rather than inferred.

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