Skip to main content
Glama

Podman pod logs

podman_pod_logs

Retrieve aggregated logs from a Podman pod to debug multi-container issues. Specify the pod name and an optional tail line count for focused troubleshooting.

Instructions

Get pod logs via podman pod logs (not in podman-py).

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_pod_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pod_nameYes
tail_linesNo

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 destructiveHint=false and openWorldHint=true, so the safety bar is lower, but the description adds only the fact that it shells out to the podman CLI. It says nothing about behavior an agent needs: whether logs are a static snapshot or streamed, how multi-container pods are handled, or what happens when the pod is missing. It also does not reconcile the retrieval-sounding "Get" with readOnlyHint=false.

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?

A single short sentence with the main action front-loaded; nothing is padded. The trailing "(not in podman-py)" is marginally useful trivia but not essential to invocation.

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 log-retrieval tool with no output schema and undocumented parameters, the description should say what comes back and under what conditions it fails. None of that is present, leaving an agent unable to predict the response shape or truncation behavior.

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 carries the full burden and fails to compensate. It never explains pod_name expectations or that tail_lines caps output to the last N lines (default 100), which is the non-obvious parameter.

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?

Names a specific verb and resource ("Get pod logs") and pins the exact underlying command, so an agent knows this retrieves logs for a pod rather than a container or service. It does not explicitly contrast with siblings such as podman_get_container_logs or podman_service_logs, so differentiation rests on the name alone.

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 choose pod logs over container logs or compose/service logs, and no stated preconditions (pod must exist, podman binary available). The parenthetical "(not in podman-py)" is an implementation note, not usage guidance.

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