Skip to main content
Glama
jahrulnr

mcp-docker-agentic

by jahrulnr

docker_exec_kill

Terminate background Docker exec jobs by sending signals like SIGTERM or SIGKILL, with optional cleanup of associated log directories.

Instructions

Send a signal to a background job started with docker_exec background=true. Optionally remove the job log directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesThe job_id returned by docker_exec background=true.
signalNoSignal name or number to send to the process group (e.g. SIGTERM, SIGKILL).SIGTERM
cleanupNoRemove the job log directory after signaling.
Behavior3/5

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

With no annotations provided, the description must carry the transparency burden. It discloses the target background job and optional cleanup, but omits behavioral details like the signal being sent to the process group, the default SIGTERM, or that cleanup permanently removes the log directory. This leaves gaps about the tool's full effects.

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?

The description is two concise sentences, front-loaded with the primary action and followed by the optional cleanup. Every word earns its place, with no redundancy or filler.

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

Completeness4/5

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

For a simple tool with 3 well-documented params and no output schema, the description covers the key prerequisite (background job from docker_exec background=true) and the optional cleanup. It does not mention return values or error behavior, but these are not critical for a control operation like signaling a job.

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?

The schema provides 100% description coverage for all three parameters, so the baseline is 3. The description adds little beyond what the schema already states (e.g., the cleanup option), and repeats the context for job_id without additional semantic enrichment.

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?

Description clearly states a specific action ('Send a signal') targeting a specific resource ('background job started with docker_exec background=true'), and the optional cleanup. This distinguishes it from sibling tools like docker_exec (starting jobs) and docker_exec_result (retrieving output), making the purpose unambiguous.

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

Usage Guidelines4/5

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

Provides clear context by specifying it applies to background jobs launched with docker_exec background=true. However, it does not explicitly state when not to use this tool or name alternative tools for interactive sessions, so it stops short of full guidance.

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

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