Skip to main content
Glama
cloudcrafttech

KubeCraft MCP Server

Switch Kubeconfig Context

switch_context

Switch the active Kubernetes context to target a specific cluster, enabling all subsequent operations to use that cluster.

Instructions

Switch the active kubeconfig context. All subsequent tool calls will use this cluster.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextYesContext name to switch to
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses that switching changes subsequent tool behavior, but does not mention potential failures, permissions, or session scope.

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?

Two sentences, both essential, front-loading the action. No wasted 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 simplicity (single required parameter, no output schema), the description adequately covers the tool's purpose and effect. Could mention scope (session-specific) but is sufficient.

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 covers the parameter completely (100%). The description does not add extra meaning beyond what is in the schema.

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 clearly states the action ('Switch the active kubeconfig context') and the resource (kubeconfig context). It distinguishes from sibling 'list_contexts' by focusing on switching rather than listing.

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?

The statement 'All subsequent tool calls will use this cluster' implies when to use it (before cluster-specific operations) and differentiates from listing contexts. However, it lacks explicit guidance on when not to use or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudcrafttech/kubecraft-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server