Skip to main content
Glama

ako_restart

Destructive

Restart the AKO pod to recover from stuck states or apply configuration changes. Deletes the pod so the StatefulSet recreates it; confirmation required for execution.

Instructions

[WRITE] Restart the AKO pod by deleting it — its StatefulSet recreates it.

Returns a one-line result. Use when AKO is stuck or after config changes; brief traffic disruption is possible. Run ako_status afterwards, and ako_logs if the pod is not Running.

SAFETY: requires confirmed=True; without it you get a preview only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNoK8s context name (optional).
confirmedNofalse (the default) returns a preview and changes nothing; true deletes the AKO pod. The StatefulSet recreates it, so this is a restart rather than a removal, but ingress programming pauses until the new pod is Running and brief traffic disruption is possible.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.14
  2. Removedv1.8.8
  3. Addedv1.5.29
  4. Removedv1.5.28
  5. First observedv1.5.22

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses the deletion-and-recreation mechanism, preview behavior without confirmed=True, possibility of traffic disruption, and expected post-restart workflow. This is strong behavioral transparency that matches and enriches 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact, front-loaded with the core action, and organized into clear sections: action, result, use cases, follow-up, and safety. Every sentence adds value with no wasted words.

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 restart tool with annotations and schema coverage, the description supplies all needed context: how the restart works, what changes require confirmation, what side effects occur, and what to do next. No critical operational detail is missing.

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 100%, so baseline is 3. The description adds meaningful semantics for the confirmed parameter: false returns a preview and changes nothing, while true deletes the pod and triggers recreation. This goes beyond the schema description.

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 clearly states the action: restarting the AKO pod by deleting it, with the StatefulSet recreating it. This verb-object-resource structure is specific and distinguishes it from sibling AKO tools like ako_status and ako_logs.

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 gives explicit use cases ('Use when AKO is stuck or after config changes') and prescribes follow-ups (run ako_status, then ako_logs if not Running). It does not provide explicit when-not-to-use guidance or alternatives, so it stops just short of a 5.

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