Skip to main content
Glama
cygnussystems

cygnus-ssh-mcp

Official

ssh_cmd_kill

Kill a running SSH command by handle ID, sending a configurable signal (default TERM) and automatically force-killing with SIGKILL if needed.

Instructions

Terminate a currently running command by its handle ID.

This tool is specifically for killing commands started with ssh_cmd_run, not background tasks launched with ssh_task_launch.

If force=True and the process doesn't exit after wait_seconds, it will be forcibly killed with SIGKILL (signal 9).

Returns: Dictionary containing kill operation result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handle_idYesCommand handle ID to kill
signalNoSignal to send (15=TERM, 9=KILL)
forceNoForce kill with SIGKILL if process doesn't exit
wait_secondsNoSeconds to wait before force kill

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description fully explains the kill process: default signal 15, force behavior with wait_seconds and SIGKILL, and return type. It lacks details on error handling for invalid handles but is otherwise transparent.

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 concise (4 sentences), front-loads the purpose, and is well-structured. No redundant text; each sentence adds value.

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?

Given an output schema exists, the return description is adequate. It covers purpose, differentiation, and behavioral details. Minor gaps in error scenarios but sufficient for a kill tool.

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?

Schema coverage is 100%, so baseline is 3. The description adds context on force/wait interaction but largely repeats schema information. It doesn't significantly augment parameter meaning beyond the 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 clearly states it terminates a running command by handle ID, explicitly distinguishing from background tasks (ssh_task_launch). This precise verb-resource pairing differentiates it from sibling tools like ssh_task_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?

It specifies when to use (for commands from ssh_cmd_run, not tasks) and explains force/wait behavior. While it doesn't explicitly state 'use this instead of ssh_task_kill', the differentiation is clear from context.

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/cygnussystems/cygnus-ssh-mcp'

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