Skip to main content
Glama
HLH2023
by HLH2023

terminal.tmux_kill

Kill a tmux session by name. First call returns a preview; second call with confirm=true executes the kill. Supports local and SSH targets.

Instructions

Kill any tmux session by tmux session name. Requires two calls: first without confirm to preview, then with confirm=true to execute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYestmux session name, not MCP sessionId
confirmNoSet to true to confirm the kill. First call without confirm returns a preview; second call with confirm=true executes the kill.
targetNoSSH target. Omit to kill a local tmux session
profileNoSSH profile name shorthand for target
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses the kill action and preview-first pattern but does not detail side effects like session destruction or unsaved work loss. Adequate but not fully 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?

Two sentences: first states purpose, second gives usage pattern. Every word is necessary, no redundancy.

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 good schema coverage (100%), the description covers the core workflow and purpose. Could mention that target is optional (local default) but schema already does. No output schema needed.

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 description coverage is 100%, so baseline is 3. The description reinforces the confirm parameter's role but adds no new 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 the verb 'Kill' and the resource 'tmux session by tmux session name'. It distinguishes from sibling tools like terminal.kill and terminal.tmux_list by specifying the two-call pattern.

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?

Explicitly describes the two-call workflow: first without confirm to preview, then with confirm=true to execute. This provides clear usage steps but does not mention when not to use or alternative tools.

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/HLH2023/terminal-use-mcp'

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