Skip to main content
Glama

create_session

Initiate a Kimi Code session with customized work directory, permission mode, and memory level for streamlined debugging and session orchestration.

Instructions

创建新的 Kimi Code session。可指定工作目录和权限模式(auto/manual/yolo)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYes工作目录的绝对路径,如 D:/code/glass-desktop/scene
modelNo模型标识符,如 deepseek/deepseek-v4-pro
titleNoSession 标题,可选
policyNo任务策略。可选值: - "read-only": 只读(禁止写文件/执行命令) - "safe-edit": 安全编辑(禁止 shell 命令,可编辑文件) - "full-access": 全部允许(默认) - 自定义策略文件路径: 如 ".kimi-tunnel/policies/review.yaml"
thinkingNo思考级别,默认 max
from_sessionNo接续的前置 session ID,自动拉取其 handoff 交接信息注入到首条 prompt。
memory_levelNo冷启动内存注入级别。off=不注入, minimal=仅项目元信息, standard=meta+decisions(默认), full=meta+decisions+risks+learningsstandard
permission_modeNo权限模式:auto=自动审批所有工具调用,manual=需确认,yolo=超级自动auto
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions parameter specification but omits behavioral traits like side effects, prerequisites, or return value. The schema covers input, but behavioral context is minimal.

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?

The description is a single concise sentence that delivers the core purpose upfront. Every word is necessary, with no wasted text.

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 8 parameters and no output schema, the description provides insufficient context. It does not explain the concept of 'Kimi Code session', lifecycle, or how to interact with the created session, which is essential given the array of sibling tools.

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 100%, so baseline is 3. The description highlights two key parameters (cwd and permission_mode) but adds no new semantics beyond what the schema already provides.

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 description clearly states the verb 'create' and the resource 'new Kimi Code session', specifying the main action. It distinguishes from sibling tools like 'chat_with_session' by indicating it initiates a new session.

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 description does not provide explicit when-to-use or when-not-to-use guidance. While the name implies creation, no alternatives or exclusions are mentioned, leaving the agent to infer usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FirenzeClaw/kimi-session-orchestrator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server