Skip to main content
Glama

list_sessions

List all active Kimi Code CLI sessions, including session IDs, titles, timestamps, working directories, and agent counts, sorted by last update.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回 session 数量上限
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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

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

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

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