Skip to main content
Glama

Create Tab

tab_create

Creates a new tab with one root shell pane in a specified workspace, optionally setting its label, working directory, and focus. Use it to open an isolated terminal session for a coding task.

Instructions

Create a new tab with one root shell pane inside a 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": "tab_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoOptional working directory path.
focusNoSwitch view to the new tab (default false).
labelNoOptional tab label.
workspace_idNoTarget workspace ID (for example 'w1').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so safety is covered. The description adds real behavior beyond that: the creation also spawns a root shell pane, which an agent needs to know to avoid creating a redundant pane afterwards. It stops short of saying whether the workspace must pre-exist or what happens on failure.

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?

A single front-loaded sentence with no filler; the effect (new tab plus root shell pane) is stated immediately. It is efficient, though it is arguably too short given the side effects it introduces.

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?

All four parameters are optional and annotated, and the basic effect is described. However, with no output schema, the description does not say what is returned (tab ID, pane ID) even though spawning a pane makes the returned identifiers important for follow-up calls like pane_run or tab_focus.

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 cwd, focus, label and workspace_id are already documented in the schema, including the default for focus. The description adds no syntax, format, or precedence detail beyond that, so the baseline 3 applies.

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 uses a specific verb+resource ("Create a new tab") and adds the important detail that a root shell pane is created inside it, within a workspace. It is clearly distinct from siblings like tab_close, tab_focus, tab_rename and tab_list by verb alone, though it never names an alternative.

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 only implied: the phrase "inside a workspace" hints that a workspace must already exist and that workspace_id is the anchor, but there is no explicit when-to-use or when-not-to-use guidance and no comparison to workspace_create or worktree_create.

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