Skip to main content
Glama

container_pause

Pause all processes in a Docker container by providing its ID or name, returning the container's attributes after pausing.

Instructions

Pause all processes in a container.

args: id_or_name - The container id or name returns: dict - The container's attrs after pause

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
id_or_nameYes
Behavior3/5

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

Annotations indicate a non-readonly, non-destructive operation, and the description adds that it pauses processes and returns the container attributes after pause. However, it does not disclose that the container must be running, that pause may not be supported on all runtimes, or that the operation is reversible via unpause.

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

Conciseness4/5

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

The description is short and direct, with the main purpose stated first. The additional pseudo-docstring adds some structure but could be integrated more cleanly. Overall, it is efficiently sized with little wasted space.

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

Completeness3/5

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

Given the lack of output schema, the description does mention the return type (dict with attrs). However, it omits important context such as that the container must be running, the pause effect is temporary, and the need for unpause to resume. For a simple tool this is borderline adequate but could be more helpful.

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?

The single parameter `id_or_name` has no schema description, so the description's 'args: id_or_name - The container id or name' adds minimal value beyond stating the obvious. The format or constraints are not elaborated.

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?

The description clearly states the action ('Pause all processes') and the resource ('in a container'). It distinguishes itself from siblings like container_stop or container_kill by using 'pause' and from compose_pause by targeting a single container.

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 pause vs alternatives like stop, kill, or unpause. No prerequisites or conditions are mentioned, leaving the agent without context for appropriate invocation.

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