Skip to main content
Glama
rsp2k
by rsp2k

k8s_upgrade_kubernetes_cluster

Upgrade a Kubernetes cluster to a specified version using its label or UUID. Provide the target Kubernetes version to initiate the upgrade and receive status.

Instructions

Start a Kubernetes cluster upgrade. Smart identifier resolution: use cluster label or UUID.

Args: cluster_identifier: The cluster label or ID upgrade_version: Target Kubernetes version (use get_kubernetes_available_upgrades)

Returns: Upgrade initiation status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
upgrade_versionYes
cluster_identifierYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It states the operation starts an upgrade and returns 'Upgrade initiation status,' which clarifies the response is about initiation, not completion. However, it does not mention potential side effects like node restarts, cluster downtime, or long-running asynchronous behavior, which would be valuable for a mutating operation.

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?

The description is compact and well-organized, with a clear one-line summary followed by an Args section and a Returns line. Every sentence earns its place, and the smart identifier note is useful without bloating the text.

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

Completeness3/5

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

The description covers the parameters and the return value, and the output schema exists, so return details are partly handled elsewhere. However, for a cluster upgrade operation with no annotations, it would benefit from additional context such as whether the upgrade is asynchronous, whether the cluster experiences downtime, or whether the target version must first be validated via get_kubernetes_available_upgrades.

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?

The schema provides only string types with no descriptions, so the description must compensate. It does so by explaining both parameters: cluster_identifier is 'the cluster label or ID' and upgrade_version is the 'Target Kubernetes version.' It also adds a useful pointer to get_kubernetes_available_upgrades for valid versions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Start a Kubernetes cluster upgrade.' It is not a tautology and clearly identifies the action. However, it does not explicitly distinguish itself from sibling tools like k8s_update_kubernetes_cluster or k8s_get_kubernetes_available_upgrades, so it falls short of full differentiation.

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

Usage Guidelines3/5

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

The description implies when to use the tool: when starting a Kubernetes cluster upgrade. It also points to get_kubernetes_available_upgrades for selecting the upgrade_version. However, it does not explicitly state when not to use it or contrast it with alternatives such as k8s_update_kubernetes_cluster.

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

Deploy Server

Other Tools