Skip to main content
Glama

kin_session_start

Opens a write session and returns a session_id, enabling agents to record code changes and relationships in the Kin repository.

Instructions

Session plumbing for writes. Open one; get a session_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYesAgent's cwd.
pidNoAgent process id.
vendorYese.g. claude-code, codex.
transportNomcp|cli|wrapper|uimcp
session_idNoOptional UUID to register under.
client_nameYesClient name.
capabilitiesNoAbilities

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.7.17
    • changedInput schema / properties / capabilities / description
      Previous value: -"Agent capabilities"New value: +"Abilities"
    • changedInput schema / properties / client_name / description
      Previous value: -"Human-readable client name"New value: +"Client name."
    • changedInput schema / properties / cwd / description
      Previous value: -"Working directory of the agent"New value: +"Agent's cwd."
    • changedInput schema / properties / pid / description
      Previous value: -"OS process ID of the agent (optional)"New value: +"Agent process id."
    • addedInput schema / properties / session_id
      Added value: +{
      +  "description": "Optional UUID to register under.",
      +  "type": "string"
      +}
    • changedInput schema / properties / transport / description
      Previous value: -"Connection type: mcp, cli, wrapper, or ui"New value: +"mcp|cli|wrapper|ui"
    • changedInput schema / properties / vendor / description
      Previous value: -"Vendor identifier (claude-code, codex, gemini-cli, etc.)"New value: +"e.g. claude-code, codex."
  2. First observedv0.7.16

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare the safety profile (not read-only, not destructive, not idempotent, not open-world), so the description's bar is lower. The description adds that it is for writes and returns a session_id, but it does not disclose session lifecycle details, reuse behavior, or what happens if capabilities are omitted.

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 two short sentences with no filler and front-loads its purpose. It is efficient, though its telegraphic style may be overly terse for a tool with seven parameters and a nested capabilities object.

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 session-start tool with seven parameters, a nested capabilities object, no output schema, and many session/transaction siblings, the description is too sparse. It does not cover session prerequisites, expiration, capability defaults, or relationship to kin_transaction_begin, leaving key operational context unaddressed.

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 all seven parameters, including the nested capabilities object, are already documented in the schema. The description adds no parameter-level meaning, which is acceptable given the high schema coverage baseline of 3.

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 states a specific action ('Open one') and resource ('session'), and notes the return value ('get a session_id'). It also gives scope ('for writes'), though it does not distinguish this tool from siblings like kin_transaction_begin or kin_session_end.

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?

It implies usage for write operations via 'Session plumbing for writes' and the imperative 'Open one; get a session_id.' However, it never explicitly states when to choose this tool over alternatives, such as kin_transaction_begin or kin_session_exec, leaving the agent to infer the sequencing.

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