Skip to main content
Glama

Podman generate kube yaml

podman_generate_kube_yaml

Generates Kubernetes YAML from a Podman pod, with optional namespace, to deploy or inspect it as Kubernetes resources.

Instructions

Generate Kubernetes YAML via podman generate kube.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pod_name": "<pod_name>"
    },
    "name": "podman_generate_kube_yaml"
  }
}

Input Schema

NameRequiredDescriptionDefault
pod_nameYes
namespaceNodefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false. The description adds nothing beyond that: it doesn't say whether anything is written to disk, what the returned YAML covers, or whether a running pod is required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

A single short sentence with no filler, but that brevity comes at the cost of substance—it reads like a name restated rather than an informative definition. Front-loading is fine; there is simply very little there.

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?

With no output schema, 0% parameter coverage, and only generic annotations, the description carries the full burden and omits essentials: what the generated YAML represents (pod, containers, volumes, ports), whether it is printed or persisted, and what 'namespace' affects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, so the description must compensate and does not. Neither pod_name (the pod to convert) nor namespace (defaulting to 'default') is explained, leaving the agent to infer both from names alone.

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

Purpose3/5

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

The description states a verb and resource ('Generate Kubernetes YAML') but only by restating the tool name and echoing the underlying CLI command. It does not say what the YAML is generated from (a pod, per pod_name) or how it differs from podman_play_kube_yaml, which is its natural counterpart.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (an existing pod), and no routing to or away from siblings such as podman_play_kube_yaml. The bare CLI reference implies usage but does not guide it.

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

Deploy Server

Other Tools