Skip to main content
Glama

start_session

Launches a new, separate work conversation with a name, working folder, model, effort, and first prompt, so the task keeps running independently after the current chat ends.

Instructions

新しい作業の会話を起こして、最初の依頼を送る(名前・作業フォルダ・モデル・エフォート)。モデルとエフォートは、仕事の種類に合う profile(get_usage の profiles)で選ぶのが基本。model・effort を書くと profile より優先する。会話はこの会話とは別に動き、この会話が終わっても動き続ける。空きメモリ・CPU・利用枠(pauseAtPct があるとき)に余裕が無いときは起こさずに理由を返す(force=true で無視)。名前は管理中の会話と重ねない。Claude Code の via="app"(Claude のデスクトップアプリでの既定)では、この道具は起こさずに、デスクトップアプリの mcp__ccd_session__start_session に渡す値(appStart)と、起こした後に update_session に渡す値(record)を返す(startInApp=true)。

Input Schema

NameRequiredDescriptionDefault
cwdYes作業フォルダ(絶対パス)
viaNoClaude Code だけ: app=Claude のデスクトップアプリの会話(サイドバーに出てピン止めできる)、bg=claude --bg。省略時は監視役が Claude のデスクトップアプリなら app、ターミナルなら bg
areaNo触る場所の一言(ファイル・画面・機能)。思いつきの振り分けに使う
nameYes会話の名前(仕事を一言で。管理中の会話と重ねない)
todoNoこの会話でやる TODO の番号。会話とつなぎ、会話が done になると TODO も済みになる
forceNo
modelNoprofile より優先。どちらも無ければ config の defaults.model、それも無ければ既定のモデル
effortNoreasoning effort(例 low / medium / high / xhigh)。profile より優先。省略時は既定
promptYes最初の依頼(何を・どこまで・報告のしかた)
profileNo仕事の種類(get_usage の profiles の name。例 design / debug / implement / review / writing / routine)
sandboxNoCodex だけ
approvalPolicyNoCodex だけ
permissionModeNoClaude Code だけ。省略時は config.json の claude.permissionMode、それも無ければ Claude のデスクトップアプリでは監視役と同じ権限モード(監視役より上は断られる)、ターミナル(claude --bg)では acceptEdits。監視役と同じでよければ省く

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.2

TDQS

A4.5/5.0
Behavior5/5

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

The description adds substantial behavior beyond the readOnlyHint=false annotation: the new conversation is independent and continues after the current conversation ends, resource shortages cause refusal with a reason unless force=true, names must not collide with managed conversations, and via="app" returns appStart/record values instead of starting the session. This is exactly the kind of mutation and side-effect context an agent needs before invoking start_session.

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 front-loaded with the core action and then covers profile/model precedence, persistence, resource gating, name uniqueness, and the app-mode fallback. It is dense but appropriately sized for a 13-parameter tool with complex behavior. Some parenthetical elaboration could be trimmed, but most sentences carry operational value.

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

Completeness4/5

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

For a complex 13-parameter tool with no output schema, the description covers the important behavioral contract: resource gating, force override, name uniqueness, conversation persistence, and app-mode return values. It does not describe the normal successful return shape, which leaves a small gap. Given the rich schema coverage, this is still a fairly complete definition.

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

Parameters4/5

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

Schema description coverage is very high at 92%, so the schema already documents most parameters. The description still adds meaningful semantics around the key interactions: profile comes from get_usage, model and effort override profile, force bypasses resource checks, and via="app" changes the tool's behavior. It does not explain every parameter, but it improves understanding of the most consequential ones.

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 first sentence states a specific verb and resource: creating a new work conversation and sending its first request, with name, working folder, model, and effort named. It also distinguishes this from continuing the current conversation by saying the new conversation runs separately and persists after this one ends. The special via="app" behavior further clarifies that this tool may not start a session directly in Claude Code desktop mode.

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?

It gives clear usage context: prefer a profile from get_usage that matches the work type, model/effort override profile, and force=true bypasses resource gating. It also describes the via="app" default and the appStart/record handoff. It does not explicitly compare against siblings such as send_message or update_session, so it stops short of full when/when-not guidance.

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