Skip to main content
Glama
WENLIXIAO-CS

tmux-mcp

by WENLIXIAO-CS

tmux_rename_session

Rename an existing tmux session by providing the current name and the desired new name. Ensures session identifiers are updated for clarity and organization.

Instructions

Rename a tmux session.

Args: old_name: Current session name or ID. new_name: New name for the session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
new_nameYes
old_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations are absent, so the description carries the full burden of behavioral disclosure. It mentions only the operation and arguments, omitting any side effects (e.g., behavior on nonexistent sessions, reversibility, errors), which is a notable gap for a mutation tool.

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 exceptionally concise, with a one-sentence purpose and a clear argument list. No extraneous words or redundant content.

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

Completeness4/5

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

For a simple rename operation, the description covers the purpose and both arguments. The presence of an output schema makes return-value details unnecessary, but missing context about error handling or prerequisites prevents a perfect score.

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?

The description adds meaningful detail to both parameters: old_name is defined as 'Current session name or ID' and new_name as 'New name for the session.' This compensates for the 0% schema description coverage, though it could be richer with constraints or examples.

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 'Rename a tmux session' with a specific verb and resource. It distinguishes itself from sibling tools like tmux_rename_window and tmux_list_sessions by explicitly targeting session renaming.

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?

The description provides no guidance on when to use this tool versus alternatives such as tmux_create_session or tmux_rename_window. There are no preconditions, exclusions, or alternative recommendations, leaving the agent to infer the appropriate context.

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

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