Skip to main content
Glama
leesgit

claude-session-continuity-mcp

project_init

Initialize new projects for session continuity by creating context records and auto-detecting tech stacks from configuration files.

Instructions

Initialize a new project in the continuity system. Creates records in the project_context and active_context tables. Auto-detects tech stack from package.json/pubspec.yaml/build.gradle if present. Side effects: writes to SQLite. Idempotent — safe to call on an already-initialized project (updates existing record). Call this once when adding a new project, then use session_start for subsequent sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject name (must match a directory under apps/)
techStackNoTech stack override {framework, language, database, ...}. Omit for auto-detection.
descriptionNoHuman-readable project description
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behaviors: side effects ('writes to SQLite'), auto-detection capability, idempotency, and that it updates existing records. It doesn't mention authentication needs or rate limits, but covers most critical operational aspects.

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?

Front-loaded with the core purpose, followed by important behavioral details and usage guidance. Every sentence adds value: creation details, auto-detection, side effects, idempotency, and when to call. 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?

For a tool with no annotations and no output schema, the description provides good coverage of what the tool does, when to use it, and key behaviors. It could mention what happens on failure or provide more detail about the update behavior, but overall it's quite complete given the context.

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 description adds some context about tech stack auto-detection from specific files and that the 'techStack' parameter is an override, but doesn't provide additional semantic meaning beyond what the schema already documents.

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 specific action ('Initialize a new project'), the system ('continuity system'), and the resources affected ('project_context and active_context tables'). It distinguishes this from sibling tools like 'session_start' by specifying this is for initial setup only.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('Call this once when adding a new project') and when not to use ('then use session_start for subsequent sessions'). It also provides context about idempotency, making it safe for already-initialized projects.

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/leesgit/claude-session-continuity-mcp'

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