Skip to main content
Glama

restart_deployment

Perform a rolling restart of a deployment by updating its pod template annotation. This causes all pods to be recreated.

Input Schema

NameRequiredDescriptionDefault
dry_runNoIf true, preview the change without executing it.
namespaceYesKubernetes namespace where the deployment is located.
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.
deployment_nameYesName of the deployment to restart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=false), the description discloses the mechanism (pod template annotation update) and its consequence (all pods are recreated), which is the key disruptive side effect an agent needs. It stops short of covering reversibility, rollback, or timing/rollout-wait behavior, and nothing contradicts 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?

Two tight sentences, zero filler, with the action and its consequence front-loaded.

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

Completeness4/5

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

For a mutation tool with no output schema, the description explains the trigger and the resource-level effect, which is the critical missing context. It could add a note on expected downtime/rollout duration or that the change is safe to repeat, but the essentials are present.

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 coverage is 100%, so namespace, cluster_id, deployment_name, and dry_run are all documented in the schema; the description adds no extra parameter meaning. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('rolling restart of a deployment') and even the underlying mechanism, so the agent knows exactly what the call does. It does not, however, explicitly distinguish itself from nearby mutation siblings such as scale_deployment, delete_pod, or redeploy_stack.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of prerequisites or cluster/auth requirements, and no routing to alternatives (e.g., scale_deployment when the goal is replicas rather than pod rotation). Usage can only be inferred from the tool name and the mechanism sentence.

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.

Resources