Skip to main content
Glama

create_cluster

Creates a new GKE cluster in a given project and location. It's recommended to read the GKE documentation to understand cluster configuration options. Cluster creation will default to Autopilot mode, as recommended by GKE best practices. If the user explicitly wants to create a Standard cluster, you need to set autopilot.enabled=false in the cluster configuration. This is similar to running gcloud container clusters create-auto or gcloud container clusters create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parentYesRequired. The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.
clusterYesRequired. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters) represented as a string using JSON format.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorsNoErrors encountered during the operation.
operationNoJSON string of the GKE Operation object. See: https://docs.cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.operations

TDQS

A4.3/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false, implying a write operation. The description adds valuable behavioral context beyond annotations by revealing the Autopilot default and the specific field needed to create a Standard cluster. It also notes similarity to gcloud CLI behavior. No contradiction with annotations is present.

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 4 sentences, front-loaded with the primary purpose. The second sentence suggests reading docs, which is somewhat optional, but the Autopilot vs. Standard guidance is essential. Overall, every sentence provides useful information without excessive verbosity.

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?

The tool has 2 well-defined params and an output schema, so return values need no explanation. The description covers the key decision point (Autopilot vs Standard) and points to docs for deeper configuration. It does not mention prerequisites or authentication, but sibling tools like check_k8s_auth and get_cluster provide some context. Sufficient for a creation tool.

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 100%, with both params clearly described (parent format and cluster JSON resource). The description adds extra meaning to the cluster parameter by explaining that cluster creation defaults to Autopilot and how to configure a Standard cluster. This goes beyond the schema's generic JSON description.

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 explicitly states 'Creates a new GKE cluster in a given project and location,' which is a specific verb+resource. It clearly distinguishes from sibling tools like create_node_pool (node pool creation) and get_cluster/list_clusters (read operations). The reference to equivalent gcloud commands further reinforces its purpose.

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 description gives clear context for the main usage decision: it defaults to Autopilot mode and explains how to switch to Standard by setting autopilot.enabled=false. It also recommends reading GKE documentation for configuration options. However, it does not explicitly mention when not to use this tool or distinguish it from update_cluster or other alternatives, though the purpose is unambiguous from sibling names.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools target distinct actions and resources, but a few pairs could confuse agents, such as get_cluster (GKE cluster details) vs get_k8s_cluster_info (kubectl cluster-info), or apply_k8s_manifest vs patch_k8s_resource. Overall, descriptions help clarify the differences.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in lowercase snake_case (e.g., create_cluster, list_node_pools, get_k8s_logs). There are no mixed conventions or unpredictable naming variations.

Tool Count4/5

With 23 tools, the server covers both GKE cluster management and in-cluster Kubernetes operations, which justifies the count. It is slightly on the heavier side but remains within a reasonable scope for such a broad domain.

Completeness3/5

The tool surface covers create, read, update, and list operations for clusters and node pools, but notably lacks delete_cluster and delete_node_pool. This leaves an obvious lifecycle gap that agents cannot work around without additional tooling.

Resources