Skip to main content
Glama

Disconnect SSH session

termix_docker_disconnect_ssh_session

Disconnect an active SSH session tied to Docker operations. Terminate the connection to free resources and end remote access.

Instructions

Disconnect SSH session. Closes an active SSH session for Docker operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false) already indicate a state-changing, non-idempotent action, so the bar is lower. The description adds the qualifier that it closes an *active* SSH session and scopes it to Docker operations, which provides useful context beyond the annotations. It does not describe side effects or behavior on non-active sessions, but this is acceptable given the annotations.

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 short, direct sentences with no filler. The core action ('Disconnect SSH session') is front-loaded, and the clarifying scope ('for Docker operations') follows immediately. Every word earns its place.

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 simple one-parameter, no-output-schema tool, the description is minimally viable. However, it omits guidance on where to find sessionId, what happens if the session is already closed, and whether this invalidates Docker-related state. It is not misleading, but it leaves several practical questions unanswered for an agent.

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 input schema has 0% description coverage and the description does not explain the sessionId parameter: no format, source, or optionality. The parameter name is somewhat self-evident from the tool title, but the description fails to compensate for the schema gap by specifying where an agent might obtain a valid sessionId.

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?

The description states a clear verb and resource: disconnect and close an SSH session, specifically scoped to Docker operations. It is distinguishable from other disconnect tools like termix_files_disconnect_ssh and termix_tunnels_disconnect_ssh_tunnel via the 'for Docker operations' phrase, though it does not explicitly name a sibling alternative.

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 use this tool versus related tools such as termix_docker_establish_ssh_session_docker, keep_ssh_session_alive, or check_ssh_session_status. The description does not mention prerequisites like an existing active session or pairing with another tool.

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

Deploy Server

Other Tools