Skip to main content
Glama
k8ika0s

mcp-tmux

by k8ika0s

Capture pane output

tmux_capture_pane

Read a tmux pane's scrollback to observe command results. Specify optional line offsets to capture the exact output range you need.

Instructions

Read the scrollback of a pane to observe command results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoOptional end line offset.
hostNoSSH host alias (optional). Uses default host if set.
startNoOptional start line offset (e.g. -200 for last 200 lines). Defaults to -200.
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. 'Read' implies a non-destructive operation, but the description does not disclose potential side effects, limitations (e.g., scrollback buffer limits), or conditions like needing a target pane. Minimal behavioral detail.

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?

A single, front-loaded sentence that directly states the tool's purpose. No wasted words, ideal size.

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 a read-only capture tool with four optional parameters and no output schema, the description provides the core purpose but lacks guidance on common use cases, parameter interactions, or return format. It is minimally sufficient but not rich.

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 the baseline is 3. The description adds no parameter-specific meaning beyond the schema, but the schema fully documents start, end, host, and target parameters.

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 tool reads a pane's scrollback to observe command results, using a specific verb and resource. It implicitly distinguishes from siblings like tmux_tail_pane (live tail) and tmux_capture_layout (layout capture).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'to observe command results' implies when to use it (after commands run), but no explicit alternatives or exclusions are mentioned. With many sibling tools, more explicit guidance would help.

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