Skip to main content
Glama

Prune containers

podman_prune_containers
Destructive

Remove stopped or unused Podman containers to reclaim disk space and keep container environments clean.

Instructions

Invoke the prune_containers operation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "podman_prune_containers"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered by structured data. The description contributes nothing beyond that: it does not say what gets destroyed (stopped containers vs all), whether removal is irreversible, or what the result reports.

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

Conciseness2/5

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

One short sentence, but its brevity reflects under-specification rather than discipline; every word is redundant with the tool name, so the sentence does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With full schema coverage, annotations marking the destructive profile, and no output schema, the minimum needed to invoke the tool correctly is present in structured fields. The description itself adds nothing for a genuinely destructive operation, leaving the reader to infer which containers are affected.

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%, and the single confirm parameter is fully documented in the schema as an explicit confirmation for a destructive operation. The description adds no meaning on top, so the baseline 3 applies.

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

Purpose2/5

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

The description reads 'Invoke the prune_containers operation,' which merely restates the tool name and title rather than stating what pruning does (removing stopped containers) or which resource it targets. An agent learns nothing beyond what the identifier already conveys.

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 when-to-use guidance is given. It never explains the difference between this and podman_prune_images, podman_prune_volumes, podman_prune_networks, or podman_prune_system, nor does it warn against running it while containers are active.

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