Skip to main content
Glama

upgrade_ako_config

Preview and apply an AKO Helm upgrade for the avi-system release; review blast radius and dry-run output before confirming the change.

Instructions

[WRITE] Apply an AKO Helm upgrade to the avi-system release.

Finds the avi-system release automatically and upgrades the Broadcom OCI chart with --reuse-values. Without confirm=True this only previews: it returns blast_radius (release, the chart and app version it is on, revision and status, the chart it would move to) plus helm_dry_run, the output of helm upgrade --dry-run, and changes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user asked earlier: they have not seen what it changes yet.

Refused with confirm=True: a failing dry-run (the real upgrade would fail too), a release with another helm operation pending, and a release whose status cannot be read. Helm output has credential values blanked to <redacted> by this skill. Run diff_ako_config first to review the change.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upgrade_ako_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoFalse (default) returns the blast radius and changes nothing. True applies it.
chart_versionNoPin the chart, e.g. "1.11.1". Empty = registry latest, resolved at apply time, so it can differ from the preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.5.2
    • removedInput schema / properties / confirmed
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Deprecated alias for confirm; removed in the next minor release. confirmed=False holds even when confirm=True.",
      -  "title": "Confirmed"
      -}
    • removedInput schema / properties / dry_run
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Deprecated alias; removed in the next minor release. The old contract applied only with dry_run=false and confirmed=true; dry_run=true holds even when confirm=True.",
      -  "title": "Dry Run"
      -}
  2. Addedv2.4.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes much further by specifying that the default path is a non-mutating preview returning blast_radius and helm_dry_run output. It also discloses refusal conditions (failing dry-run, pending helm operation, unreadable status) and that credentials are blanked to `<redacted>`, none of which is recoverable from the annotations.

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?

Front-loaded with the [WRITE] tag and the verb, then preview semantics, then the user-consent rule, then refusals — a sensible ordering. Slightly long, and "changes nothing" is restated after already saying it "only previews," but nothing is genuinely wasteful.

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?

With no output schema, the description carries the return-value burden and does so: it names blast_radius fields (release, chart, app version, revision, status, target chart) and helm_dry_run. For a two-parameter, open-world, non-idempotent write operation, an agent has everything needed to call it correctly and safely.

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?

Schema coverage is already 100%, so the baseline is 3, but the description adds real behavioral meaning: confirm gates preview vs. apply, and the chart_version caveat that an empty value resolves registry-latest at apply time so the applied chart "can differ from the preview" is surfaced in the body text too. The human-in-the-loop constraint on confirm is a semantic not expressible in 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?

Opens with a specific verb and resource: "Apply an AKO Helm upgrade to the avi-system release," plus the exact mechanism (--reuse-values, Broadcom OCI chart). It is clearly distinguishable from siblings like diff_ako_config or restart_ako because it names the concrete action and target.

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?

Explicit sequential guidance: "Run diff_ako_config first to review the change," show the preview to the user, obtain explicit decision, and the negative instruction "Do not set confirm=True on your own." It also enumerates the three cases where confirm=True is refused, which tells the agent when the call will fail rather than proceed.

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