Skip to main content
Glama
shiiman

multi-agent-mcp

by shiiman

init_tmux_workspace

Initialize a tmux workspace with a grid layout for parallel execution of multiple AI agents. Automatically configures terminal, git, and gtr support to streamline multi-agent workflows.

Instructions

ターミナルを開いてtmuxワークスペース(グリッドレイアウト)を構築する。

ターミナルを先に起動し、その中でtmuxセッション作成・ペイン分割を行う。 セッションが既に存在する場合はattachのみ行う。 gtr が利用可能な場合、gtrconfig を自動確認・生成する。

レイアウト: ┌─────────────┬────────┬────────┬────────┐ │ pane 0 │ pane 1 │ pane 3 │ pane 5 │ │ (Admin) ├────────┼────────┼────────┤ │ (40%) │ pane 2 │ pane 4 │ pane 6 │ └─────────────┴────────┴────────┴────────┘ 左40% 右60% (Workers 1-6)

※ Owner のみ使用可能。

Args: working_dir: 作業ディレクトリのパス open_terminal: Trueでターミナルを開いて表示(デフォルト)、 Falseでバックグラウンド作成 auto_setup_gtr: gtr利用可能時に自動でgtrconfig設定(デフォルト: True) session_id: セッションID(省略時は None、指定時はディレクトリ構造に使用) enable_git: git 機能を有効化するか(省略時は config/.env を使用) caller_agent_id: 呼び出し元エージェントID(指定時はロールチェック)

Returns: 初期化結果(success, session_name, gtr_status, message または error)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enable_gitNo
session_idNo
working_dirYes
open_terminalNo
auto_setup_gtrNo
caller_agent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavior: terminal opening, session creation, pane splitting, conditional attach, gtr auto-configuration, role checks, and return values. This provides comprehensive transparency.

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?

The description is well-structured with Japanese summary, English parameter list, and ASCII art. While slightly lengthy, every section adds value and it is front-loaded with the main purpose.

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?

Given the tool's complexity (tmux grid, session management, gtr integration), the description covers inputs, outputs, restrictions, and edge cases (existing sessions). The output schema exists, so return values are adequately described.

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

Parameters5/5

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

The schema coverage is 0%, but the description's 'Args' section explains each of the 6 parameters in detail (working_dir, open_terminal, auto_setup_gtr, session_id, enable_git, caller_agent_id), adding meaning beyond the bare 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's purpose: 'ターミナルを開いてtmuxワークスペース(グリッドレイアウト)を構築する' (open terminal and build tmux workspace with grid layout). It distinguishes itself from siblings like 'cleanup_workspace' by focusing on initialization.

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 description provides clear usage context: it attaches to existing sessions, auto-configures gtr if available, and restricts usage to 'Owner only'. However, it does not explicitly compare to alternative tools or state when not to use it.

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/shiiman/multi-agent-mcp'

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