Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

rollout_undo_deployment

Roll back a Deployment rollout to a specified revision or the previous one in OpenShift.

Instructions

Undo a Deployment rollout, optionally to a specific revision.

Args: name: Deployment name. namespace: Namespace (default: "default"). revision: Target revision number (0 = previous revision). cluster: Named cluster to target (empty = default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
clusterNo
revisionNo
namespaceNodefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A3.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It only says 'Undo' and explains the revision parameter; it does not state that this mutates the Deployment's pod template, triggers a new rollout, or has potentially disruptive side effects. For a mutation operation this is a notable gap.

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 compact and well-structured: one clear purpose sentence followed by a minimal Args list. Every line contributes parameter information, with no redundant prose or filler.

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

Completeness3/5

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

Given the simple parameter set and presence of an output schema, the description is minimally adequate for invocation. However, it lacks side-effect disclosure and any context about when undo is appropriate versus related rollout operations, which is important for a mutating cluster tool.

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

Parameters5/5

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

The schema has no property descriptions (0% coverage), and the Args section fully compensates by explaining each parameter: Deployment name, namespace default, revision semantics ('0 = previous revision'), and cluster targeting. This adds real meaning beyond the raw schema's type/default declarations.

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 states a specific action verb and resource: 'Undo a Deployment rollout'. This clearly distinguishes it from related sibling tools like rollout_restart_deployment or rollout_status_deployment, since 'undo' denotes a rollback operation rather than a restart or status check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Undo a Deployment rollout, optionally to a specific revision' implies the intended use case, but the description never explicitly says when to prefer this tool over alternatives, nor does it mention any prerequisites or exclusions such as requiring rollout history. Guidance is present but only implied.

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