Skip to main content
Glama

Prune system

podman_prune_system
Destructive

Remove unused Podman containers, images, volumes, and networks to reclaim disk space; supports force and confirmation for destructive cleanup.

Instructions

Invoke the prune_system 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_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
forceNo
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

D1.7/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 structurally. The description adds nothing on top: it does not say the operation is irreversible, what gets deleted, whether running containers are safe, or how the confirmation flow behaves. It does not contradict the annotations, but it is pure filler.

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?

The single sentence is short but is under-specification rather than conciseness — it spends its one clause repeating the tool name. Nothing is front-loaded because nothing informative is present.

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

Completeness1/5

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

For a destructive, irreversible, open-world mutation with three parameters and no output schema, the description omits scope of deletion, irreversibility, permission requirements, and confirmation semantics. Everything an agent needs to call this safely is missing from the description and largely missing from the schema.

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 coverage is only 33%: only 'confirm' carries a description, while 'all' and 'force' are bare booleans with defaults. The description explains none of them, so the agent gets no meaning for 'all' (prune everything vs. only stopped/unused) or 'force' (skip prompts?) beyond the property names.

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 only restates the tool name: "Invoke the prune_system operation" adds no verb or resource beyond what podman_prune_system already conveys. It never says what 'system prune' actually removes (stopped containers, dangling images, unused networks/volumes), so an agent cannot distinguish it from the sibling prune_containers / prune_images / prune_networks / prune_volumes tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no when-not-to-use, and no mention of the narrower prune siblings that an agent should prefer for scoped cleanup. The definition gives no basis for choosing this tool over podman_system_prune or any per-resource prune variant.

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