Skip to main content
Glama
mmpyro

vcluster-mcp

by mmpyro

vcluster_create

Create a virtual cluster with specified name, namespace, and Helm values, with options to pin chart version, expose via load balancer, or upgrade an existing cluster.

Instructions

Create a new vcluster.

Creates a vcluster with the specified name. Configuration can come from values files, inline helm values, or both. The caller's kube context is never switched by this operation.

Args: name: The name for the new vcluster. values: Optional path to a values file, or a list of paths. Later files override earlier ones. upgrade: Optional flag to upgrade the cluster if it was created before. namespace: Optional namespace to create the vcluster in. If not provided, the vcluster CLI picks the default. set_values: Optional inline helm values, e.g. {"sync.toHost.ingresses.enabled": "true"}. Avoids writing a temporary values file for a single setting. chart_version: Optional vcluster chart version to pin, e.g. "0.36.0". chart_repo: Optional chart repository URL override. chart_name: Optional chart name override. expose: If True, create a load balancer service to expose the vcluster endpoint outside the host cluster. create_namespace: If False, do not create the namespace. Defaults to the CLI behaviour, which creates it when missing. kube_config_context_name: Optional override for the generated kube context name. kubeconfig_path: Optional path to a kubeconfig file. If not provided, the default kubeconfig from the environment will be used.

Returns: Union[CommandResult, str]: CommandResult on success, or error object if failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
exposeNo
valuesNo
upgradeNo
namespaceNo
chart_nameNo
chart_repoNo
set_valuesNo
chart_versionNo
kubeconfig_pathNo
create_namespaceNo
kube_config_context_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed9 schema fields changedv0.1.1
    • addedInput schema / properties / chart_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Chart Name"
      +}
    • addedInput schema / properties / chart_repo
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Chart Repo"
      +}
    • addedInput schema / properties / chart_version
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Chart Version"
      +}
    • addedInput schema / properties / create_namespace
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Create Namespace"
      +}
    • addedInput schema / properties / expose
      Added value: +{
      +  "default": false,
      +  "title": "Expose",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / kube_config_context_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Kube Config Context Name"
      +}
    • addedInput schema / properties / namespace
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Namespace"
      +}
    • addedInput schema / properties / set_values
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Set Values"
      +}
    • changedInput schema / properties / values / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It adds valuable context beyond the schema: the caller's kube context is never switched, later values files override earlier ones, create_namespace follows CLI defaults, and kubeconfig_path falls back to environment defaults. It could also mention prerequisites like requiring the vcluster CLI or cluster access, but the disclosed behavior is substantial.

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 well-structured with a short purpose statement, followed by an Args section and a Returns section. It is long only because all 12 parameters need explanation. There is slight redundancy between 'Create a new vcluster' and 'Creates a vcluster with the specified name,' and the Returns section is less necessary given the output schema, but overall each section earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 12-parameter tool, the description covers every parameter, key defaults, precedence rules, a significant side-effect guarantee (no kube-context switching), and the return type. It provides enough information for an agent to call the tool correctly without needing to open the schema, which is remarkable given the parameter count.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description is the only source of parameter meaning. It documents all 12 parameters, including defaults, override behavior, example inline values, and the effect of flags like expose and create_namespace. This far exceeds the bare schema titles and fully compensates for the lack of schema descriptions.

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 a specific action and resource: 'Create a new vcluster' and restates 'Creates a vcluster with the specified name.' This clearly distinguishes it from sibling tools like vcluster_list, vcluster_describe, vcluster_delete, and vcluster_pause, which cover other lifecycle operations.

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

Usage Guidelines3/5

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

The description gives strong parameter-level guidance, such as 'Later files override earlier ones' and set_values 'Avoids writing a temporary values file for a single setting.' However, it does not explicitly contrast this tool with siblings or state when to prefer vcluster_create over related lifecycle tools, leaving most comparison to inference from the tool name.

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

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/mmpyro/vcluster-mcp'

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