Skip to main content
Glama
rsp2k
by rsp2k

k8s_setup_kubernetes_cluster_for_workload

Create a Kubernetes cluster tailored to your workload type, region, and environment. Configure auto-scaling and receive setup recommendations for web, API, data, or development use cases.

Instructions

Set up a Kubernetes cluster optimized for specific workload types.

Args: label: Label for the new cluster region: Region code (e.g., 'ewr', 'lax') ctx: FastMCP context for resource change notifications workload_type: Type of workload ('web', 'api', 'data', 'development') environment: Environment type ('production', 'staging', 'development') auto_scaling: Enable auto-scaling for node pools

Returns: Created cluster information with setup recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYes
regionYes
environmentNoproduction
auto_scalingNo
workload_typeNoweb

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

C2.9/5.0
Behavior2/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 says 'Set up' which implies resource creation, but it doesn't disclose side effects, requirements (e.g., pre-existing VPC), or whether the operation is idempotent. It also doesn't clarify if this replaces or complements an existing cluster creation flow. The return note only hints at output, not behavior.

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 description is a compact docstring with a clean structure: purpose sentence, argument list, and returns note. It front-loads the main purpose and keeps each line informative. A minor waste is the 'ctx' line that refers to a non-existent parameter, but overall it's efficient.

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?

An output schema exists, so return structure is partially covered. Yet the description omits prerequisites (e.g., account permissions, network requirements), potential delays (e.g., provisioning time), and what differentiates this from k8s_create_kubernetes_cluster functionally. It also fails to mention whether it creates node pools automatically or expects them to be created separately. Given the tool's role in setup, this is a notable gap.

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 coverage is 0%, so the description must compensate. It does add value: it gives region examples ('ewr', 'lax'), enumerates workload_type and environment values, and explains auto_scaling. However, it lists a 'ctx' argument that is not defined in the input schema, which could mislead an agent. It also doesn't describe constraints for label or the exact format of region beyond examples.

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?

States a clear verb and resource – 'Set up a Kubernetes cluster' – and adds a differentiator ('optimized for specific workload types'). However, it doesn't explicitly contrast with the sibling k8s_create_kubernetes_cluster, so an agent may not know this is a specialized variant without inspecting both.

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?

No guidance on when to use this tool versus alternatives. The sibling k8s_create_kubernetes_cluster likely serves the generic creation case, but the description never mentions it or states the conditions that would make this tool preferable. The agent must infer the distinction from the workload_type parameter.

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