Skip to main content
Glama
k8ika0s

mcp-tmux

by k8ika0s

Send keys to pane

tmux_send_keys

Send keystrokes or special key sequences to a specified tmux pane, with optional Enter keypress to execute commands.

Instructions

Send keystrokes to a tmux target, optionally appending Enter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoSSH host alias (optional). Uses default host if set.
keysYesThe text/keys to send. Supports <SPACE>/<ENTER>/<TAB>/<ESC>. Empty + enter=true sends Enter.
enterNoAppend Enter after the keys.
targetNoPane target (pane id or session:window.pane). If omitted, uses default pane if set.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the optional Enter behavior but does not disclose potential side effects of sending keystrokes (e.g., triggering destructive commands in the pane), nor does it cover failure modes or reversibility.

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?

One concise sentence that immediately conveys the tool's primary function. No filler or redundant information.

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?

With a complete schema and a clear summary, the description covers the 'what' but lacks the 'when' and missing behavioral warnings. As a mutating input tool, it would benefit from context on appropriate use cases and potential risks, making it minimally viable but not fully complete.

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 descriptions cover all 4 parameters with detailed information (special keys, default pane/host, enter behavior). The tool description itself adds no new parameter information beyond what the schema already provides, so baseline 3 is appropriate.

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 clearly states the action (send keystrokes) and the resource (tmux target) with an optional Enter suffix. It distinguishes from capture/state tools but doesn't explicitly contrast with tmux_command or other input-related siblings.

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?

No guidance is provided on when to use this tool vs alternatives. The description does not mention preferred contexts, exclusions, or relationships to sibling tools like tmux_command or tmux_capture_pane.

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/k8ika0s/mcp-tmux'

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