Skip to main content
Glama
mjrestivo16
by mjrestivo16

k8s_update_deployment_image

Update container images in Kubernetes deployments to deploy new versions or fix issues. Specify deployment name, container, and new image tag.

Instructions

Update the container image of a deployment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDeployment name
namespaceNoNamespace
containerYesContainer name
imageYesNew image (e.g., nginx:1.21)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Update' implies a mutation, it doesn't disclose critical behavioral traits: whether this triggers a rolling update, what permissions are required, potential downtime implications, or how the update interacts with existing deployment strategies. For a Kubernetes deployment mutation tool, this leaves significant gaps in understanding the tool's behavior.

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 a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for a tool with a clear, focused function and gets straight to the point without unnecessary preamble or elaboration.

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

Completeness2/5

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

For a Kubernetes deployment mutation tool with no annotations and no output schema, the description is insufficiently complete. It doesn't address critical context like: what happens after the update (does it return status?), whether this is a safe operation, what error conditions might occur, or how it interacts with deployment strategies. The combination of mutation functionality and lack of structured documentation creates significant gaps.

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 the schema already documents all four parameters with clear descriptions. The description adds no additional parameter semantics beyond what's in the schema - it doesn't explain parameter relationships, format requirements beyond the schema's 'e.g., nginx:1.21' example, or constraints on valid image references.

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?

The description clearly states the action ('Update') and target ('container image of a deployment'), providing a specific verb+resource combination. It distinguishes this from sibling tools like k8s_restart_deployment or k8s_scale_deployment by focusing specifically on image updates rather than other deployment modifications.

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?

The description provides no guidance on when to use this tool versus alternatives. There are multiple sibling tools that modify deployments (k8s_restart_deployment, k8s_scale_deployment, k8s_rollout_undo), but the description doesn't explain when image updates are appropriate versus other deployment changes or how this differs from k8s_apply_manifest which could also update images.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjrestivo16/mcp-kubernetes'

If you have feedback or need assistance with the MCP directory API, please join our Discord server