Skip to main content
Glama

Podman pod stats

podman_pod_stats

Retrieve resource usage statistics for a specified Podman pod by name to monitor CPU, memory, and network performance.

Instructions

Get pod stats via podman pod stats (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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
pod_nameYes

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 state readOnlyHint=false, destructiveHint=false, and openWorldHint=true; the description only adds that the call shells out to the podman CLI, implying a local CLI dependency and external process execution. It never explains why a stats read is marked non-read-only, whether it blocks or samples over time, or what happens on error, which is exactly the context annotations cannot supply.

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 resource named up front and no filler; every clause carries information. It is arguably too terse rather than too verbose, but structurally it is clean and front-loaded.

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, the description is the only place that could say what the stats contain (CPU, memory, network, per-container breakdown) or their shape, and it says nothing. Combined with zero parameter documentation and an unexplained non-read-only annotation, the definition is too thin for an agent to call this confidently.

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 the single required parameter, pod_name, and the description does not compensate by stating whether it accepts a pod name, ID, or prefix, or whether it must be exact. The one parameter that determines success or failure is left entirely undocumented.

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 names a specific verb and resource ('Get pod stats') and identifies the underlying implementation ('podman pod stats'), so the agent knows exactly what the tool reports. It does not distinguish itself from plausible siblings such as podman_pod_top or podman_pod_inspect, which is the only thing keeping it from 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 choose this tool versus podman_pod_top, podman_pod_inspect, or the k8s metrics tools. The parenthetical '(not in podman-py)' explains why the tool exists technically, not when an agent should invoke it, and no prerequisites or exclusions are stated.

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