Skip to main content
Glama
jahrulnr

mcp-docker-agentic

by jahrulnr

docker_interactive_close

Terminate and remove an active interactive Docker session started with exec, ending the process and freeing resources.

Instructions

Kill and remove an interactive Docker session started with docker_interactive_exec.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. 'Kill and remove' explicitly states the destructive nature and identifies the affected resource as an interactive Docker session. It stops short of detailing failure modes or permission requirements, but the core behavior is transparent.

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 a single, front-loaded sentence with no filler or redundancy. Every word contributes to the tool's purpose and scope.

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 one-parameter destructive close tool, the description adequately conveys what the tool does and when to use it. A brief note on where to obtain the session_id (e.g., from docker_interactive_list) would make it more complete, but it is not critically missing.

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 only the name 'session_id' with a type and minLength, and the description does not explicitly describe the parameter. However, the phrase 'started with docker_interactive_exec' implies the session ID comes from that flow, giving some contextual meaning beyond the bare schema.

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 uses a specific verb phrase 'Kill and remove' with a clear resource type ('interactive Docker session') and explicitly ties it to sessions started with docker_interactive_exec. This clearly distinguishes it from generic siblings like docker_close or docker_exec_kill.

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?

The description provides clear usage context by stating the tool is for sessions created via docker_interactive_exec. It does not explicitly mention exclusions or alternatives such as docker_close, but the intended use case is unambiguous.

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