Skip to main content
Glama
Flux159
by Flux159

kubectl_rollout

Destructive

Control Kubernetes resource rollouts: check status, pause, resume, restart, or rollback deployments, daemonsets, and statefulsets.

Instructions

Manage the rollout of a resource (e.g., deployment, daemonset, statefulset)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subCommandYesRollout subcommand to executestatus
resourceTypeYesType of resource to manage rollout fordeployment
nameYesName of the resource
namespaceYesKubernetes namespacedefault
revisionNoRevision to rollback to (for undo subcommand)
toRevisionNoRevision to roll back to (for history subcommand)
timeoutNoThe length of time to wait before giving up (e.g., '30s', '1m', '2m30s')
watchNoWatch the rollout status in real-time until completion
contextNoKubeconfig Context to use for the command (optional - defaults to null)
Behavior2/5

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

Annotations provide destructiveHint:true, which partially indicates potential impact. However, the description adds no behavioral details beyond generic 'manage rollout' – it doesn't explain that subcommands like undo or restart are destructive while status/ history are safe, nor does it mention permissions or cluster state changes.

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 front-loads the core purpose. No wasted words, though it could include brief sibling differentiation or a link to more details without becoming verbose.

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?

With 9 parameters, no output schema, and no description of subcommand behaviors or output format, the tool definition is incomplete. The description does not explain what each subcommand returns (e.g., status output, history list), nor does it list prerequisites like kubectl configuration.

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?

Schema coverage is 100%, so baseline 3. The description adds no extra meaning to parameters; it does not elaborate on subcommand effects, revision handling, or timeout usage beyond what the schema already specifies.

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

Purpose4/5

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

Description states 'Manage the rollout of a resource' with examples of resource types, clearly indicating the tool's scope. However, 'manage' is somewhat generic and doesn't specify the subcommands (history, pause, etc.) that are listed in the schema. Sibling tools like kubectl_apply and kubectl_scale differ in purpose, so it's distinguishable.

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 explicit guidance on when to use this tool versus alternative kubectl tools or how to choose among subcommands. The description implies usage for rollout operations but lacks context for when-not-to-use or prerequisites like resource existence.

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

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