Skip to main content
Glama

Kimi Session Orchestrator

License Version Node Python MCP Tools Skills

Kimi Code CLI 的 Loop Engineering PM 编排系统。 16 核心 + 14 可选 MCP 工具(可选组按部署开关,见 可选工具部署)——不手动 prompt Agent,而是设计自动 prompt Agent 的循环系统。

解决什么问题

问题

方案

上下文腐化 — session 越跑越笨,偏离规范

session-retire 一键快速退役接班 + loop-orchestrator 干净上下文派发

无法确认完工 — Agent 说"好了"但实际没好

grade_step LLM 评分验证 + loop 指纹检测,不过就重试

冷启动灾难 — 每次新 session 从零开始

from_session 注入 + 7-block 交接模板,5 步建完上下文

重复告知规范 — Agent 不记得项目约定

memory_set 一次录入 → 新 session 自动注入索引 → 按需拉取

超时截断 — 耗时任务被 MCP 30s 超时杀死

即发即返 + Bash 后台 Python 轮询(v2.16 首次调用自动写入 poll.py → 后续短命令引用 + poll-result-{sid}.txt),OS 进程退出自动通知

痛点

行业现状

本项目

上下文不可见

浏览器端无任何指示

poll_session WS 缓存优先 + bash 通知 [CTX_HIGH](v2.14)

会话交接繁琐

手写总结,容易遗漏

session-retire 全自动 pipeline(归档→7-block→接班)

多 Agent 编排

缺编排层,状态不可见

OrchestrationStore PM→子 session 追踪 + WS 实时推送

跨项目知识不共享

项目级记忆绑定单仓库

resolveProjectRoot + 双层注入(v2.13)

服务端崩溃

任务丢失,需手动重做

五层离线防御 + poll_command 动态端口适配重启

Related MCP server: Kiro CLI MCP Server

快速开始

git clone https://github.com/FirenzeClaw/kimi-session-orchestrator.git
cd kimi-session-orchestrator
# 0. 确认 Python ≥ 3.7(后台轮询依赖)
python3 --version || python --version

npm install && npm run build

# 1. 启动 Kimi Server(v2.24 起隧道启动时会自动激活,此步可跳过)
kimi web --no-open

# 2. 设置 token 并启动 Tunnel
export KIMI_SERVER_TOKEN="<printed-at-startup>"
npm start

注册到 ~/.kimi-code/mcp.json

{
  "mcpServers": {
    "kimi-session-orchestrator": {
      "command": "node",
      "args": ["<绝对路径>/dist/index.js"],
      "env": { "KIMI_SERVER_TOKEN": "<token>" }
    }
  }
}

/reload 即可使用。详见 完整安装指南

架构

用户 ──HTTP/WS──▶ Express Server ──REST──▶ Kimi Server
                       │                      │
         ┌─────────────┼──────────────┐       │
         ▼             ▼              ▼       │
   WorkflowEngine  SessionWatcher  PolicyEngine │
   MemoryStore(SQLite)  MessageQueue  OrchestrationStore
                       │
                   MCP stdio ──▶ Kimi Code CLI

工具概览

类别

工具

Session

create_session list_sessions get_session_info get_tunnel_status

任务

execute_prompt · chat_with_session* run_flow* execute_workflow* continue_workflow*

监控

poll_session list_io_records read_session_log · watch_session* get_watch_result*

模型

list_models — 列出可用模型别名(create_session 的 model 参数取值来源)

记忆

memory_set memory_get memory_list memory_delete memory_status memory_archive

验证

grade_step — LLM 自动评分(pass/fail + 详细反馈)

权限

list_policies* approve_tool* deny_tool*

工作流

learn_workflow* list_templates*

推送

stream_response* set_watch_output*

* = 可选工具(默认注册,KIMI_TUNNEL_OPTIONAL_TOOLS=core 时关闭,见下方章节)

完整工具参数见 API.md

Skill

10 个配套 skill,分为 Agent 级(新 session 自动加载)和 PM 级(按需调用):

Skill

级别

一句话

kimi-session-orchestrator

Agent

启动协议:auto 检测 → Q1 角色维度 → 按需加载 guide

loop-orchestrator

PM

/loop-orchestrator 一键启动 6 阶段自主循环

loop-contract-from-docs

PM

从 SPEC/PRD/PLAN/TASK 提取 AC、复杂度和 Loop Contract

loop-contract-from-idea

PM

一句话需求 → 5 轮追问 → 基线锁定 → Loop Contract

cron-scheduler

PM

定时自动化编排:cron.yaml 双写、自举续期链、run_lock 防重叠

session-retire

PM

退役→接班全自动 pipeline,近乎无损接力

xmind-orchestrated

Agent

困境分析——task session 独立上下文 + 零污染

xmind

Agent

本地子 Agent 困境分析(原版)

agent-session-monitor

Agent

无需 API 认证,wire.jsonl 尾部状态推断

mcp-async-tool

Agent

MCP 异步工具设计模式——解决 >30s 超时

安装:

# Agent 级
cp -r skills/kimi-session-orchestrator ~/.agents/skills/
cp -r skills/xmind-orchestrated ~/.agents/skills/
cp -r skills/xmind ~/.agents/skills/
cp skills/agent-session-monitor.md ~/.agents/skills/agent-session-monitor/SKILL.md
cp skills/mcp-async-tool.md ~/.agents/skills/mcp-async-tool/SKILL.md

# PM 级
cp -r skills/session-retire ~/.kimi-code/skills/
cp -r skills/loop-orchestrator ~/.kimi-code/skills/
cp -r skills/loop-contract-from-docs ~/.kimi-code/skills/
cp -r skills/loop-contract-from-idea ~/.kimi-code/skills/
cp -r skills/cron-scheduler ~/.kimi-code/skills/

记忆系统

三层架构——PM 一次性录入,session 自动继承。

L1: 项目知识库 (.kimi-tunnel/memory.db)
    PM: memory_set(ns, key, value)
    Session: create_session(memory_level) → 自动注入索引 → 自主 memory_get

