Skip to main content
Glama
mjrestivo16
by mjrestivo16

k8s_apply_manifest

Apply YAML or JSON manifests to Kubernetes clusters to deploy, update, or manage resources like pods, deployments, and services.

Instructions

Apply a YAML or JSON manifest to the cluster

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
manifestYesYAML or JSON manifest content
namespaceNoNamespace to apply to
dry_runNoPerform a dry-run without making changes
Behavior2/5

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

No annotations are provided, so the description carries full burden. 'Apply' implies a mutation operation that could create or update resources, but the description doesn't disclose critical behavioral traits like required permissions, whether it's idempotent, what happens on conflicts, or typical response formats. This leaves significant gaps for an agent to understand how to use it safely.

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 states the core functionality without unnecessary words. It's appropriately sized and front-loaded with the essential information.

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?

Given that this is a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain what 'apply' means in Kubernetes context (create/update), what permissions are needed, what happens on errors, or what the tool returns. For a tool that modifies cluster state, this leaves too many unknowns.

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 all parameters are documented in the schema. The description mentions 'YAML or JSON manifest' which aligns with the 'manifest' parameter, but adds no additional semantic context beyond what's already in the schema descriptions. This meets the baseline for high schema coverage.

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 ('Apply') and resource ('YAML or JSON manifest to the cluster'), making the purpose immediately understandable. However, it doesn't distinguish this from sibling tools like k8s_create_configmap or k8s_update_deployment_image, which also create/update resources in Kubernetes.

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?

No guidance is provided about when to use this tool versus alternatives. With many sibling tools for creating specific resources (e.g., k8s_create_configmap) or updating deployments (k8s_update_deployment_image), the description offers no context about whether this is for general manifest application versus specific operations.

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