Skip to main content
Glama

pmux_send_input

Send text to a terminal tab and auto-submit by pressing Enter. Automate command execution without manual submission.

Instructions

Low-level fallback for manual tab input; for agent orchestration prefer pmux_agent_* tools. Send text to a tab. The server AUTO-SUBMITS (delivers as a bracketed paste then presses Enter) — do NOT append a newline to submit. Exactly one trailing '\n' is stripped from content; other whitespace is preserved. Returns { status:"sent" }. 409 'Tab session is not running' if the tmux session is dead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesTarget tab id (from pmux_list_tabs / pmux_create_tab).
contentYesExact text to deliver. The server auto-submits (presses Enter) — do NOT add a trailing newline; one trailing '\n' is stripped for you.
workspaceIdYesTarget workspace id (from pmux_list_workspaces).
Behavior5/5

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

No annotations provided, so description carries full responsibility. It discloses server auto-submits as bracketed paste then Enter, exactly one trailing newline is stripped, returns {status:'sent'}, and 409 error when tmux session is dead. 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 concise sentences plus error note. Front-loaded with purpose and alternative guidance. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but describes return value and error condition. All three parameters explained with behavioral context. Complete for a simple input tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with all parameters described. Description adds context for content (reiterates trimming of one newline and auto-submit) and references origin for tabId and workspaceId. Adds value beyond 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 tool sends text to a tab (specific verb+resource) and distinguishes from sibling tools by calling it a low-level fallback and recommending pmux_agent_* tools for orchestration.

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

Usage Guidelines5/5

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

Explicitly tells when to prefer alternatives ('for agent orchestration prefer pmux_agent_* tools') and warns not to append a newline, with detailed auto-submit behavior.

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/yoway030/purplemux-mcp'

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