Skip to main content
Glama

stop_container

Stop a running Docker container by specifying its container name.

Instructions

User will pass the container name that we need to stop Args: container_name: Docker Container name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
container_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It only states 'stop' but does not explain side effects (e.g., container state change, potential data loss), idempotency, or error conditions. This is insufficient for a mutation tool.

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

Conciseness3/5

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

The description is short (two lines) but contains redundancy ('User will pass the container name' and 'Args: container_name: Docker Container name'). It is not well-structured (no bullet points or separation) but is minimally adequate.

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?

Despite the tool's simplicity, the description omits important context such as expected output (though an output schema exists), error handling, and any behavioral notes. It feels incomplete for a production tool.

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?

The description merely repeats the parameter name and purpose already evident from the input schema (type string, title 'Container Name'). It adds no additional constraints, examples, or format details. Given 0% schema coverage, the description should compensate but fails to do so.

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

Purpose4/5

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

The description clearly states the action (stop) and resource (container) with the required parameter (container_name). It is unambiguous but lacks detail on what stopping entails or how it differs from sibling tools like container_restart.

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 guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites (e.g., container must exist and be running), exclusions, or typical scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Theo-Gkisis/dockhand'

If you have feedback or need assistance with the MCP directory API, please join our Discord server