Strong schema coverage with complete input definitions for all 10 tools. Descriptions are present and moderately detailed (most 50-150 chars). Tool naming follows verb-noun conventions (i3_*). Window criteria handling is sophisticated with regex/substring matching support. However, output schemas are not documented in the tool definitions themselves, they exist only in code comments or README. Parameter descriptions are good but some lack constraint details (e.g., no min/max on numeric ranges). Error handling and recovery guidance are minimal across most tools.
Set i3bar's display mode or hidden state. Give mode, hidden_state, or both
Focus a window or an output. Give exactly one of direction, target, sibling, cycle, output, criteria.
Set or adjust gaps between windows (inner) or at workspace edges (outer).
Close a window (the focused one without criteria); the app may prompt to save. Destructive: confirm the target first.
Set a container's layout, its split orientation, or both.
Set or remove a mark; marks survive moves and are the best criteria handle. Give one of mark, unmark, unmark_all
Move a container to a workspace, output, position, mark or the scratchpad, or swap it with another. Give exactly one destination.
Output schemas not documented in tool definitions. Tools return data structures (window records, workspace lists, config objects) but the response format is not specified in the MCP schema. This forces LLMs to infer output structure from trial-and-error rather than having explicit guidance.
Numeric parameters lack constraints. i3_gaps accepts 'amount' (0-500 px) with min/max specified, but i3_resize 'amount' defaults to 10 with no stated range. i3_move 'position_x' and 'position_y' have no bounds or units guidance beyond parameter name.
Error handling and recovery guidance absent. No error examples or recovery instructions in tool descriptions. LLMs are not told what to do if a criteria match fails, a window is not found, or a command is invalid. Tools like i3_kill (destructive) lack confirmation/dry-run patterns.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 63 | 2026-07-28+ | v2 |
Read i3 state: window tree, workspaces, outputs, marks, config, bars, modes. Records carry the con_id, workspace and output other tools' `criteria` wants; absent booleans are false; `rect` is [x, y, width, height]. layout: one workspace's nested containers, with con_ids i3_layout can target.
Grow, shrink, or set a container's size. ppt suits tiling, px floating.
Show, hide or populate the scratchpad; named ones are addressed by mark. List its contents with i3_query(what='scratchpad').
Window criteria parameter is a generic object with no schema validation shown. The WindowCriteria class exists in code but is not reflected in the tool's input schema, the 'criteria' param shows type='object' with no properties or constraints.
i3_move has 16 parameters with complex mutual exclusivity rules (direction/workspace/output/position/mark/scratchpad/swap are mutually exclusive) documented only in the description 'exactly one destination'. LLMs may pass multiple, causing silent failures or ambiguous command routing.
i3_query returns heterogeneous data (tree structures for layouts, flat lists for workspaces, config text). The 'what' enum parameter determines output shape, but no structured response schema documents what fields are present for each 'what' value. LLMs cannot predict the response structure.