Skip to main content
Glama

session_create

Starts a Droid session in a permitted workspace, optionally setting an isolated worktree checkout and capping autonomy at the server ceiling.

Instructions

Start a Droid session in a permitted workspace. Set worktree for an isolated checkout. Autonomy must not exceed the server ceiling.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cwd": "<cwd>",
      "autonomyLevel": "<autonomyLevel>"
    },
    "name": "session_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYes
modelIdNo
worktreeNo
worktreeDirNo
autonomyLevelYes
disabledToolIdsNo
interactionModeNo
reasoningEffortNo
specModeModelIdNo
worktreeLifecycleNo
worktreeNewBranchNo
worktreeBaseBranchNo
worktreeBranchModeNo
specModeReasoningEffortNo
worktreeBaseBranchFromOriginNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already disclose that this is a mutating, open-world, non-idempotent, non-destructive operation. The description adds useful behavioral context about permitted workspaces, isolated worktree checkouts, and an autonomy ceiling, but it omits session persistence, failure behavior, lifecycle implications, and what creation returns. With annotations covering the safety profile, a 3 reflects some added value but clear remaining gaps.

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 three short, front-loaded sentences with no filler. Each sentence adds a distinct constraint or hint, though the overall brevity is arguably too aggressive for a 15-parameter tool.

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?

For a complex session-creation tool with 15 parameters, zero schema description coverage, and no output schema, the description is far from complete. It mentions workspace permissions, worktree isolation, and autonomy limits but leaves most parameter semantics and creation behavior unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the tool has 15 parameters, so the description must carry the burden of explaining them. It only gives partial meaning for cwd/workspace, worktree isolation, and autonomyLevel, while leaving modelId, disabledToolIds, interactionMode, reasoningEffort, worktreeLifecycle, branch settings, and other enums undocumented.

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 states a specific verb and resource: 'Start a Droid session in a permitted workspace.' It clearly distinguishes creation from sibling tools such as session_list, session_close, and session_stream by using 'Start.' However, it does not explicitly name any alternative or clarify boundary cases beyond the action name.

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?

The description gives constraints such as 'permitted workspace' and 'Autonomy must not exceed the server ceiling,' but it does not say when to use this tool versus alternatives. There is no when-not-to-use guidance, prerequisite explanation, or alternative routing.

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