Skip to main content
Glama

Taint node

k8s_taint_node

Applies taints to a Kubernetes node to control pod scheduling. Specify the node and taints to keep workloads off or repel them from that node.

Instructions

Taint a node with specified taints.

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": {
      "node_name": "<node_name>",
      "taints": "<taints>"
    },
    "name": "k8s_taint_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
taintsYes
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
node_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the mutation and safety profile are covered. The description adds nothing beyond that: it does not explain that taints affect scheduling for future pods, that applying a taint is reversible only via k8s_untaint_node, or how taints interact with existing ones (merge vs replace).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no filler, which is structurally sound. However, the brevity is under-specification rather than economy, since the single sentence omits all operational detail.

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

Completeness2/5

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

For a cluster-mutating tool with no output schema and an undefined nested parameter shape, the definition is far too thin. An agent cannot construct a valid taints payload or predict the effect of the call from this description.

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

Parameters2/5

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

Schema coverage is only 33%: only 'context' is described. The core 'taints' parameter is an untyped array of open objects with additionalProperties=true, so its expected shape (key, value, effect such as NoSchedule/NoExecute) is documented nowhere, and the description's phrase "specified taints" does not compensate. 'node_name' is also undocumented but self-evident.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Taint a node with specified taints" gives a clear verb+resource, but it is close to a restatement of the name and title, and it does nothing to distinguish this from k8s_untaint_node, k8s_list_node_taints, or k8s_cordon_node, which an agent must choose among.

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?

There is no when-to-use guidance, no mention of prerequisites (node must exist, RBAC permissions), and no pointer to the removal counterpart k8s_untaint_node. The agent is left to infer everything about selection.

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