Skip to main content
Glama

delete_tkc_cluster

Destructive

Removes a Tanzu Kubernetes Cluster and all its nodes. Dry-run by default and needs confirmation; blocked while workloads run unless forced. For reducing capacity, scale the cluster instead.

Instructions

[WRITE] Delete a TKC cluster and all of its nodes.

Returns {name, namespace, status: "deleting"}, or a preview by default. SAFETY: refused while Deployments/StatefulSets run, unless force=True. A dry run unless you pass dry_run=False AND confirmed=True. Irreversible — use scale_tkc_cluster instead for fewer nodes. Empty a namespace of TKC clusters before delete_namespace accepts it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCluster name (via list_tkc_clusters).
forceNoSkip the workload check (dangerous).
targetNovCenter in config.yaml; omit for the default.
dry_runNoPreview only (default: True).
confirmedNoMust be True to proceed.
namespaceYesNamespace holding it.

Schema Changelog

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

  1. Changed7 schema fields changedv1.8.14
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / confirmed / description
      Added value: +"Must be True to proceed."
    • addedInput schema / properties / dry_run / description
      Added value: +"Preview only (default: True)."
    • addedInput schema / properties / force / description
      Added value: +"Skip the workload check (dangerous)."
    • addedInput schema / properties / name / description
      Added value: +"Cluster name (via list_tkc_clusters)."
    • addedInput schema / properties / namespace / description
      Added value: +"Namespace holding it."
    • addedInput schema / properties / target / description
      Added value: +"vCenter in config.yaml; omit for the default."
  2. Addedv1.8.9
  3. Removedv1.8.8
  4. Addedv1.5.26
  5. Removedv1.5.23
  6. First observedv1.3.2

TDQS

A4.9/5.0
Behavior5/5

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

The description richly discloses behavior beyond annotations: it returns {name, namespace, status: 'deleting'}, defaults to a dry run unless dry_run=False AND confirmed=True, is irreversible, and is refused while workloads exist unless force=True. These details align with annotations (destructiveHint=true, readOnlyHint=false) and add significant operational context.

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?

Every sentence carries essential information: the action, return value, safety guardrails, irreversibility, and the alternative tool. The structure breaks into clear labeled sections (WRITE, Returns, SAFETY) and wastes no words.

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?

Given an absent output schema, the description provides the return shape and preview behavior. It covers safety conditions, dry-run semantics, irreversibility, and even the prerequisite for a related operation (delete_namespace). Nothing needed to invoke or decide on this tool is missing.

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%, so the baseline is 3. The description adds value by explaining the interaction between dry_run and confirmed ('dry run unless you pass dry_run=False AND confirmed=True') and that force skips the workload check. This clarifies parameter semantics beyond the schema definitions.

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 verb and resource: 'Delete a TKC cluster and all of its nodes.' It also differentiates from scale_tkc_cluster by noting it deletes the entire cluster rather than reducing node count, making the tool's scope unambiguous.

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

Usage Guidelines5/5

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

Explicit routing guidance is provided: 'use scale_tkc_cluster instead for fewer nodes' and 'Empty a namespace of TKC clusters before delete_namespace accepts it.' It also states when deletion is refused (if Deployments/StatefulSets run) unless force=True, giving clear conditions for proper use.

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/vmware-skills/VMware-VKS'

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