Skip to main content
Glama

onda_workspace_add_terminal

Add a terminal pane to a workspace and wait for its PTY to be ready. Control placement with split direction and relative pane.

Instructions

Add a new terminal pane to a workspace and wait for its PTY to be ready. Returns { success, terminalId, paneId, workspaceId, windowId, ready }.

Placement: by default the new pane is appended via react-mosaic's built-in logic (typically "split right"). For deterministic placement, pass direction and (optionally) relativeToPaneId — this routes through splitPane and gives you explicit control.

CALL onda_workspace_layout FIRST when you care about placement: it returns the current mosaic tree + active pane + viewport, so you can decide whether to stack "down" (output-heavy panes) or split "right" (parallel-watch panes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for the new terminal.
shellNoShell to use (e.g., /bin/zsh).
directionNoOptional. When set, the pane is created by splitting an existing one in this direction. "horizontal"/"down"/"up" produce a top/bottom pair; "vertical"/"right"/"left" produce a left/right pair.
workspaceIdNoWorkspace ID. Omit to use active workspace.
waitForReadyNoDefault true. When false, returns as soon as the pane object is created (PTY may still be spawning).
relativeToPaneIdNoOptional pane ID to split. When omitted with `direction` set, the active pane is used.
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so richly. It discloses the PTY readiness wait, the exact return fields, the default react-mosaic split behavior, the 'splitPane' routing for deterministic placement, and the effect of waitForReady=false. This exceeds what a bare 'add terminal' description would provide and gives the agent accurate expectations.

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 well-structured: a one-sentence purpose with return fields, a placement paragraph that explains default and deterministic behavior, and an actionable prerequisite callout. No filler or redundancy; every sentence earns its place.

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?

Despite having no annotations and no output schema, the description fully covers the tool's behavior, return value, parameter nuances, and prerequisite workflow. It is complete for a tool of this complexity and provides clear next steps for placement decisions.

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?

Although the schema already covers 100% of parameters, the description adds substantial extra meaning. It clarifies the practical effect of direction (top/bottom vs left/right pairs), how relativeToPaneId defaults to the active pane, and what waitForReady implies for return timing. This goes well beyond the schema's property descriptions.

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 opens with a specific verb+resource: 'Add a new terminal pane to a workspace' and states the wait-for-ready behavior. It clearly differentiates from sibling tools by explicitly describing the workspace-level pane creation and mentioning deterministic placement via splitPane, which distinguishes it from generic terminal spawn or pane split tools.

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 gives clear context: it explains when to use the default append behavior versus deterministic placement, and explicitly instructs calling onda_workspace_layout first when placement matters. It does not explicitly name alternatives such as onda_terminal_spawn or when not to use this tool, but the guidance is sufficient for most selection scenarios.

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/mindfullabai/onda-mcp'

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