Skip to main content
Glama
rsp2k
by rsp2k

k8s_get_kubernetes_cluster_config

Retrieve the kubeconfig for a Kubernetes cluster by providing its label or UUID.

Instructions

Get the kubeconfig for a Kubernetes cluster. Smart identifier resolution: use cluster label or UUID.

Args: cluster_identifier: The cluster label or ID

Returns: Kubeconfig content for cluster access

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_identifierYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the core behavior (getting kubeconfig) and the smart identifier resolution (accepting label or UUID). However, it does not mention any security sensitivity of the kubeconfig, potential permissions needed, or error behaviors. For a simple read operation, this is adequate but not rich.

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 concise: one clear purpose sentence, a brief identifier-resolution note, and Args/Returns. It is well-structured and front-loaded with the most important information. No unnecessary words.

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?

Given the tool's simplicity (one parameter, read-only operation) and the presence of an output schema, the description provides sufficient core information: what it returnscars and how the identifier is resolved. It does not address error cases or permissions, but those are less critical for this straightforward getter.

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 description coverage is 0%, so the description must compensate for the bare string type. It explains that cluster_identifier can be a cluster label or UUID, adding meaningful guidance. This is sufficient for the single parameter, though it could be more explicit about what 'ID' means (e.g., UUID vs. numeric ID).

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 'Get the kubeconfig for a Kubernetes cluster,' which is a specific verb + resource. It clearly distinguishes from sibling k8s_get_kubernetes_cluster by specifying kubeconfig as the output, so an agent can immediately identify what this tool does.

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

Usage Guidelines2/5

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

There is no explicit guidance about when to use this tool rather than related siblings such as k8s_get_kubernetes_cluster. The 'Smart identifier resolution' note is about parameter formatting, not tool selection. The agent must infer usage solely from the name and purpose.

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