Skip to main content
Glama

Remove network

podman_remove_network
Destructive

Removes a Podman network by its ID to clean up unused or conflicting container networks. Requires network_id; optionally confirm the destructive action.

Instructions

Invoke the remove_network operation.

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": {
      "network_id": "<network_id>"
    },
    "name": "podman_remove_network"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is structured. The description adds nothing on top: it doesn't say what is destroyed, what happens to containers attached to the network, whether the operation is idempotent, or whether any confirmation or auth is required beyond the schema's confirm flag.

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 technically concise with no filler, but it is under-specified rather than efficient—it conveys no information an agent could not already read from the tool name and annotations, 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.

Completeness2/5

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

For a destructive two-parameter operation with no output schema and half its parameters undocumented, the description should at minimum explain the target identifier format, confirmation behavior, and effect on attached containers. None of this is present, leaving significant gaps for an agent about to perform an irreversible action.

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 50%: the 'confirm' parameter is documented in the schema, but the required 'network_id' has no description anywhere. The description does not compensate by clarifying what network_id accepts (name, short ID, full ID) or when the confirm flag should be set, leaving the required parameter semantically undefined.

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 is essentially a restatement of the tool name: 'Invoke the remove_network operation' says nothing beyond 'this removes a network.' It gives no indication of scope (driver, name vs id, whether containers attached to the network are affected) and does not distinguish it from sibling options like docker_remove_network or k8s_remove_network.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g., the network must exist or be empty), and no routing to alternatives. The only hint of usage is the word 'remove' in the name, which the agent must infer from.

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