Skip to main content
Glama
tmux-mcp-tools

tmux-mcp-tools

by PsychArch

Tmux Capture Pane

tmux_capture_pane

Capture pane contents to inspect output from already-running tmux processes, including optional delay and scrollback screens for troubleshooting.

Instructions

Read pane contents.

For checking output from already-running processes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target_pane": "<target_pane>"
    },
    "name": "tmux_capture_pane"
  }
}

Input Schema

NameRequiredDescriptionDefault
delayNoDelay in seconds before capturing (0-60)
target_paneYes
scroll_back_screensNoNumber of screens to scroll back (0 = current screen only)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it says almost nothing: no statement that the capture is non-destructive, that it reads live terminal state which may be mid-output, or what permissions/attach state are required. Only the verb "Read" hints at safety, which is too thin for a tool with zero annotation coverage.

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?

Two short sentences, front-loaded with the core action and with no filler. The second sentence is a fragment, but it earns its place by adding usage context.

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?

An output schema exists, so return values need not be described, and purpose plus usage are covered. The remaining gap is parameter guidance for the required target_pane argument, which is unaddressed in both the schema and the description.

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?

Schema coverage is 67%, below the 80% baseline, and the description adds zero parameter meaning. Critically, target_pane is required but has no schema description, and the description does not explain its expected format (e.g. session:window.pane) or what scroll_back_screens and delay actually change in the result.

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?

States a specific verb plus resource ("Read pane contents") and scopes it to inspecting output of already-running processes, which distinguishes it from the write-oriented siblings like tmux_send_command or tmux_write_file. It stops short of naming any sibling explicitly, so differentiation is inferential rather than stated.

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?

Gives a clear usage context: use it to check output from processes that are already running. There are no exclusions and no named alternatives, and no guidance on when to prefer this over scrolling/reading history elsewhere, which is what keeps it out of 5 territory.

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