Skip to main content
Glama
k8ika0s

mcp-tmux

by k8ika0s

Fan-out send and capture

tmux_multi_run

Send the same command to multiple tmux panes or hosts and capture results. Supports one-shot capture, tailing, and regex pattern matching for cross-target comparison.

Instructions

Send the same keys to multiple targets (across hosts) and optionally capture results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesKeys/command to send.
modeNosend_capture (default) captures once, tail polls, pattern checks for regex.
enterNoAppend Enter.
captureNoCapture after sending.
delayMsNoDefault delay before capture in ms (per-target override available).
patternNoRegex pattern when mode=pattern.
targetsYesList of targets to fan-out to.
captureLinesNoDefault lines to capture (per-target override available).
patternFlagsNoRegex flags (e.g., i)
tailIntervalMsNoTail interval ms (mode=tail).
tailIterationsNoTail iterations (mode=tail).
Behavior3/5

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

No annotations are provided, so the description must carry the transparency burden. It discloses the core fan-out behavior and optional capture, but it does not mention the tail/pattern modes, per-target delay overrides, or default capture line counts. These are meaningful behavioral traits not obvious from the schema alone, leaving the description somewhat thin.

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 sentence that is immediately informative and free of filler. It front-loads the core action and scope, making it easy to scan alongside sibling tools and understand the tool's purpose at a glance.

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 an 11-parameter tool with no output schema, this description gives only the core action. It omits any mention of the three execution modes (send_capture, tail, pattern) that are central to the tool's range of behavior, so an agent could easily underestimate its capabilities despite the detailed schema. The schema covers parameters well, but the description alone is not fully complete for a tool this complex.

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 input schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds no parameter-level meaning beyond the phrase 'optionally capture results,' which simply echoes the capture flag. It does not clarify mode behavior, delay semantics, or target structure beyond what the schema already provides.

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 ('Send') and clearly identifies the resource: the same keys sent to multiple targets across hosts, with optional capture. This distinguishes it from single-target tmux_send_keys and capture-only tools, and the phrase 'multiple targets (across hosts)' makes its scope unmistakable.

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 phrase 'Send the same keys to multiple targets (across hosts)' gives clear context for when to use this tool: whenever fan-out to multiple panes/hosts is needed. It does not explicitly name alternatives or exclusions, but the primary use case is unambiguous. The optional capture clause further clarifies when it should be chosen over a send-only tool.

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