Skip to main content
Glama

Stop container

podman_stop_container

Stops a specified Podman container by ID, with an optional timeout, so agents can halt running workloads cleanly.

Instructions

Invoke the stop_container 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": {
      "container_id": "<container_id>"
    },
    "name": "podman_stop_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNo
container_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.3/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, but the description adds nothing beyond them — no mention of graceful shutdown signals, whether the container is force-killed after the timeout, or what happens to a non-running container. For a lifecycle-mutating operation the description carries no behavioral context whatsoever.

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 that is under-specification rather than conciseness; it has no front-loaded purpose, no scope, and no useful content to structure.

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?

With two undocumented parameters, no output schema, and only minimal annotations, the description needed to supply purpose, timeout semantics, and expected effect. It supplies none of these, leaving the agent unable to invoke the tool correctly without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description was the only place to explain container_id and timeout. It says nothing — not even that timeout is in seconds, nor what the default of 10 means operationally.

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 'Invoke the stop_container operation' merely restates the tool name and title, adding no specific verb-plus-resource information beyond what 'podman_stop_container' already conveys. It gives no basis for distinguishing this from siblings such as docker_stop_container, k8s_stop_container, or podman_pod_stop.

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 guidance on when to use this tool, when to prefer a sibling runtime's stop, or what prerequisites (e.g., container must exist/running) apply. The agent must infer everything from the name alone.

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