Skip to main content
Glama

docker_container_processes

Read-onlyIdempotent

List the processes running inside a Docker container by providing its ID or name, so you can inspect active workloads and diagnose runtime activity.

Instructions

List the processes running in a Docker container

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": "docker_container_processes"
  }
}

Input Schema

NameRequiredDescriptionDefault
container_idYesContainer ID or name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered. The description adds nothing beyond that: it does not say what a stopped or missing container yields, whether output resembles `docker top`, or what the process listing contains, even though the presence of an output schema lowers the bar only slightly.

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?

A single front-loaded sentence with no wasted words. It is efficient, though its brevity is partly the source of the gaps in the other dimensions rather than a virtue of tight structuring.

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?

For a one-parameter read tool with annotations and an output schema, the definition is minimally sufficient to call correctly. It omits the one operationally important fact — behavior against a non-running container — leaving the agent to discover failure modes at call time.

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

Parameters3/5

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

With a single parameter at 100% schema description coverage ('Container ID or name'), the schema already carries the semantics. The description adds no further meaning about identifier formats or resolution behavior, so the baseline 3 applies.

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?

States a specific verb and resource: 'List the processes running in a Docker container'. This clearly separates it from sibling tools such as docker_container_stats or docker_container_inspect, which report metrics or configuration rather than processes. It stops short of an explicit contrast, so it lands at 4 rather than 5.

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 guidance on when to pick this over docker_container_stats (resource usage) or docker_container_inspect (config), nor any note about prerequisites such as the container needing to be running. The purpose sentence implies usage but provides no conditions or alternatives.

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