Skip to main content
Glama

Get Cluster Metadata and Info

get_cluster_info
Read-onlyIdempotent

Retrieve a Kubernetes cluster's control-plane metadata, version, node pools, console links, node list, and Helm release summary to inspect its platform configuration.

Instructions

Retrieve single-cluster control-plane metadata, Kubernetes version, node pools, cloud console links, node list, and Helm release summary.

Returns badge, provider meta (version, location, node pools, networking, workload identity), node_count, nodes, and a lightweight helm summary for cluster_id (obtained from list_teams_and_clusters).

Use as the starting point for inspecting one cluster's platform configuration. Prefer get_fleet_overview to compare all clusters at once, get_nodes for a lightweight node-only list, or get_helm_releases for Helm releases enriched with live resource health.

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_cluster_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYesUnique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging').

Output Schema

NameRequiredDescriptionDefault
helmNoLightweight Helm release summary (`available`, `items`, `namespaces`) without per-release resource enrichment.
metaNoCloud control-plane metadata: kubernetes_version, location, status, node_pools, console_url, logs_url, workload_identity, and network.
badgeNoCluster display metadata: cluster_id, name, team_id, team_name, environment, and provider badge details.
nodesNoNormalized node summary entries for the cluster.
node_countNoTotal number of nodes detected in the cluster.
node_fetch_errorNoError message if live node listing failed while provider metadata succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.1.1
    • addedInput schema / properties / cluster_id / description
      Added value: +"Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging')."
    • addedInput schema / properties / cluster_id / maxLength
      Added value: +63
    • addedInput schema / properties / cluster_id / minLength
      Added value: +1
    • addedInput schema / properties / cluster_id / pattern
      Added value: +"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,62}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "badge": {
      +      "additionalProperties": true,
      +      "description": "Cluster display metadata: cluster_id, name, team_id, team_name, environment, and provider badge details.",
      +      "title": "Badge",
      +      "type": "object"
      +    },
      +    "helm": {
      +      "additionalProperties": true,
      +      "description": "Lightweight Helm release summary (`available`, `items`, `namespaces`) without per-release resource enrichment.",
      +      "title": "Helm",
      +      "type": "object"
      +    },
      +    "meta": {
      +      "additionalProperties": true,
      +      "description": "Cloud control-plane metadata: kubernetes_version, location, status, node_pools, console_url, logs_url, workload_identity, and network.",
      +      "title": "Meta",
      +      "type": "object"
      +    },
      +    "node_count": {
      +      "default": 0,
      +      "description": "Total number of nodes detected in the cluster.",
      +      "title": "Node Count",
      +      "type": "integer"
      +    },
      +    "node_fetch_error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Error message if live node listing failed while provider metadata succeeded.",
      +      "title": "Node Fetch Error"
      +    },
      +    "nodes": {
      +      "description": "Normalized node summary entries for the cluster.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "title": "Nodes",
      +      "type": "array"
      +    }
      +  },
      +  "title": "ClusterInfoOutput",
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds value by disclosing what the payload contains (badge, provider meta, node_count, nodes, Helm summary) and by hinting at depth with 'lightweight helm summary'. It does not mention response size, latency, or error behavior for unknown cluster_ids, which keeps it below a 5.

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?

Three short paragraphs, front-loaded with the purpose, then the return shape, then the routing guidance — no filler. Minor redundancy: the enumeration of return fields partially repeats what the existing output schema already declares.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with annotations and an output schema, everything essential is present: purpose, alternative routing, and parameter provenance. The only gap is duplication — the return-field listing is largely redundant given the output schema, and operational details (response size, large node lists) are untouched.

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 the pattern, length bounds, and examples already live in the schema — baseline 3. The description adds provenance the schema cannot: cluster_id is 'obtained from list_teams_and_clusters', which tells the agent how to acquire a valid value before calling.

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 ('Retrieve') and resource ('single-cluster control-plane metadata') and enumerates the concrete contents: Kubernetes version, node pools, console links, node list, and Helm release summary. The scope word 'single-cluster' immediately separates it from fleet-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?

Explicitly positions the tool as 'the starting point for inspecting one cluster's platform configuration' and names three alternatives with the condition that selects each: get_fleet_overview for cross-cluster comparison, get_nodes for a lightweight node-only list, get_helm_releases for health-enriched Helm data. This is exactly the when/when-not/alternatives pattern.

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