Skip to main content
Glama

Upgrade Template

upgrade_template
Destructive

Upgrade an installed release to a new version and/or updated values. Identify the release by name only — the template and GVC are immutable and read from the installed release, so you do NOT pass them. Omit version to move to the latest available. values REPLACE the release's current values entirely (no merge) — start from the currently applied values (CLI: cpln helm get values <name> --all), not the template example. Verify with get_installed_template after. Recommended reading before first use: get_cpln_skill("template-catalog") — the runbook for this tool family (read once per session).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgYesOrganization slug (lowercase kebab-case). NEVER guess — if the user has not named one, ask. On org-not-found, stop and ask; do not retry variants.
nameYesRelease name — the unique, immutable identifier for this installed instance within the org.
valuesYesThe complete values.yaml for the release going forward — it REPLACES the currently applied values entirely (there is no reuse-values merge). Start from the release's CURRENT values (CLI: `cpln helm get values <RELEASE> --all`; there is no MCP path), not the template example, or previously customized settings silently fall back to defaults.
versionNoTarget version to upgrade to. Omit for the latest available version.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the call succeeded.
dataNoThe full machine-readable result — list rows, the resource object, query results. Read THIS, not just the summary.
summaryYesOne-line summary of the result.
nextStepsNoRecommended follow-up actions for this task, in order.

TDQS

A4.7/5.0
Behavior5/5

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

The annotations include destructiveHint=true, and the description goes beyond this by stating the exact destructive behavior: 'values REPLACE the release's current values entirely (no merge).' It adds a concrete safety workflow: start from the currently applied values, not the template example, and verify afterward. This is rich behavioral transparency.

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 but each sentence earns its place. It front-loads the core purpose, then adds the immutable-identity constraint, the version default, the destructive replacement warning with remediation, and a verification step. No filler or redundant text; the tool-family reading recommendation is useful and brief.

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?

For a destructive upgrade operation, the description and schema together cover required parameters, destructive replacement behavior, how to source current values, what to omit for latest, and how to verify success. The output schema is present, so return-value detail does not need to be in the description. This is complete for an agent to use the tool safely.

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?

The input schema already covers all 4 parameters with detailed descriptions (100% coverage), so the description does not need to restate basic meanings. It adds valuable semantics beyond the schema: the release is found by name only, template/GVC are immutable, version omission means latest, and the replacement semantics for values. That is meaningful added context above the schema.

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 opens with a specific verb and resource: 'Upgrade an installed release to a new `version` and/or updated `values`.' It clearly distinguishes this from install/uninstall by emphasizing the release is already installed and that template/GVC are immutable and read from the installed release. This removes ambiguity against sibling tools like install_template and get_installed_template.

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 conveys strong usage context: it tells the agent to identify releases by name only, to omit version for latest, to use current values rather than template examples, and to verify with get_installed_template after. It does not explicitly name install_template as the alternative for new installs, but the phrase 'installed release' and the immutable template/GVC note make the install-versus-upgrade boundary clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Every tool targets a distinct resource/action pair (e.g., get_resource vs get_resource_schema, list_deployments vs list_workload_replicas) and descriptions clearly differentiate purposes. No two tools appear to do the same thing.

Naming Consistency5/5

All tools follow a verb_noun snake_case pattern (create_gvc, update_workload, list_resources, query_metrics) with consistent verbs. The few imperative verbs (browse, build, mount) still maintain the same verb-first structure.

Tool Count1/5

With 55 tools, this server far exceeds the typical well-scoped 3-15 tool range. While each tool appears purposeful, the sheer number creates selection overhead and falls into the extreme 50+ category on the rubric.

Completeness4/5

The surface covers nearly the full Control Plane lifecycle: CRUD for GVC, workload, identity, policy, volumeset, and domain, plus observability, templates, image builds, and Terraform. Minor gaps include referenced but missing configure_workload_* tools and no secret creation/deletion (by design).