Skip to main content
Glama

Podman play kube yaml

podman_play_kube_yaml

Apply Kubernetes YAML files via podman play kube to create and start Podman pods and containers from manifest definitions.

Instructions

Apply a Kubernetes YAML via podman play 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": {
      "yaml_path": "<yaml_path>"
    },
    "name": "podman_play_kube_yaml"
  }
}

Input Schema

NameRequiredDescriptionDefault
yaml_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.7/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, so the safety profile is partly covered. The description adds nothing beyond restating the command: it does not say that pods/containers/networks get created, whether re-applying is idempotent, or what happens if named resources already exist.

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

Conciseness4/5

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

One short sentence with no filler, and the key operation is front-loaded. It is efficient, though the brevity borders on under-specification rather than true conciseness.

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?

This is a mutating deployment tool with no output schema, 0% parameter coverage, and only partial annotation coverage, yet the description does not say what gets created or what the result looks like. For a tool that can spin up multiple pods and containers from a manifest, that leaves significant gaps.

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% and the single parameter yaml_path has no schema description at all. The description only says "Kubernetes YAML" and never clarifies that the value is a filesystem path, whether relative paths, URLs, or "-" for stdin are accepted, or what file formats are supported.

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 gives a specific verb and resource ("Apply a Kubernetes YAML") and names the underlying command, so the agent knows it deploys manifests rather than generating them. It does not explicitly contrast with the sibling podman_generate_kube_yaml, which is the natural inverse operation, so it falls short of a 5.

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 guidance on when to use this versus podman_generate_kube_yaml or the compose/service tools, and no prerequisites (e.g., requiring a running Podman machine or kube play support) are stated. The only usage signal is the implied "you have a YAML file".

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