Skip to main content
Glama

Leave swarm

podman_leave_swarm

Leave the current Podman swarm, optionally forcing removal or confirming the destructive operation when the client cannot answer prompts.

Instructions

Invoke the leave_swarm 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_leave_swarm"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, but the description adds nothing: it doesn't say the node is removed from the cluster, what happens to running workloads, whether it's reversible, or what force does. This is especially problematic because the schema's confirm parameter calls this a "destructive operation" while destructiveHint is false, and the description does nothing to clarify the real risk profile.

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 it is under-specification rather than conciseness; it wastes the only sentence available on restating the name. Nothing is front-loaded because there is no substantive content.

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 cluster-mutating operation with no output schema, a thin annotation set that conflicts with the schema's own destructive wording, and an undocumented force parameter, the description is wholly inadequate. An agent cannot judge consequences or parameter effects from it.

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%: confirm is documented in the schema, but force has no description anywhere. The description does not compensate by explaining what force does (e.g., skip graceful shutdown or leave even when the node is a manager).

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?

"Invoke the leave_swarm operation" is a tautology that restates the tool name and title without stating what the operation actually does to a swarm node. It offers no differentiation from siblings such as docker_leave_swarm or docker_swarm_leave, and never names the resource (a node leaving a swarm).

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 guidance, no prerequisites, and no mention of alternatives. An agent gets no signal about when leaving a swarm is appropriate versus other swarm operations like podman_init_swarm or the docker_* equivalents.

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