L2: Session 上下文 (session:<id>/*)
    运行时更新,退役后 memory_archive 归档到 L1

L3: 学习沉淀 (learn skill → 向量库)
    从 L1+L2 提取可复用模式

v2.13+:支持跨项目双层注入——buildInjection()profile.cwd 自动生成全局正文 + 子项目索引导航表。

文档

文档

说明

API.md

Kimi Server API 0.27.0 实测版(v1 REST + v1/v2 WS,含 11 项破坏性变更清单;0.31.1 busy 漂移增量实测见 §五)

docs/coordinator-guide.md

PM 统筹准入规范

docs/loop-engineering-analysis.md

Loop Engineering 概念与项目对照

docs/loop-engineering-reference.md

Loop Engineering 全面参考(16 章,7 篇来源聚合)

specs/

7 个功能规格(001-007,含 cross-model grader 与 cron-scheduler)

docs/superpowers/specs/

架构设计文档(含 Loop Contract 双 Skill 设计)

docs/issues/

已修复问题记录(7 个,含 0.27 Web 引擎适配与 0.31.1 busy 漂移全记录)

远期调研(Roadmap)

方向

现状

价值

v2 channel RPC 迁移

0.24+ 引擎的 37 个 channel 已可自省(GET /api/v2/channels),但 /api/v2/ws 调用帧格式未确认(19 种候选帧实测均被静默忽略),需 Web UI 流量逆向或官方文档

agentRPCService 统一 RPC 面:goal 生命周期、plan/swarm 模式、compaction 控制、runShellCommand、task output——v1 REST 没有或不顺的能力

goal 端点接入 loop-orchestrator

GET /sessions/{id}/goal 已实测可用,编排侧未接入

目标模式编排的原生化

单 prompt 多 turn.started 场景

观察项,当前无症状

watch 输出在该场景可能截断

安装与部署

前置条件

  • Node.js ≥ 22(node:sqlite 内置 + tsc 编译)

  • Python ≥ 3.7(后台轮询脚本 poll_command 运行时依赖)

  • Kimi Code CLI ≥ 0.22.3(0.24+/0.27 新 Web 引擎自 v2.17 起适配;0.31.1 busy 语义漂移自 v2.21 起适配,见 API.md §五)

  • Git Bash(Windows)或 bash

环境变量

变量

必需

默认

说明

KIMI_SERVER_TOKEN

Kimi Server 启动时打印的 Bearer Token

KIMI_SERVER_URL

自动检测

覆盖 Kimi Server 地址(端口自动从 lock 检测)

TUNNEL_PORT

3456

Tunnel HTTP/WS 监听端口

KIMI_CODE_HOME

~/.kimi-code

Kimi Code 数据目录

KIMI_TUNNEL_OPTIONAL_TOOLS

all

可选工具开关:all=注册全部 30 个;core=仅 16 个核心工具(见下节)

可选工具部署

v2.23 起,14 个低使用率工具(使用率统计 0 次)拆为可选组,默认随 MCP server 注册;设 KIMI_TUNNEL_OPTIONAL_TOOLS=core 可整体关闭,仅保留 16 个核心工具(session 生命周期 + 监控 + 记忆 + 验证 + 模型)。

类别

可选工具

说明

审批流

list_policies approve_tool deny_tool

manual session + 策略审批路径(需配合 policy 使用)

工作流引擎

learn_workflow list_templates execute_workflow continue_workflow run_flow chat_with_session

模板驱动多步编排(实际使用走 execute_prompt + 后台轮询路线)

watch 族

watch_session get_watch_result continue_watch set_watch_output

MCP 内部轻量监听(备选方案)

推送

stream_response

WS 外部调试客户端推送

启用/禁用~/.kimi-code/mcp.jsonenv):

{
  "mcpServers": {
    "kimi-session-orchestrator": {
      "command": "node",
      "args": ["<绝对路径>/dist/index.js"],
      "env": {
        "KIMI_SERVER_TOKEN": "<token>",
        "KIMI_TUNNEL_OPTIONAL_TOOLS": "core"
      }
    }
  }
}

修改后 /reload 生效。源码保留在 src/tools/(可选 ≠ 删除),需要时改回 all 即可。协议级验证:core 模式注册 16 个、默认 30 个。

部署红线

#

规则

1

⛔ 不要硬编码 KIMI_SERVER_URL——端口每次启动可能不同

2

KIMI_SERVER_TOKEN 必须在 mcp.jsonenv

3

安装后执行 /reload

4

更新代码后需重装 skill:git pullnpm run build → 重装 → /reload

Linux

与上方完全一致,仅路径用绝对路径。自动端口检测、MCP stdio、跨平台 API 均兼容。

项目结构

src/          — TypeScript 核心(index, mcp-server, wire-client, workflow-engine, memory-store 等)
  tools/      — 16 核心 + 14 可选 MCP 工具(可选组开关见「可选工具部署」)
shared/       — 浏览器端 JS(API 客户端、状态管理、渲染、注入)
ext/          — Chrome MV3 扩展
userscript/   — Tampermonkey 用户脚本
skills/       — 10 个配套 Skill(含 Loop Contract 双 Skill + cron-scheduler)
templates/    — 工作流 YAML 模板
docs/         — 规格、设计文档、问题记录
specs/        — 功能规格(001-005)

FAQ

最常见根因:mcp.json 中硬编码了 KIMI_SERVER_URL删除该行——Tunnel 自动从 lock 文件检测端口。确认 kimi web 运行中 + token 正确。

确保 ~/.kimi-code/mcp.json 中注册了 kimi-session-orchestrator,然后 /reload。全局 mcp.json 对所有 session 生效——配置一次即可。

Tunnel 内置五层防御:过期 lock 清理 + 10s 心跳 + 断连判定 + 指数退避重连 + WS 独立重连。短时中断自动恢复,运行中的 task session 不受影响。

kimi web 未运行或已崩溃。v2.9.1 起 MCP stdio 优先启动,wire 离线时工具返回友好报错而非进程崩溃。

端口 3456 被 WSL2 绑定的 winnat 驱动划入动态排除范围。验证:

netsh int ipv4 show excludedportrange protocol=tcp | findstr 3456

如果有 3430-3529 输出说明命中。修复(管理员终端):

net stop winnat
netsh int ipv4 add excludedportrange protocol=tcp startport=54000 numberofports=100
net start winnat

原理:为 winnat 固定预留 54000-54099,释放随机占用的 3430-3529。WSL2 网络短暂中断(3-5 秒),数据和进程不受影响。

参与贡献

Bug / 功能请求 · Fork → PR · 提交前 npm run build 零错误。

License

MIT

Available Tools

29 tools
approve_toolA

放行被策略阻断的工具调用(仅 PM 使用)。scope=once 仅放行本次调用,scope=session 将工具加入 session 临时白名单。

ParametersJSON Schema
NameRequiredDescriptionDefault
scopeNoonce=仅本次调用, session=后续同类工具均放行once
block_idNo阻断事件 ID。从 poll_session 或 watch_result 的 blocks 中获取。
session_idNo目标 session ID
approval_idNoKimi Server 审批 ID(高级用法)

TDQS

A4.1/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses authorization requirement (PM only) and scope behavior. However, lacks details on post-approval actions (e.g., whether the blocked call is automatically re-executed or requires manual retry), and no mention of logging or side effects.

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 concise sentences in Chinese, front-loading purpose then explaining scope. No unnecessary words; every sentence is informative.

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?

Covers core functionality and parameter usage adequately. However, does not describe what happens after approval (e.g., automatic execution of the blocked call), nor how to obtain session_id or approval_id in typical use. Given no output schema, these gaps reduce completeness.

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 coverage is 100%, but description adds value by explaining scope semantics ('once' vs 'session') and the source of block_id ('from poll_session or watch_result blocks'). This provides context beyond the schema definitions.

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 tool's purpose: 'allow tool calls blocked by policy (PM only)', with specific verb '放行' and resource '被策略阻断的工具调用'. It distinguishes from sibling 'deny_tool' by being the approval counterpart.

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?

Explicitly states 'PM only', providing clear use context. Explains two scope options (once/session) and their effects. Does not explicitly mention alternatives, but sibling 'deny_tool' implies contrast.

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

chat_with_sessionA

向指定 session 发送任务(即发即返)。用 poll_session 跟踪进度。

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYes任务需求描述
policyNo任务策略: "read-only" / "safe-edit" / "full-access" / .yaml路径
auto_modeNo自动审批工具调用
session_idYes目标 session ID
skip_memoryNo跳过共享内存上下文注入(SPEC 002)。

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description effectively communicates key behavior: the tool is non-blocking ('send and return immediately') and requires polling via poll_session for progress tracking. This adequately informs the agent of the tool's async nature, though it could detail error handling or response structure.

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 concise with two efficient sentences, front-loading the primary action and then directing to the tracking counterpart. Every sentence serves a purpose with no waste.

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?

Given 5 parameters, complete schema descriptions, and no output schema, the description covers the core usage pattern (send, poll). It lacks details about return format or error states, but the essential context for using the tool correctly is present.

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 the baseline is 3. The tool description adds no additional semantics beyond the schema descriptions, which already define each parameter. No improvement or degradation.

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 tool's function: sending a task to a specified session and returning immediately. It uses a specific verb ('send'), clearly identifies the resource ('task' to 'session'), and distinguishes from sibling tools like poll_session by directing progress tracking there.

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?

The description provides clear guidance: use this tool to initiate a task and then poll with poll_session for progress. It implies a fire-and-forget pattern, which helps the agent decide when to use this vs. other tools like watch_session or poll_session directly. However, it could be more explicit about when not to use it.

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

continue_watchB

检查后台监听结果。若任务 session 已完成,自动提交下一步指令并启动新一轮后台监听,形成完整自动化循环。

ParametersJSON Schema
NameRequiredDescriptionDefault
watch_idYes当前 watch_id
next_instructionNo任务完成后发给 session 的下一步指令。提供后自动提交+启动新 watch。

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool checks, may submit, and may start a new watch, but lacks details on side effects (e.g., old watch status), prerequisites, error handling, or authorization needs. Some behavioral context is provided but not comprehensive.

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 a single sentence that is efficient and front-loaded, but it is somewhat dense with multiple clauses. Could be more concise by splitting into simpler sentences, but overall no wasted words.

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?

The description explains the tool's role in an automation loop, which is helpful. However, it does not mention the return value, error states, or what happens if the session is not completed. Given the lack of output schema and annotations, more detail would be beneficial for full understanding.

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 baseline is 3. The description adds context about how the parameters are used in the automation loop (e.g., 'watch_id' for current watch, 'next_instruction' triggers automatic submission), but does not substantially extend beyond what is already in the schema.

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 clearly states the tool checks background monitoring results and automatically submits the next instruction and starts a new watch if the session is completed. It provides a specific verb and resource, but does not explicitly differentiate from sibling tools like 'watch_session' or 'get_watch_result', which could cause confusion about when to use each.

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?

Usage is implied: after a task session is completed, to continue automation. However, there is no explicit guidance on when not to use this tool or what alternatives exist. The description relies on context to infer appropriateness.

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

continue_workflowA

对暂停的工作流执行决策:重试当前步骤、跳过、终止、或用自定义指令覆盖。用于处理工作流执行中遇到的阻塞。

ParametersJSON Schema
NameRequiredDescriptionDefault
decisionYes决策类型:retry=重新执行当前步骤, skip=跳过当前步骤, abort=终止工作流, manual=用自定义指令覆盖当前步骤
instructionNo自定义指令(仅 decision=manual 时使用),替换当前步骤的原始指令。
execution_idYes工作流执行 ID。从 execute_workflow 返回结果或 workflow_progress 推送中获取。

TDQS

A4/5.0
Behavior3/5

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

No annotations provided, so description must cover behavior. It lists the four decisions but does not elaborate on side effects (e.g., whether retry re-executes from scratch, whether abort is irreversible). The schema enum descriptions add some detail but not comprehensive behavioral transparency.

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 concise sentences that front-load the purpose and use case. No unnecessary words, every sentence adds 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 tool with no output schema and 3 well-documented parameters, the description covers the main functionality. However, it could be more complete by hinting at the outcome of each decision after use.

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 baseline is 3. The description adds minimal extra information beyond the schema. The phrase '用自定义指令覆盖' aligns with the manual decision but does not significantly enhance understanding.

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?

Description clearly states the tool's purpose: make decisions on paused workflows (retry, skip, abort, manual override). This distinguishes it clearly from sibling tools like execute_workflow (start new) or approve_tool (approvals).

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?

Description indicates usage when workflow is paused/blocked. While it doesn't explicitly mention when not to use or provide alternatives, the context of sibling tools makes it clear. A minor gap for explicit exclusions.

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

create_sessionB

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

ParametersJSON 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

TDQS

B3.4/5.0
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.

deny_toolA

拒绝被策略阻断或待审批的工具调用(仅 PM 使用)

ParametersJSON Schema
NameRequiredDescriptionDefault
block_idNo阻断事件 ID。从 poll_session 或 watch_result 的 blocks 中获取。
session_idNo目标 session ID
approval_idNoKimi Server 审批 ID(高级用法)

TDQS

A3.5/5.0
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 does not disclose effects of denial (e.g., whether it terminates the session, logs, or is reversible), rate limits, or authorization beyond PM.

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 extremely concise (one sentence) and front-loaded with the core action. It could benefit from slightly more structure but is efficient.

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 denial tool with 3 parameters and no output schema, the description lacks details on how to use each parameter in context, what the return value is, and the overall flow. This is insufficient for an agent to use reliably.

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% with adequate parameter descriptions. The tool description adds no extra parameter details, so baseline 3 is appropriate.

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 tool denies blocked or pending-approval tool calls, with a specific audience (PM only). It distinguishes from the sibling approve_tool by focusing on denial.

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?

The description gives context that the tool is for PM use and applies to blocked or pending-approval calls, but does not explicitly contrast with approve_tool or provide when-not-to-use scenarios.

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

execute_promptA

向目标 session 发送 prompt 并等待完整回复。通过 Kimi Server REST API 直接通信。默认排除思考链内容以节省 token。若回复模糊,可设置 include_thinking 获取思考内容确认意图。

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNo已废弃。受 MCP 超时限制,始终即发即返。用 poll_session / list_io_records 轮询进度。
policyNo任务策略。可选值: - "read-only": 只读(禁止写文件/执行命令) - "safe-edit": 安全编辑(禁止 shell 命令,可编辑文件) - "full-access": 全部允许(默认) - 自定义策略文件路径: 如 ".kimi-tunnel/policies/review.yaml"
promptYes要发送的 prompt 内容
auto_modeNo启用自动模式:自动审批所有工具调用(scope=session),无需人工确认。默认 false。
session_idYes目标 session ID。可从 list_sessions 获取。
timeout_msNo等待超时毫秒数,默认 5 分钟
skip_memoryNo跳过共享内存上下文注入(SPEC 002)。默认 false。
include_thinkingNo是否包含 AI 的思考过程。默认 false 以节省 token。当回复模糊或不明确时设为 true。

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description discloses key behaviors: it excludes thinking by default to save tokens, returns immediately regardless of the wait parameter, and communicates via REST API. It lacks details on error handling or side effects, but covers the main behavioral traits.

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 concise with four front-loaded sentences. Each sentence adds meaningful information: purpose, communication method, default behavior, and usage tip for thinking content. No waste.

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?

Given no output schema, the description should hint at the return value, but it does not. It also does not explain error scenarios. While it covers core functionality and polling guidance, it lacks completeness for a tool with 8 parameters and 2 required fields.

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 coverage is 100%, so parameters are already documented. The description adds value by explaining default behavior (exclude thinking) and giving a use-case for include_thinking (when replies are vague), going beyond the schema descriptions.

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 tool's purpose: sending a prompt to a target session and waiting for a reply. It specifies the communication method (Kimi Server REST API) and distinguishes itself from sibling tools like poll_session by noting that it returns immediately due to MCP timeout.

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?

The description provides context for when to include thinking content (when replies are vague) and explains the deprecated wait parameter, advising to use poll_session for progress. However, it does not explicitly state when not to use this tool or list all alternatives.

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

execute_workflowB

执行工作流模板:加载模板,创建任务 session,逐步下发指令,自适应调整,阻塞时暂停等待决策。

ParametersJSON Schema
NameRequiredDescriptionDefault
cwdNo工作目录,覆盖模板中定义的 projectCwd
modelNo模型标识符
policyNo任务策略: "read-only" / "safe-edit" / "full-access" / .yaml路径
thinkingNo思考级别
auto_modeNo自动审批工具调用。默认 true。
from_sessionNo接续的前置 session ID。
memory_levelNo冷启动内存注入级别。standard
template_nameYes模板名称,如 phase5-audit。可用 list_templates 查看可用模板。

TDQS

B3.2/5.0
Behavior3/5

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

The description discloses key behaviors: loading template, creating session, adaptive adjustment, pausing when blocked. But with no annotations, more details (e.g., side effects, permissions) would improve transparency.

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?

Single sentence covers the main workflow steps efficiently, though it could be structured into clearer bullet points.

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?

Given 8 parameters and no output schema or annotations, the description covers the core flow but lacks usage guidelines and deeper behavioral details for a complex tool.

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 descriptions already explain parameters. The description only adds context for template_name (mentioning list_templates). Baseline 3 is appropriate.

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 clearly states the tool executes a workflow template, loads it, creates a session, and issues instructions, distinguishing it from sibling tools like create_session or learn_workflow. However, 'adaptive adjustment' is vague.

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 guidance on when to use this tool versus alternatives like run_flow or execute_prompt. Lacks context for prerequisites or exclusions.

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

get_session_infoB

获取指定 session 的详细信息,包括标题、工作目录、创建/更新时间、agent 列表和最后一条 prompt。

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYesSession ID,格式如 session_<uuid> 或 ses_<uuid>。可从 list_sessions 获取。

TDQS

B3.2/5.0
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 lists returned fields but does not disclose that the tool is read-only, whether authentication is required, or any side effects. A 'get' tool should explicitly state its read-only nature.

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 a single concise sentence that covers the core purpose and return content. It is front-loaded and efficient, but could be slightly more structured with explicit read-only indication.

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?

For a simple get tool with one parameter and no output schema, the description is adequate but not complete. It fails to mention error conditions, permission requirements, or that the tool is idempotent. Additional details would improve completeness.

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% with detailed parameter description for session_id. The tool description adds context about return fields but does not add significant meaning beyond the schema for the parameter itself. Baseline 3 is appropriate.

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?

Description clearly states the tool retrieves detailed session info and lists specific fields (title, working directory, etc.). However, it does not distinguish itself from sibling tools like list_sessions or read_session_log, leaving the agent to infer the difference from the name alone.

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 provides no explicit guidance on when to use this tool versus alternatives. It implicitly suggests using it when session details are needed, and hints that session_id can be obtained from list_sessions, but lacks when-not or alternative tool recommendations.

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

get_tunnel_statusA

获取调试隧道当前状态:已连接客户端数、Wire 协议连接状态、消息队列长度、运行时间。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description indicates a read-only operation returning status metrics. It does not disclose potential side effects, latency, or freshness of data, but the fields imply no destructive actions.

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?

Single sentence front-loading the action and listing fields. Every word serves a purpose.

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?

Given no output schema, the description adequately enumerates return fields. It covers the tool's function and outputs, though omits format or response structure details.

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?

No parameters exist, so baseline is 4. The description adds no param information since none is needed.

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 it retrieves the current status of the debug tunnel, listing specific fields: connected clients, Wire protocol status, message queue length, and running time. This distinguishes it from sibling tools which have different purposes.

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 guidance on when to use this tool versus alternatives. Does not mention prerequisites, caveats, or scenarios where it should be avoided.

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

get_watch_resultB

获取 watch_session 的后台监听结果。返回 null 表示仍在等待中。

ParametersJSON Schema
NameRequiredDescriptionDefault
watch_idYeswatch_session 返回的 watch_id

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It mentions the asynchronous nature (awaiting result) and the null return while waiting, but does not disclose whether the tool is idempotent, if repeated calls are safe, or if there are any side effects. More behavioral context is needed.

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 two short sentences, front-loaded with the main purpose and a key behavioral note. No redundant words; every sentence adds value.

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?

Given the low complexity (one parameter, no output schema), the description is minimally adequate. However, it could be more complete by mentioning that it is a non-blocking poll, the expected response format beyond null, or how it relates to other tools like set_watch_output.

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?

The input schema has one parameter with 100% coverage in its description. The tool description adds no extra meaning beyond what the schema already provides. Thus a baseline score of 3 is appropriate.

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 clearly states it retrieves the result of a watch_session. The verb '获取' (get) and resource '后台监听结果' (background monitoring result) are specific. It does not explicitly differentiate from siblings like poll_session, but the pairing with watch_session is contextually evident.

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 indicates that null means still waiting, which implies it is meant to be called after watch_session. However, it does not provide explicit guidance on when to use this tool versus alternatives like poll_session, nor does it mention any prerequisites or conditions.

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

grade_stepA

对 task session 的产出进行 LLM 自动评分验证。返回 pass/fail 及详细反馈。grader 是筛子非裁判——pass 不代表完美,fail 也不一定是真问题。

ParametersJSON Schema
NameRequiredDescriptionDefault
focusNo评分侧重维度:completeness=完整度, accuracy=准确性, format=格式规范
criteriaYes验收标准,自由文本。逐条明确可量化/可判定的条件
session_idYes目标 task session ID

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description adds behavioral context via the sieve metaphor, indicating the grading is not absolute. However, it does not disclose whether the tool is read-only, requires authentication, or has rate limits, leaving some gaps.

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 very concise: two sentences plus a metaphor, front-loading the purpose and adding nuance without unnecessary words.

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?

For a simple tool with 3 parameters and no output schema, the description covers purpose and return type but does not specify the output structure or error handling. It is adequate but not fully complete.

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 does not elaborate on parameter meanings beyond what the schema already provides, adding minimal value.

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 clearly states the tool performs LLM automatic scoring verification on task session output, returning pass/fail and detailed feedback. This is a specific verb-resource pair, though it does not explicitly distinguish from sibling tools like approve_tool.

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 implies usage for grading session outputs and provides cautionary interpretation (pass != perfect, fail != real problem). However, it lacks explicit guidance on when to use this tool versus alternatives such as approve_tool or deny_tool.

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

learn_workflowB

从口头描述或历史 session 中学习工作流,生成可复用的 YAML 模板。

ParametersJSON Schema
NameRequiredDescriptionDefault
cwdYes任务 session 的工作目录绝对路径
nameYes模板名称,作为文件标识。如 phase5-audit
stepsNo直接提供的步骤数组,优先于 description
spec_docsNo项目规范文档路径列表
descriptionNo口头描述的工作流步骤。AI 应从自然语言描述中提取步骤序列并传入此字段,格式:'1. 第一步\n2. 第二步...' 或用换行分隔。
from_sessionNo从指定 session 的 IO 记录中提取用户 prompt 作为步骤。优先于 description 和 steps。

TDQS

B3.2/5.0
Behavior2/5

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

No annotations provided, so description bears full burden. It fails to disclose side effects (e.g., file creation, storage location), permissions needed, or whether it modifies state. Only states the abstract purpose.

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?

Single sentence is concise and front-loads key purpose. However, it is in Chinese, which may be less accessible for some AI agents, and could be slightly more structured.

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?

Description is adequate but incomplete: fails to explain where the YAML template is saved, output details, or precedence rules among parameters (though schema covers these). With 6 parameters and no output schema, more context is needed.

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 3 applies. The description adds no extra parameter semantics beyond what the schema already provides (e.g., precedence of steps/description/from_session is in schema but not in description).

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 clearly states the tool learns workflows from verbal descriptions or historical sessions and generates reusable YAML templates. This distinguishes it from sibling tools like execute_workflow, but explicit differentiation is missing.

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 implies when to use (learning workflows), but lacks explicit when-not-to-use or alternative references. Given many sibling tools, exclusion guidance would be helpful.

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

list_io_recordsA

快速列出 session 的输入输出记录。仅提取用户 prompt 和助手文本回复,过滤所有 tool_call/thinking/step_end 噪音。用于快速了解对话流程。

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo返回记录数量上限
session_idYes目标 session ID,如 session_<uuid>。可从 list_sessions 获取。
max_content_lengthNo每条记录内容的最大字符数

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It transparently discloses the filtering behavior (only user prompts and assistant replies, removing tool calls, thinking, step_end). It does not discuss potential permissions or mutability, but as a listing operation, it is sufficiently transparent about its read-only data reduction.

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 extremely concise, consisting of three sentences that front-load the main action (列出输入输出记录), explain the filtering behavior, and state the use case. Every sentence earns its place with no redundancy or waste.

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?

While the description covers purpose, filtering, and use case, it lacks any mention of the output format or structure. Since there is no output schema, the description should ideally describe what the returned data looks like (e.g., array of objects with prompt and response). This gap reduces completeness for a tool with three parameters and no output schema.

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?

All three parameters (session_id, limit, max_content_length) have descriptions in the input schema, providing adequate semantics. The overall description does not add parameter-specific information beyond the schema, so the baseline score of 3 is appropriate given 100% schema coverage.

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 tool lists input-output records of a session, specifically extracting only user prompts and assistant text replies while filtering out tool_call/thinking/step_end noise. It distinguishes from sibling tools like read_session_log by emphasizing noise reduction for quick conversation flow understanding.

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?

The description provides a clear use case ('用于快速了解对话流程' - to quickly understand conversation flow). It implies when to use this tool but does not explicitly mention when not to use or name alternative sibling tools, though context from sibling names suggests differentiation.

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

list_policiesA

列出所有可用的权限策略。包括内置策略(read-only/safe-edit/full-access)和项目 .kimi-tunnel/policies/ 下的自定义策略文件。每个策略附带验证状态。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

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

No annotations provided. Description implies a read operation ('list'), which is sufficient for a simple list tool. However, it does not explicitly state safety, auth needs, or side effects. Minimal additional behavioral context beyond the action.

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 concise sentences front-loading the main action and adding key detail (built-in vs custom, verification status). No wasted words.

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?

Given no output schema and no annotations, the description adequately explains what the tool returns (policy types and verification status). Missing details like ordering or pagination, but for a zero-parameter list tool, it is mostly complete.

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?

No parameters exist, and schema coverage is 100%. Baseline 3 as per rule. Description adds no parameter-specific meaning but clarifies the output scope (built-in vs custom policies), which is mildly helpful.

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?

Description clearly states the tool lists all available permission policies, including built-in and custom types, with verification status. Differentiates from sibling list tools (e.g., list_sessions) by specifying resource type.

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?

No explicit usage guidelines or when-not-to-use. Implies usage for listing policies, but does not name alternatives or exclusions. Adequate but not informative.

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

list_sessionsA

列出所有 Kimi Code CLI session。返回 session ID、标题、创建/更新时间、工作目录和 agent 数量。按更新时间倒序排列。

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo返回 session 数量上限

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It accurately describes a read operation (listing) and the output structure. It does not mention side effects, but for a list operation, transparency is adequate.

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 efficiently conveys purpose, output fields, and sorting order. Every part is necessary and well-structured.

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

Completeness5/5

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

For a simple listing tool with one optional parameter and no output schema, the description is complete: it states what it lists, the fields returned, and the sort order. No critical gaps exist.

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% for the single parameter 'limit', so baseline is 3. The description does not add extra meaning or context beyond the schema, which already specifies default, min, max, and description.

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 '列出' (list), the resource '所有 Kimi Code CLI session' (all sessions), and the scope. It distinguishes from siblings like create_session and get_session_info by focusing on listing all sessions with specific fields.

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 implies usage for obtaining a list of all sessions but does not explicitly mention when to use or when not to use, nor does it reference alternative tools like get_session_info for details. Usage is implied but not guided.

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

list_templatesA

列出所有可用的工作流模板。返回模板名称、版本、步骤数、描述。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns specific fields (name, version, steps, description), but does not mention authentication requirements, side effects, or potential pagination. Some behavioral context is given, but it is not comprehensive.

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 extremely concise with two sentences. It front-loads the main action and includes only essential information, no wasted words.

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?

Given the tool's simplicity (no parameters, no output schema, no annotations), the description covers the basic purpose and return values. However, it lacks context about authentication, ordering, or potential limitations, which would make it more complete. Still sufficient for a straightforward list operation.

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?

The tool has zero parameters and the schema coverage is 100% (empty schema). The description correctly implies no arguments are needed, which aligns with the schema. Per scoring guidelines, zero parameters earns a baseline of 4, and the description adds no unnecessary information.

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 it lists all available workflow templates and specifies the returned fields (name, version, number of steps, description). It effectively distinguishes this tool from sibling tools like list_sessions (sessions) and list_io_records (records) by targeting workflow templates specifically.

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 implies use when needing a list of workflow templates, but provides no explicit guidance on when not to use it or how it compares to alternatives. No exclusion criteria or alternative tools are mentioned.

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

memory_archiveA

将指定 session 的 L2 findings 归档为 L1 learnings。PM 审查后调用。

ParametersJSON Schema
NameRequiredDescriptionDefault
keysNo指定要归档的键名,省略则归档该 session 全部 findings。
projectNo目标项目的绝对路径(如 D:/code/project-a)。省略则使用当前项目。
session_idYes要归档的源 session ID。
target_namespaceNo目标命名空间,默认 project/learnings。project/learnings

TDQS

A3.9/5.0
Behavior3/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 discloses the main action (archival from L2 to L1) but lacks details on side effects (e.g., whether L2 findings are deleted), permissions needed, or idempotency. Adequate but could be more transparent.

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 short sentence that conveys the core purpose efficiently. No wasted words, and it is front-loaded.

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?

Given no output schema and no annotations, the description is minimal. It does not explain what L2 findings vs L1 learnings entail or the exact archival semantics. Adequate for a simple tool but lacks depth for a complex domain.

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 the schema already describes all parameters. The description adds no extra meaning beyond the schema, so a baseline of 3 is appropriate.

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 tool archives L2 findings from a session into L1 learnings, specifying the direction (L2 to L1) and a precondition (PM review). This distinguishes it from generic memory operations like memory_set or memory_delete.

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?

The description includes a usage condition ('PM 审查后调用' meaning 'call after PM review'), providing clear context. It does not explicitly mention when not to use or alternatives, but the context is sufficient.

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

memory_deleteB

删除指定键。仅 PM 或写入者有权删除。

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYes要删除的键名。
projectNo目标项目的绝对路径(如 D:/code/project-a)。省略则使用当前项目。
namespaceYes命名空间路径。

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only notes permission requirements (destructive nature implied but not stated). It lacks information about effects on success/failure, whether the operation is permanent, or any side effects, which is critical for a deletion tool.

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 a single sentence, concise and to the point. It could be slightly more structured or front-loaded with critical info, but it is not verbose.

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?

Given no output schema and no annotations, the description is incomplete. It does not explain the irreversible nature of deletion, error handling, or what happens to related data. For a potentially destructive tool, more context is needed.

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?

The schema covers all three parameters with descriptions (100% coverage). The tool description adds no additional meaning to the parameters, so the baseline score of 3 is appropriate.

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 clearly states the action (delete) and the resource (key). It is specific enough to understand the core function, but it does not differentiate from sibling tools like memory_archive, which might serve a similar purpose.

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 mentions who is authorized to use the tool (PM or writer), providing a usage constraint. However, it does not specify when to use this tool versus alternatives like memory_set or memory_archive, nor does it include any exclusions or context for appropriate use.

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

memory_getA

读取指定命名空间下的条目。不指定 key 则返回全部条目。支持过滤已过期条目。

ParametersJSON Schema
NameRequiredDescriptionDefault
keyNo条目键名,省略则返回该 namespace 下全部条目。
projectNo目标项目的绝对路径(如 D:/code/project-a)。省略则使用当前项目。
namespaceYes命名空间路径,如 "project/meta"。
include_expiredNo是否包含已过期条目。

TDQS

A3.8/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. It explicitly states read operation (读取) and discloses key behaviors: returns all entries if key omitted, supports expired filtering. No mention of performance or auth, but sufficient for a read 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 succinct sentences with no extraneous information. Action is front-loaded ('读取指定命名空间下的条目'), and key variations are covered efficiently.

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?

For a read tool with 4 parameters and no output schema, the description omits the return format (e.g., single JSON object, list). It adequately covers input behavior but leaves the output structure unspecified, which an agent might need.

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 coverage is 100% with descriptions for each parameter. The description adds practical context: omitting key returns all entries, and the include_expired parameter enables filtering. This enriches understanding beyond the schema alone.

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?

Description clearly states it reads entries under a namespace, and describes key behaviors (all entries vs specific, expired filtering). However, it does not differentiate from similar sibling tools like memory_list, though the 'get' vs 'list' distinction is implied.

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?

Description implies when to use (to read entries) and mentions the include_expired parameter, but lacks explicit guidance on when not to use it or alternatives. Sibling tools like memory_set or memory_delete suggest different purposes, but no direct comparison.

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

memory_listA

列出指定命名空间下所有键名,不含值体。支持前缀匹配快速浏览。省略参数列出所有命名空间。

ParametersJSON Schema
NameRequiredDescriptionDefault
projectNo目标项目的绝对路径(如 D:/code/project-a)。省略则使用当前项目。
namespaceNo命名空间前缀,如 project/。省略则列出全部。

TDQS

A4.2/5.0
Behavior3/5

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

No annotations provided, so the description carries the burden. It discloses the tool lists keys without values and supports prefix matching, but lacks details on pagination, limits, or error handling. It does not contradict annotations.

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 concise sentences with no waste. The purpose is front-loaded, and every sentence adds valuable information.

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 simple list operation with two optional parameters and no output schema, the description is fairly complete. It explains return type (keys only), parameter usage, and omission behavior. Minor gaps: no mention of rate limits or result limits.

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 coverage is 100% and both parameters have descriptions. The description adds context: project is an absolute path, namespace is a prefix, and omitting parameters lists all namespaces. This adds value beyond the schema.

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 tool lists key names under a specified namespace without values, and mentions prefix matching and the effect of omitting parameters. It distinguishes from siblings like memory_get (which returns values) and memory_delete.

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?

The description provides guidance on prefix matching and how omitting parameters lists all namespaces. It implies when to use different parameters but does not explicitly state when not to use the tool or compare to alternatives.

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

memory_setA

写入一条键值对到指定命名空间,自动记录写入时间和来源 session。若 key 已存在则覆盖(upsert),version 递增。

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYes条目键名,不含 /。如 "tech_stack"、"coding_conventions"。
valueYes条目值,可为 JSON 字符串或纯文本。
expireNo标记为已过期。PM 可在规范更新后标记旧条目。
projectNo目标项目的绝对路径(如 D:/code/project-a)。省略则使用当前项目。
namespaceYes命名空间路径,如 "project/meta"、"session/abc123/findings"。必须以 project/ 或 session/ 开头。
session_idNo来源 session ID,用于追踪。

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses upsert behavior, version increment, and automatic recording of write time and source session. However, it does not discuss side effects like potential size limits or permission requirements.

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 sentence that is front-loaded and concise, covering the essential behavior without unnecessary words.

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 set tool with 6 parameters and no output schema, the description covers the main action and upsert behavior. It lacks details on version semantics and expiration implications, but is reasonably complete.

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% with each parameter described. The description adds overall context but does not provide additional meaning beyond the schema. Baseline 3 is appropriate given schema richness.

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 it writes a key-value pair to a namespace with upsert behavior and version increment. It distinguishes itself from sibling tools like memory_get (read) and memory_list (list) by being the write operation.

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 implies usage for storing data, but does not explicitly state when to use or when to avoid. It lacks exclusion criteria or alternatives, though the context of sibling tools provides some guidance.

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

memory_statusA

查看当前项目知识库整体状态:条目数、最后更新时间、过期条目列表、各命名空间分布。

ParametersJSON Schema
NameRequiredDescriptionDefault
projectNo目标项目的绝对路径(如 D:/code/project-a)。省略则使用当前项目。

TDQS

A4.1/5.0
Behavior4/5

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

Since no annotations are provided, the description carries full responsibility. It clearly states the kinds of information returned, indicating a read-only query. No side effects are mentioned, and the description is consistent with the tool's name. Could be improved by noting that it does not modify data.

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, efficient sentence that lists all relevant output items without unnecessary words. It is well-structured and front-loaded with the core action.

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

Completeness5/5

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

Given the low complexity (one optional parameter, simple output), the description is fully adequate. It covers the tool's scope and output content comprehensively, despite the absence of an output schema.

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% for the single parameter 'project', so the baseline is 3. The tool description does not add extra semantic meaning beyond what the schema already provides (absolute path, optional, defaults to current project).

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 tool's purpose: viewing the overall status of the project knowledge base, listing specific metrics (entry count, last update, expired entries, namespace distribution). It distinguishes itself from sibling tools like memory_list and memory_get, which focus on individual entries or lists, not aggregated status.

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 implies usage for checking aggregated knowledge base status, but does not explicitly state when to use this tool versus alternatives such as memory_list or memory_get. It provides context about the optional project parameter but lacks direct guidance on selection criteria.

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

poll_sessionA

轮询 session 运行状态。返回结构化状态报告,优先使用 WebSocket 推送缓存(零 I/O)。

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes目标 session ID

TDQS

A4/5.0
Behavior4/5

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

In the absence of annotations, the description carries the full burden of behavioral disclosure. It reveals that the tool preferentially uses WebSocket push cache for zero I/O, indicating it is a lightweight read operation. This transparency about caching and efficiency adds value beyond the basic purpose.

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 sentence that concisely conveys the action, resource, output, and behavioral trait. Every word earns its place; there is no fluff or redundancy.

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 simple tool with one parameter and no output schema, the description provides sufficient context: it states what it does, what it returns (structured status report), and how it operates (caching). It could be more detailed about the report structure, but overall it is adequate.

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?

The input schema already provides a description for the single required parameter (session_id), and the description does not add any additional meaning or usage context for the parameter. With 100% schema description coverage, the baseline score of 3 is appropriate.

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 that the tool polls session running status and returns a structured status report. It uses a specific verb ('poll') and identifies the resource. It implicitly distinguishes from siblings like 'watch_session' and 'get_session_info' by focusing on polling and caching.

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 implies usage for polling session status efficiently via WebSocket cache, but it does not provide explicit guidance on when to use this tool versus alternatives (e.g., 'watch_session', 'get_session_info'). No when-not-to-use or exclusion criteria are given.

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

read_session_logA

读取指定 session 的对话日志。返回最近的消息条目、最后一条用户 prompt、最后一条助手回复、最近调用的工具、以及当前 turn 是否已完成。用于多轮编排时检测目标 session 的处理状态。

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo返回条目数量上限
after_lineNo起始行号。传 0 从日志开头返回前 N 条;传 >0 仅返回该行号之后的增量条目。
session_idYes目标 session ID,如 session_<uuid>
include_thinkingNo是否包含思考过程条目
max_content_lengthNo每条日志内容的最大字符数

TDQS

A3.9/5.0
Behavior3/5

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

Only annotations missing; description enumerates returned fields but does not disclose that it's read-only, side effects, or permissions. Adequate but not extra.

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?

Three sentences, concise and front-loaded with purpose. Could be structured slightly better but overall efficient.

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?

Given no output schema and 5 parameters, description provides sufficient context about purpose and return values, though could mention output format hints.

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 3 is appropriate. Description adds no additional parameter meaning beyond what schema 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?

Description clearly states it reads session conversation logs, lists specific returned fields, and identifies use case in multi-turn orchestration, which distinguishes it from siblings like poll_session.

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?

Explicitly says '用于多轮编排时检测目标 session 的处理状态' providing clear usage context, but does not specify when not to use or offer alternatives.

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

run_flowA

分步流程执行引擎。创建 session 后逐步提交任务,每步完成后自动提交下一步。即发即返,通过 poll_session 跟踪流程进度。

ParametersJSON Schema
NameRequiredDescriptionDefault
cwdYes工作目录的绝对路径
modelNo模型标识符
stepsYes步骤描述数组
policyNo任务策略: "read-only" / "safe-edit" / "full-access" / .yaml路径
thinkingNo思考级别
auto_modeNo自动审批工具调用
from_sessionNo接续的前置 session ID。
memory_levelNo冷启动内存注入级别。standard

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must disclose all behavioral traits. It explains the asynchronous immediate response and polling mechanism, but fails to mention error handling, statefulness, or destructive potential. The lack of annotations places a heavier burden that is not fully met.

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 three sentences long, with each sentence serving a distinct purpose: defining the tool, explaining the workflow, and describing the response behavior. It is front-loaded and contains no redundant information.

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?

Given the complexity (8 parameters, no output schema), the description covers the high-level execution flow but lacks details on return values, error scenarios, and required parameters. It hints at response behavior but does not fully equip an agent to understand the tool's complete behavior.

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 all parameters have descriptions. The tool description adds context about step progression and session creation but does not elaborate on individual parameters beyond what the schema provides. Thus, it meets the baseline without adding significant extra semantic value.

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 it's a step-by-step flow execution engine that creates sessions and submits tasks progressively, with automatic progression and tracking via poll_session. This distinguishes it from siblings like 'execute_workflow' or 'create_session' by emphasizing sequential step execution and polling.

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?

The description implies usage for multi-step workflows where steps are executed sequentially and automatically, and tracks progress via poll_session. Though no explicit 'when not to use' or alternatives are given, the context is clear enough for an agent to decide to use this tool for step-by-step execution.

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

set_watch_outputA

设置监听结果文件路径。设置后每次 prompt.completed 时自动写入结果到该文件,统筹 session 读取即可获取任务回复。

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYes状态文件的绝对路径,如 /c/Users/admin/watch-status.json

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It states that results are automatically written to the file on prompt.completed, which is useful. However, it does not mention whether the file is overwritten or appended, nor the required permissions or error handling.

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 sentence in Chinese, concise and front-loaded with the main action. Every word provides value, and there is no redundancy.

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?

Given no output schema, the description should explain return values, which it does not. It adequately describes the setup behavior but lacks details on success/failure outcomes or side effects. It is moderately complete for a simple setter.

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 the schema already describes the 'path' parameter as an absolute path with an example. The description adds no additional parameter information beyond the schema, so a baseline of 3 is appropriate.

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 uses a specific verb ('设置' - set) and a clear resource ('监听结果文件路径' - watch result file path). It also explains the effect (automatic writing on prompt.completed), distinguishing it from siblings like 'get_watch_result' which are getters.

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?

The description provides clear context: use it to set the path for automatic writing after prompt.completed. While it doesn't explicitly state when not to use, the context implies it should be used before watching, and siblings like 'get_watch_result' suggest alternatives for reading.

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

stream_responseB

将处理结果实时推送给所有连接的外部调试客户端。客户端通过 WebSocket 实时接收响应,无需轮询。

ParametersJSON Schema
NameRequiredDescriptionDefault
contentYes要推送给客户端的响应内容
in_reply_toNo关联的原始消息 ID

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavior. It mentions WebSocket and real-time delivery but omits critical details: error handling, prerequisites (client connection), rate limits, or side effects. This is insufficient for an agent to fully understand operational consequences.

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?

Extremely concise: two sentences front-load the primary purpose and mechanism. Every word adds value with no redundancy.

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?

Given the simplicity of parameters and lack of output schema/annotations, the description is incomplete. Missing: prerequisites (client connection), error scenarios, behavior when no clients are connected, and any additional constraints. A more thorough description is needed for safe invocation.

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% with two parameters described. The description adds no additional meaning beyond the schema; it does not clarify the nature of 'content' or the purpose of 'in_reply_to'. Baseline score of 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?

Description clearly identifies the tool's function: real-time push of processing results to connected debugging clients via WebSocket. It distinguishes from polling by stating '无需轮询', but does not explicitly name sibling tools like 'poll_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?

Implied usage scenario: real-time streaming is preferable to polling. However, no explicit when-to-use or when-not-to-use guidance is provided, and no alternatives are mentioned despite the presence of 'poll_session' in sibling tools.

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

watch_sessionA

启动后台监听任务 session 的完成状态。提交任务后调用此工具,tunnel 通过 WS 主动等待完成。完成后用 get_watch_result 获取回复。

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes要监听的目标 session ID

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It mentions background listening and WebSocket waiting, but lacks details on destructive behavior, authentication, or error states. Adequate but not thorough.

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 sentences provide essential information with no wasted words. The description is front-loaded with purpose and usage, making it easy to parse.

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 simple tool with one parameter and no output schema, the description covers purpose, usage context, and next steps. Some details like failure handling are missing, but overall it is complete enough for a basic monitoring tool.

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% with a clear parameter description. The tool description does not add extra meaning beyond what the schema provides, so baseline 3 is appropriate.

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 tool starts a background listening task for session completion status, explicitly distinguishes from siblings like poll_session (polling) and get_watch_result (retrieving results), and specifies when to call it.

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?

The description indicates when to use (after submitting a task) and what to do after (use get_watch_result), providing good context. It does not explicitly mention when not to use, but the guidance is sufficient for correct invocation.

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

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but there is some potential overlap between 'run_flow' and 'execute_workflow' (both are workflow execution tools) and between 'chat_with_session' and 'execute_prompt' (both send messages to sessions). However, descriptions clarify the differences.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (e.g., 'create_session', 'list_sessions', 'memory_get'). Even tools with prefixes like 'memory_' maintain consistency within their group.

Tool Count4/5

28 tools is slightly above the typical range, but the server covers session management, workflow execution, memory storage, policy control, and tunnel monitoring, justifying the count. It could potentially be trimmed by merging some related tools.

Completeness4/5

The tool set covers CRUD for sessions (create, list, get, but no delete/update) and workflows (execute, learn, list, but no delete/update). Memory operations are complete with set, get, list, delete, and status. Missing session deletion is a minor gap.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Execute terminal commands locally or remotely via SSH with session persistence and environment variable support. Manage terminal sessions that maintain state for up to 20 minutes, enabling efficient command execution workflows. Connect using stdio or SSE for flexible integration with AI models and a
    1
    2
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Windows-first MCP bridge for Kimi Code CLI, exposing code analysis, editing, sessions, and diagnostics as tools for AI agents.
    6
    26
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Bridges MCP clients to Moonshot AI's Kimi Code CLI, enabling file analysis, brainstorming, batch tasks, code reviews, and session management within editors like Claude Desktop and Cursor.
    14
    82
    1
    MIT

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