Skip to main content
Glama

Create Workspace

workspace_create

Create a new Herdr workspace with an initial tab and root shell pane, optionally setting the working directory, display label, and focus.

Instructions

Create a new Herdr workspace with one initial tab and root shell pane.

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": "workspace_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoAbsolute working directory for the workspace.
focusNoSwitch user view to the new workspace (default false).
labelNoOptional workspace display label.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds real value by disclosing the side effects of creation — an initial tab and a root shell pane are spun up — which the annotations do not say. It says nothing about permissions, whether the new workspace becomes active by default, or what is returned, so it stops short of full disclosure.

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?

One front-loaded sentence with no filler, and the side-effect detail is appended efficiently. It is perhaps too terse for a creation tool, but nothing is wasted.

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 only three optional parameters, full schema coverage and no output schema, the description is adequate but thin for a creation tool. It never states what an agent gets back (e.g., a workspace identifier) or whether the new workspace takes focus by default, which matters for chaining into workspace_focus or pane_read.

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 and label are all documented in the schema itself. The description adds no meaning beyond that and does not explain defaults or how cwd interacts with the created shell pane, 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?

States a specific verb and resource ('Create a new Herdr workspace') and adds composition detail: it comes with one initial tab and a root shell pane. It does not differentiate from siblings like worktree_create or tab_create, which also create things, so an agent cannot tell from this text alone which creation tool to pick.

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

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance, and no mention of the alternative creation tools (worktree_create, tab_create) that an agent would weigh against this one. The only implicit signal is that this is the top-level workspace constructor.

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