Skip to main content
Glama

kilo_session_fork

Fork an existing Kilo session at a chosen checkpoint to explore an alternative implementation path in parallel.

Instructions

Fork an existing Kilo session at a specific checkpoint to explore an alternative implementation path in parallel.

Tool call template

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

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>"
    },
    "name": "kilo_session_fork"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idNoOptional message_id to branch/fork from
session_idYesThe session_id of the Kilo session to fork

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. 'In parallel' usefully hints that the original session survives the fork rather than being consumed or overwritten, which is the key behavioral question for a fork. It does not state whether the fork requires the session to be idle, whether it copies full history, or any limits, leaving real gaps for a state-mutating 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?

One sentence, front-loaded with the action and resource, with the motivating purpose trailing behind. No filler or repetition of the title.

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?

An output schema and complete parameter documentation exist, so return values and argument shape need no explanation. However, this is a state-changing branch operation with zero annotations, and the description never addresses what happens to the source session, prerequisites such as session state, or how the fork relates to revert/cleanup. For this level of complexity the definition is thin.

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 both session_id and message_id described in the schema, so the baseline is 3. The description adds a little by framing the fork point as a 'checkpoint', reinforcing that message_id acts as a branch point, but it gives no convention for omitting it (the schema default of null hints at forking from the latest state).

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 names a specific verb (fork) and resource (an existing Kilo session), plus the point of the operation (branching at a checkpoint to pursue a parallel path). It is clearly distinct from read-only siblings like kilo_get_session_todo. It stops short of naming a near-neighbor such as kilo_session_revert or kilo_create_worktree as an alternative, so it stops at 4.

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 clause 'to explore an alternative implementation path in parallel' implies the when-to-use case: branching rather than continuing in place. There is no explicit when-not condition, no mention of prerequisites, and no named alternative tool the agent should consider instead.

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