Skip to main content
Glama
kuhyx

i3wm-mcp

Manage i3 Workspace

manage_workspace

Switch to, move containers to, rename, or navigate i3 workspaces. Supports follow option for move and reversible actions.

Instructions

Act on workspaces: switch to one, move_container_to one (optionally following), rename one, or navigate next/prev/back_and_forth. Reversible. action selects the operation and determines which of name/new_name/direction are required. To move a single window rather than switch, use move_window; to list workspaces use list_workspaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoTarget workspace for switch/move_container_to; old name for rename.
actionYesWhich workspace operation to perform.
followNoFor move_container_to, also switch to the target. Default false.
new_nameNoNew workspace name (required for `rename`).
directionNoNavigation direction (required for `navigate`).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoFirst error message across the payload, or null on full success.
successYesTrue only if every command in the payload succeeded.
outcomesNoPer-command outcomes, in payload order.
Behavior5/5

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

The description discloses that the operation is reversible, adding behavioral context beyond the annotations. Annotations indicate a mutation (readOnlyHint=false) but not destructive, and the description aligns with that.

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 concise (two sentences) yet comprehensive. It front-loads the core actions, then adds details about reversibility and parameter dependencies, followed by sibling tool references. 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?

Given the tool's complexity (multiple actions with parameter dependencies) and the presence of an output schema, the description is complete. It covers all necessary behavioral and usage aspects without gaps.

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?

Even with 100% schema description coverage, the description adds significant value by explaining how the action parameter determines which other parameters are required. This is not evident from the schema alone.

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: acting on workspaces with specific actions (switch, move_container_to, rename, navigate). It uses specific verbs and resources, and distinguishes from sibling tools like move_window and list_workspaces.

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?

The description provides explicit guidance on when to use each action and which parameters are required. It also suggests alternatives for other tasks (e.g., move_window for moving a single window, list_workspaces for listing).

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/kuhyx/i3wm-mcp'

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