Skip to main content
Glama
htrixtec

MCP Server Kubernetes

by htrixtec

node_management

Destructive

Perform node management in Kubernetes: cordon to prevent scheduling, drain to evict pods, uncordon to resume.

Instructions

Manage Kubernetes nodes with cordon, drain, and uncordon operations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesNode operation to perform
nodeNameNoName of the node to operate on (required for cordon, drain, uncordon)
forceNoForce the operation even if there are pods not managed by a ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet (for drain operation)
gracePeriodNoPeriod of time in seconds given to each pod to terminate gracefully (for drain operation). If set to -1, uses the kubectl default grace period.
deleteLocalDataNoDelete local data even if emptyDir volumes are used (for drain operation)
ignoreDaemonsetsNoIgnore DaemonSet-managed pods (for drain operation)
timeoutNoThe length of time to wait before giving up (for drain operation, e.g., '5m', '1h')0
dryRunNoShow what would be done without actually doing it (for drain operation)
confirmDrainNoExplicit confirmation to drain the node (required for drain operation)
Behavior2/5

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

Annotations already signal destructiveness (destructiveHint: true). Description adds only 'Manage' which is vague; does not disclose detailed behaviors like pod eviction during drain or marking nodes unschedulable.

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?

Single sentence is concise and front-loaded. No superfluous content, though slightly more detail on operations could be beneficial without hurting conciseness.

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?

No output schema provided; description does not explain return values or confirmations. For a multi-operation tool with 9 parameters, more context (e.g., requiring confirmDrain for drain) is needed.

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

Parameters3/5

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

Input schema covers all 9 parameters with descriptions (100% coverage). Description does not add meaning beyond the schema; baseline 3 is appropriate.

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?

Clearly states verb 'Manage' and resource 'Kubernetes nodes' with specific operations (cordon, drain, uncordon). Distinguishes from sibling tools like kubectl_get or kubectl_describe which are more general.

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?

No guidance on when to use this tool versus alternatives such as kubectl_generic or kubectl_patch. Lacks explicit when-to-use or when-not-to-use context.

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

Install Server

Other Tools

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/htrixtec/mcp-server-kubernetes'

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