MCP server for controlling Zellij terminal multiplexer sessions and tabs
The server defines 13 tools with basic structure but significant gaps in description quality, parameter documentation, and output schema definition. Tool names follow verb_noun convention appropriately (session_list, tab_create, write_text, send_key). However, descriptions are terse (most under 50 chars) and lack context about when to use each tool versus similar alternatives. Parameter descriptions exist but are minimal. Output schemas are not documented anywhere in the provided source. Error handling and recovery guidance are absent. The tools operate on Zellij terminal sessions and panes, a narrow domain, but lack the depth of documentation that would allow confident LLM usage.
Dump the current screen content
Send a key to the current pane
Attach to an existing Zellij session
Create a new Zellij session
Detach from the current session
List active Zellij sessions
Rename a Zellij session
Close the current tab
Create a new tab in the current session
Output schemas undocumented. No tool documents what fields it returns or what structure the LLM should expect. For example, session_list returns some list of sessions, but there is no visible schema showing whether it returns {sessions: [{name, id, status}]} or {data: [...]} or plain array. This prevents LLMs from planning downstream tool chains and extracting the right fields.
Descriptions are too brief and lack context. Example: 'List active Zellij sessions' (33 chars) does not explain when to call this vs attach, what structure is returned, or what an LLM should do next. Most session/tab descriptions are under 50 chars.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 41 | - | v1 |
List tabs in the current session
Rename the current tab
Switch to a specific tab by name
Write text to the current pane
Parameter descriptions are minimal or absent context. For example, session_name is described as 'Name of the session to attach to' but does not clarify: (1) is it a unique identifier or display name? (2) if multiple sessions have the same name, what happens? (3) what character limits/restrictions apply? (4) should the LLM list sessions first to see available options?
No error handling or recovery guidance. If session_attach fails (e.g. session does not exist, permission denied), there is no visible error message or guidance. LLMs need actionable errors: 'Session not found. Call session_list to see available sessions.' Without this, agents dead-end.
write_text and send_key lack safety guardrails. These are stateful operations that modify the terminal. There is no confirmation step, dry-run, or undo. An LLM could accidentally send 'rm -rf /' to a production session. Per pattern:confirmation-request, irreversible operations should support a dry-run or confirmation step.
dump_screen parameter relationships undocumented. Parameters 'begin' and 'end' are marked optional individually, but their description says 'end requires begin'. This dependency is not formalized in the schema, LLMs may pass 'end' without 'begin' and get a silent failure. This violates pattern:tool-description (param dependencies must be explicit).
No idempotency guarantees. Tools like session_create, tab_create, tab_rename do not document whether they are idempotent. If an LLM retries after a network timeout, will it create a duplicate session or return the existing one? Per pattern:idempotent-operation, LLMs rely on idempotency for safe retries.