Skip to main content
Glama

start_container

Start a stopped container to resume its operation. Use this to restart containers that were previously stopped without recreating them.

Instructions

Start an existing stopped container.

Use this to restart a container that was previously created or stopped without removing it. To create and start a new container in one step use run_container instead. Calling on an already-running container has no effect (the daemon returns 304 and no error is raised). To stop then start a running container use restart_container.

args: id_or_name - Container id (full or short) or name returns: dict - The container's full attrs after starting

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
id_or_nameYes
Behavior5/5

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

Discloses idempotent behavior on already-running containers (returns 304, no error), which goes beyond the readOnlyHint and destructiveHint annotations. Also describes args and returns.

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

Conciseness5/5

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

Perfectly concise: two short paragraphs plus args/returns. Every sentence adds value. Information is front-loaded with purpose and usage first.

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

Completeness5/5

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

All necessary context is provided: purpose, usage guidance, behavioral traits, parameter meaning, and return type. No gaps remain for a simple start tool.

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

Parameters5/5

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

With 0% schema coverage, the description fully explains the parameter 'id_or_name' with its type (id or name) and that it is required. The arg description compensates entirely for the missing schema documentation.

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

Purpose5/5

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

Clearly states 'Start an existing stopped container' with a specific verb and resource. Differentiates from siblings like run_container and restart_container.

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

Usage Guidelines5/5

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

Explicitly provides when to use (stopped containers) and when not (use run_container for new containers, restart_container for stop-then-start). Includes alternative tool names.

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/GavinLucas/docker-mcp'

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