Skip to main content
Glama

Get Helm Release Revision History

get_helm_release_history
Read-onlyIdempotent

Retrieve a Helm release's revision history newest-first to audit upgrades and rollbacks and identify revision numbers for diffs.

Instructions

List the chronological revision history for one Helm release ordered newest-first.

Returns cluster_id, release, namespace, current_revision, earliest_revision, count, and items (each containing revision, status, chart, app_version, updated, description, and is_current), capped by max_revisions (1-256, default 256). Returns 404 if the release is not found.

Use to audit upgrade/rollback history and choose from_revision/to_revision numbers before calling diff_helm_revisions. Prefer get_helm_release_details to read a specific revision's values/manifests, or get_rollout_history for non-Helm native Deployment/StatefulSet/DaemonSet revisions.

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": {
      "cluster_id": "<cluster_id>",
      "namespace": "<namespace>",
      "release_name": "<release_name>"
    },
    "name": "get_helm_release_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYesTarget Kubernetes namespace name (1-63 chars, e.g. 'default', 'prod'). Use `get_namespaces` to discover available namespaces on the cluster.
cluster_idYesUnique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging').
release_nameYesExact Helm release name inside `namespace` (1-253 chars, e.g. 'ingress-nginx'). Discover installed releases via `get_helm_releases`.
max_revisionsNoMaximum number of historical Helm revisions to return, ordered newest-first (1-256, default 256).

Output Schema

NameRequiredDescriptionDefault
countNoNumber of revisions returned.
itemsNoRevision entries ordered newest-first with revision, status, chart, app_version, updated, description, and is_current.
releaseNoHelm release name.
namespaceNoHelm release namespace.
cluster_idNoCluster identifier queried.
current_revisionNoNewest revision number in the release history.
earliest_revisionNoOldest retained revision number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv0.1.1
    • addedInput schema / properties / cluster_id / description
      Added value: +"Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging')."
    • addedInput schema / properties / cluster_id / maxLength
      Added value: +63
    • addedInput schema / properties / cluster_id / minLength
      Added value: +1
    • addedInput schema / properties / cluster_id / pattern
      Added value: +"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,62}$"
    • addedInput schema / properties / max_revisions / description
      Added value: +"Maximum number of historical Helm revisions to return, ordered newest-first (1-256, default 256)."
    • addedInput schema / properties / max_revisions / maximum
      Added value: +256
    • addedInput schema / properties / max_revisions / minimum
      Added value: +1
    • addedInput schema / properties / namespace / description
      Added value: +"Target Kubernetes namespace name (1-63 chars, e.g. 'default', 'prod'). Use `get_namespaces` to discover available namespaces on the cluster."
    • addedInput schema / properties / namespace / maxLength
      Added value: +63
    • addedInput schema / properties / namespace / minLength
      Added value: +1
    • addedInput schema / properties / namespace / pattern
      Added value: +"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,62}$"
    • addedInput schema / properties / release_name / description
      Added value: +"Exact Helm release name inside `namespace` (1-253 chars, e.g. 'ingress-nginx'). Discover installed releases via `get_helm_releases`."
    • addedInput schema / properties / release_name / maxLength
      Added value: +253
    • addedInput schema / properties / release_name / minLength
      Added value: +1
    • addedInput schema / properties / release_name / pattern
      Added value: +"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,252}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "cluster_id": {
      +      "default": "",
      +      "description": "Cluster identifier queried.",
      +      "title": "Cluster Id",
      +      "type": "string"
      +    },
      +    "count": {
      +      "default": 0,
      +      "description": "Number of revisions returned.",
      +      "title": "Count",
      +      "type": "integer"
      +    },
      +    "current_revision": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Newest revision number in the release history.",
      +      "title": "Current Revision"
      +    },
      +    "earliest_revision": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Oldest retained revision number.",
      +      "title": "Earliest Revision"
      +    },
      +    "items": {
      +      "description": "Revision entries ordered newest-first with revision, status, chart, app_version, updated, description, and is_current.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "title": "Items",
      +      "type": "array"
      +    },
      +    "namespace": {
      +      "default": "",
      +      "description": "Helm release namespace.",
      +      "title": "Namespace",
      +      "type": "string"
      +    },
      +    "release": {
      +      "default": "",
      +      "description": "Helm release name.",
      +      "title": "Release",
      +      "type": "string"
      +    }
      +  },
      +  "title": "HelmReleaseHistoryOutput",
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, non-open-world operation. The description adds useful behavioral context beyond those annotations: newest-first ordering, the max_revisions cap, and a 404 when the release is not found. The return field enumeration is somewhat redundant with the output schema, but the ordering and not-found behavior are valuable additions.

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?

The definition is front-loaded with purpose, then return details, then usage guidance, which is a coherent structure. It is efficient overall, but the long enumeration of return fields is partly duplicative of the output schema and adds some unnecessary length.

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

Completeness5/5

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

Given the rich schema, annotations, and output schema, the description provides everything an agent needs: scope, ordering, cap behavior, 404 handling, and clear routing to sibling tools. No important calling information appears to be missing.

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 description coverage is 100%, so all four parameters are already well documented, including discovery tools for cluster_id, namespace, and release_name. The description adds the newest-first ordering and the effect of max_revisions, but does not add syntax or format details beyond what the schema already provides.

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 verb and resource: list the chronological revision history for one Helm release, ordered newest-first. It also distinguishes the tool from siblings by naming get_helm_release_details, diff_helm_revisions, and get_rollout_history with their different purposes.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: audit upgrade/rollback history and choose from_revision/to_revision numbers before calling diff_helm_revisions. It also states clear alternatives and when to prefer them, including get_helm_release_details for values/manifests and get_rollout_history for non-Helm workloads.

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