Skip to main content
Glama

Rollout status

k8s_rollout_status

Check whether a Kubernetes Deployment, StatefulSet, or DaemonSet rollout is complete by resource name, namespace, and context.

Instructions

Report whether a Deployment/StatefulSet/DaemonSet rollout is complete.

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": {
      "resource_type": "<resource_type>",
      "name": "<name>"
    },
    "name": "k8s_rollout_status"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=true, so safety profile and external-cluster reach are covered structurally. The description adds little beyond the one-line purpose: it does not say whether the call simply reads current status or blocks/waits, how it behaves on a failed or in-progress rollout, or what the report contains. There is a mild tension with readOnlyHint=false, since 'Report whether...' reads as a pure query, but this is a soft mismatch rather than a stated contradiction.

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?

A single front-loaded sentence with no filler; the core purpose is delivered immediately. It is arguably under-specified rather than bloated, which is a completeness problem, not a structural one.

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 4-parameter, mutation-adjacent cluster tool with no output schema and 25% schema coverage, one sentence is not enough. Nothing explains what 'complete' means operationally, what is returned, or how failures/timeouts surface.

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 coverage is low (25%) — only 'context' is documented — so the description must compensate, and it does partially by enumerating the accepted workload kinds (Deployment/StatefulSet/DaemonSet), which is the key constraint on the undocumented required 'resource_type'. It still says nothing about 'name' formatting or namespace scoping.

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?

Specific verb ('Report') plus the resource class it acts on (Deployment/StatefulSet/DaemonSet rollout completeness). An agent can tell this is the status-check sibling among the rollout_* family without opening the schema, though the description never names the alternative rollout operations to sharpen the contrast.

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 when-to-use guidance at all: nothing says to call this after k8s_rollout_restart, or that pause/resume/undo/history are different questions. There is no statement about polling, waiting, or what to do if the rollout is not yet complete.

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