Skip to main content
Glama

Split Pane

pane_split

Split an existing terminal pane to create a new interactive shell beside or below it without stealing focus. Returns the new pane ID for orchestration.

Instructions

Split an existing pane to create a new interactive shell pane beside or below it. Returns the new pane under result.pane.pane_id. Defaults to focus=false so user focus is not stolen.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pane_id": "<pane_id>"
    },
    "name": "pane_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoAbsolute working directory for the new shell pane.
focusNoMove UI focus to the new pane (default false).
ratioNoOptional split ratio between 0.1 and 0.9.
pane_idYesPane ID to split (for example 'w1:p1').
directionNoSplit direction: 'right' for wide panes (default), 'down' for tall panes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.8/5.0
Behavior4/5

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

The annotations cover mutability (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds genuinely new context: the result path result.pane.pane_id and the deliberate focus-preserving default. It still does not say what happens on failure or whether the split is reversible.

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?

Three short sentences, front-loaded with the action, then the return path, then the focus caveat. No filler whatsoever.

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 5-parameter split operation with a fully documented schema and no output schema, the description covers the essential behavior and the return path. Error behavior and interaction with existing layouts are the only notable omissions.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents cwd, direction, ratio, focus, and pane_id. The description only reiterates the focus default (focus=false), which is already in the schema, and adds no new param-level semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: "Split an existing pane to create a new interactive shell pane beside or below it." That is precise enough for an agent to know exactly what happens, though it does not explicitly distinguish itself from adjacent tools such as pane_layout or tab_create.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the need for an existing pane_id, but the description does not say when to choose splitting over alternatives such as opening a new tab, nor does it state any prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.