Skip to main content
Glama

cordon_node

Marks a Kubernetes node as unschedulable so no new pods are scheduled onto it. Preview with dry-run before applying.

Instructions

[WRITE][risk=medium] Mark a node unschedulable (no new pods land). Inverse: uncordon_node.

Pass dry_run=True to preview without cordoning.

Args: name: Node name (see node_list). dry_run: If True, preview without cordoning. target: k8s target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
targetNo
dry_runNo
Behavior4/5

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

No annotations are provided, so the description carries full burden. It states the action is a write operation with medium risk, describes the effect (node unschedulable), and notes the dry_run preview behavior. It does not detail auth needs or side effects beyond the basic operation.

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?

The description is very concise: one line for purpose, one line for dry_run, then a structured args list. Every sentence adds value, no wasted words.

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?

For a simple write tool with 3 parameters and no output schema, the description covers the main behavior and key parameter semantics. It mentions the inverse and preview option. It could mention the return value (likely success status) but not required.

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 0%, so description must explain parameters. It explains 'name' (node name from node_list), 'dry_run' (preview without cordoning), and 'target' (k8s target name). The explanations are helpful though target is somewhat vague.

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 clearly states the action: 'Mark a node unschedulable (no new pods land).' It uses a specific verb and resource, and also mentions the inverse tool for context.

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?

The description mentions the inverse tool (uncordon_node) and explains the dry_run option for preview. It implicitly tells when to use this tool (to cordon a node), but doesn't explicitly contrast with siblings like drain_node.

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/AIops-tools/K8s-AIops'

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