Skip to main content
Glama

Split a new pane

cmux_new_pane

Splits a workspace to open a new terminal or browser pane in a chosen direction, optionally anchored to a specific pane regardless of UI focus.

Instructions

Open a new pane by splitting in the given direction. Pass anchor_pane (your pane_ref from cmux_identify.caller) to split next to that specific pane regardless of UI focus. Resolution order: anchor_pane > workspace > caller's workspace > focused workspace.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cmux_new_pane"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoInitial URL for a browser pane.
typeNo
directionNoright
workspaceNoWorkspace ref like "workspace:26". Defaults to the caller's workspace.
anchor_paneNoSplit next to this pane/surface ref, in its own workspace, regardless of UI focus. Takes precedence over workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.13

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It discloses the precedence chain (anchor_pane > workspace > caller's workspace > focused workspace), but much of that is already restated in the schema's anchor_pane and workspace descriptions, and it says nothing about what is returned (e.g., the new pane's ref), whether focus moves to the new pane, or how the split affects existing pane layout.

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?

Two tight sentences, front-loaded with the action and followed by the targeting rule. No filler, though the trailing resolution-order clause partly duplicates schema text and could be trimmed since the schema already encodes precedence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and five optional parameters, the description is adequate for choosing to call it but not for using the result. An agent is left guessing whether the tool returns a handle to the new pane (needed for follow-up cmux_send or cmux_focus_pane calls) and how the terminal/browser type and url interact.

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 coverage is 60%, and the description covers only anchor_pane, workspace, and passingly 'direction'. The type parameter (terminal vs browser) and url are never mentioned in the description, so the schema must carry those, and 'the given direction' adds no meaning beyond the left/right/up/down enum.

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 first sentence gives a specific verb and resource (open a new pane) plus the mechanism (split in a given direction), which is unmistakable and distinguishable from siblings like cmux_new_workspace or cmux_new_group. It falls short of 5 only because it never names an alternative tool outright.

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?

It gives a genuine conditional: pass anchor_pane to split next to a specific pane regardless of UI focus, and states that workspace defaults to the caller's workspace. There is no when-not guidance and no routing to sibling tools (e.g., a new workspace or group instead of a pane).

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