Skip to main content
Glama

Open pane

open_pane

Open a new terminal pane in the active tab, optionally running a command directly or via shell, setting working directory, environment, or launching into a saved project. Returns the new pane ID.

Instructions

Open a new pane in the active tab of a window (defaults to the first window). Returns the new paneId. command alone runs through the shell. Pass args (a string array) to run command DIRECTLY as the executable with that exact argv — no shell, no re-parse — which is the reliable way to pass arguments containing spaces or quotes (e.g. command:"claude", args:["--append-system-prompt","…long persona…"]); a single command string with such args gets mangled by the shell. meta attaches free-form org metadata (reserved keys: role/parent/agentType/task) so the new worker is self-describing. project opens the pane in a remembered project (see list_projects/add_project): it defaults the pane's cwd + frame color from that project and bumps its recency in the sidebar rail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo
envNo
argsNoWith `command`: run it directly with this verbatim argv (no shell re-parse). Each element is one argument — do NOT pre-quote.
metaNo
colorNo
labelNo
shellNo
commandNo
projectNoopen the pane in a remembered project (its id or name; see list_projects): defaults cwd + frame color from the project and bumps its recency. An explicit cwd/color still wins; an unknown handle fails the call.
windowIdNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that `command` alone runs through the shell while `args` executes directly with exact argv, warns about shell mangling, describes `meta` reserved keys, and explains project recency bumping and precedence. This goes beyond the schema and provides meaningful behavioral context, though some side effects of other parameters remain implicit.

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?

The description is long but densely packed with necessary information. It is front-loaded with the core function, then dives into parameter nuances. Every sentence earns its place, though the parenthetical asides make it slightly harder to skim.

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 tool with 10 parameters, no annotations, and no output schema, the description is quite complete. It covers return value, default window, parameter behavior, and failure cases for project. Some interactions (e.g., env merging, label limits) are not mentioned, but overall it addresses the complexity well.

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?

Schema description coverage is only 20%, but the description compensates richly. It explains the critical command/args relationship, the reserved keys for meta, and the project parameter's effects (cwd, color, recency, precedence, failure on unknown handle). This adds substantial meaning to parameters that the schema leaves opaque.

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 opens a new pane in the active tab of a window, defaults to the first window, and returns the new paneId. This specific verb+resource and its distinction from sibling tools like open_tab and focus_pane make the purpose unambiguous.

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

Usage Guidelines4/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 `command` alone versus `args` (when arguments contain spaces or quotes) and references related tools list_projects/add_project for project handling. It does not explicitly contrast with open_tab or other pane operations, but the parameter-level usage conditions are clearly stated.

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/Eyalm321/hyperpanes-mcp'

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