Skip to main content
Glama

Create a workspace

cmux_new_workspace

Create a new terminal workspace with optional title, working directory, startup command, and group assignment to organize panes for agent workflows.

Instructions

Create a new workspace, optionally with a title, cwd, and startup command. Pass group to create it inside a workspace group.

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_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
nameNo
groupNoAdd the new workspace to this group, e.g. "workspace_group:3".
commandNoCommand to run in the first pane (bare binary only — do not bake a prompt into this string, quoting parses fragile across CLIs). Post prompts after with cmux_send + cmux_send_key Enter.

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 are supplied, so the description carries the full behavioral burden and largely does not meet it. It never says what the new workspace's identity/label defaults to, whether focus switches to it, what happens if the named group does not exist, or whether the call is idempotent — all material for a creation tool.

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?

Two tight sentences, front-loaded with the action and followed by the optional modifiers and the one branching behavior. Nothing is redundant or padded.

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

Completeness2/5

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

With no output schema and no annotations, the definition should tell the agent what it gets back — a workspace identifier is almost certainly needed to chain into cmux_send or cmux_focus_pane — and it says nothing about it. It also omits any default/failure behavior, leaving a creation tool under-described despite its simple four-optional-parameter surface.

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 50%: group and command are documented in-schema, while cwd and name are bare. The description nominally covers all four ("title, cwd, and startup command", plus group), but adds no semantics for cwd (inherit current directory? default?) and mislabels name as title, so it only partially compensates.

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?

States a specific verb and resource ("Create a new workspace") and enumerates the optional attributes it can carry, which is enough to separate it from cmux_rename_workspace or cmux_new_pane. Minor friction: it calls one field "title" while the schema names it "name", and it never explicitly says how it differs from cmux_new_group.

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?

The only routing hint is "Pass group to create it inside a workspace group," which tells the agent a nested-creation mode exists but not when to prefer cmux_new_group or when to use cmux_new_pane instead. Usage is implied rather than stated, and there are no prerequisites or exclusions.

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