Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp. If you published it, claim ownership there.

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. For regional locations, 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. Clusters in zonal locations are always Standard clusters. If a Standard cluster configuration has neither nodePools nor initialNodeCount, the cluster is created without any nodes (older GKE versions reject the request), so include nodePools or initialNodeCount when the user needs nodes to run workloads. This is similar to running gcloud container clusters create-auto or gcloud container clusters create.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "parent": "<parent>",
      "cluster": "<cluster>"
    },
    "name": "create_cluster"
  }
}

Input 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

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, non-open-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: regional defaulting to Autopilot, zonal clusters always being Standard, and the silent creation of a node-less cluster when neither nodePools nor initialNodeCount is supplied, including that older GKE versions reject it.

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?

Front-loaded with purpose, then conditional rules in a sensible order. Roughly five sentences with little filler, though the doc link plus two gcloud analogies make the tail slightly heavier than needed.

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?

Complete for a mutation tool: mode selection, node provisioning, and version-compat caveats are all covered, and an output schema exists so return values need no explanation. It stops short of stating permission requirements or pointing at create_node_pool/update_cluster for post-creation changes.

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 coverage is 100% for both parameters, so baseline would be 3. The description still adds meaning by telling the agent what must go inside the opaque JSON `cluster` string (autopilot.enabled, nodePools, initialNodeCount) and what format `parent` implies, which the schema alone does not explain.

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?

Opens with a specific verb and resource ('Creates a new GKE cluster in a given project and location') and immediately narrows scope by mode. The Autopilot-vs-Standard distinction and the gcloud command analogues make it unambiguous versus siblings like create_node_pool or update_cluster.

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?

Gives conditional when-to guidance: regional locations default to Autopilot, set autopilot.enabled=false only if the user explicitly wants Standard, and include nodePools/initialNodeCount when nodes are needed. It does not explicitly route the agent to create_node_pool for adding nodes to an existing cluster, which is the remaining gap.

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.

Resources