Skip to main content
Glama
es6kr

claude-session-manager

by es6kr

claude-session-manager-mcp

MCP server for managing Claude Code conversation sessions with GUI support.

Manage your Claude Code conversation history (~/.claude/projects) through MCP tools or a web-based GUI interface.

Features

  • πŸ“‹ Session Management: List, rename, and delete conversation sessions

  • πŸ—‘οΈ Smart Cleanup: Automatically identify and clean empty or invalid sessions

  • 🌐 Web GUI: Beautiful web interface for browsing conversation history

  • πŸ”§ MCP Integration: Full MCP protocol support for Claude Code

  • πŸš€ Easy Install: One-line installation with uvx

Related MCP server: Session Buddy

Install

# Using uvx (recommended)
uvx claude-session-manager-mcp

# Or install globally
uv tool install claude-session-manager-mcp

# Web GUI
uvx --from claude-session-manager-mcp claude-session-manager-web

Usage

Claude Code MCP Integration

Add to Claude Code:

claude mcp add claude-session-manager -- uvx claude-session-manager-mcp

Or manually edit ~/.claude.json:

{
  "mcpServers": {
    "claude-session-manager": {
      "command": "uvx",
      "args": ["claude-session-manager-mcp"]
    }
  }
}

Web GUI

Launch the web interface:

# Direct launch
uvx --from claude-session-manager-mcp claude-session-manager-web

# Or via MCP tool (from Claude Code)
> Use the start_gui tool to launch web interface

The GUI will open at http://localhost:5050 with features:

  • Browse all projects and sessions

  • Search conversations

  • View full conversation history

  • Rename sessions with inline editing

  • Delete unwanted sessions

  • Bulk cleanup of empty sessions

MCP Tools

Tool

Description

list_projects

List all Claude Code projects with session counts

list_sessions

List all sessions in a specific project

rename_session

Add descriptive title prefix to session

delete_session

Delete session (safely backed up to .bak)

preview_cleanup

Preview sessions that can be cleaned

clear_sessions

Delete empty and invalid API key sessions

start_gui

Launch web GUI and open in browser

stop_gui

Stop the web GUI server

Examples

Via Claude Code

List all projects:
> @claude-session-manager list_projects

List sessions in a project:
> @claude-session-manager list_sessions project_name="-Users-young-works-myproject"

Rename a session:
> @claude-session-manager rename_session project_name="..." session_id="abc123" new_title="Fix authentication bug"

Launch web GUI:
> @claude-session-manager start_gui

Via CLI

# Run MCP server (stdio mode)
uvx claude-session-manager-mcp

# Launch web GUI
uvx --from claude-session-manager-mcp claude-session-manager-web

Project Structure

~/.claude/projects/
β”œβ”€β”€ -Users-young-works-project1/
β”‚   β”œβ”€β”€ session1.jsonl
β”‚   β”œβ”€β”€ session2.jsonl
β”‚   └── agent-xxx.jsonl
β”œβ”€β”€ -Users-young-works-project2/
└── .bak/                    # Deleted sessions backup
    └── project_session.jsonl

Development

# Clone repository
git clone https://github.com/es6kr/claude-session-manager-mcp.git
cd claude-session-manager-mcp

# Install dependencies
uv sync

# Run MCP server locally
uv run claude-session-manager-mcp

# Run web GUI locally
uv run claude-session-manager-web

# Run from project directory (development mode)
uv run --directory /path/to/claude-session-manager-mcp claude-session-manager-mcp

How It Works

  1. Session Detection: Scans ~/.claude/projects/ for .jsonl files

  2. Smart Parsing: Extracts titles from first user message, removing IDE context tags

  3. Safe Deletion: Moves deleted sessions to .bak folder for recovery

  4. Cleanup Logic: Identifies empty sessions and invalid API key errors

  5. Web Server: Flask-based GUI with RESTful API

Requirements

  • Python 3.10+

  • Claude Code (for MCP integration)

  • Modern web browser (for GUI)

Contributing

Issues and pull requests are welcome at github.com/es6kr/claude-session-manager-mcp

License

MIT

Available Tools

9 tools
clear_sessionsB

Delete all empty sessions and invalid API key sessions

ParametersJSON Schema
NameRequiredDescriptionDefault
project_nameNoOptional: filter by project name
clear_emptyNoClear empty sessions (default: true)
clear_invalidNoClear invalid API key sessions (default: true)

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries full burden but only states what gets deleted without disclosing critical behavioral traits: whether deletion is permanent/reversible, permission requirements, side effects on related data, or confirmation prompts. 'Delete' implies mutation, but details are lacking.

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 with zero wasteβ€”every word contributes to understanding the tool's purpose. It's appropriately sized 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.

Completeness2/5

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

For a destructive tool with no annotations and no output schema, the description is incomplete: it lacks information on return values, error conditions, safety warnings, or system impact. Given the complexity of deletion operations, more context is needed for safe 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 parameters are fully documented in the schema. The description doesn't add meaning beyond implying filtering by session types, which aligns with schema parameters. Baseline 3 is appropriate as the schema handles parameter documentation.

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 ('Delete') and target resources ('all empty sessions and invalid API key sessions'), distinguishing it from siblings like 'delete_session' (singular) and 'preview_cleanup' (preview only). It precisely defines what gets deleted without ambiguity.

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 cleaning up specific session types but doesn't explicitly state when to use it versus alternatives like 'delete_session' (for individual sessions) or 'preview_cleanup' (for previewing cleanup). No guidance on prerequisites or exclusions is provided.

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

delete_messageB

Delete a message from a session and repair the parentUuid chain

ParametersJSON Schema
NameRequiredDescriptionDefault
project_nameYesProject folder name
session_idYesSession ID
message_uuidYesUUID of the message to delete

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the 'repair the parentUuid chain' effect, which is valuable context about data integrity. However, it doesn't address critical aspects like whether deletion is permanent/reversible, permission requirements, error conditions, or what happens to dependent data. For a destructive operation with zero annotation coverage, this leaves significant 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 a single, efficient sentence that communicates the core action and a key behavioral detail without any wasted words. It's appropriately sized for the tool's complexity and gets straight to the point.

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 destructive operation with no annotations and no output schema, the description is incomplete. While it mentions the chain repair effect, it doesn't cover return values, error handling, side effects, or security implications. Given the tool's potential impact and lack of structured metadata, more comprehensive behavioral context would be needed for safe and effective 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 all parameters are documented in the schema. The description adds no additional parameter information beyond what the schema provides (project_name, session_id, message_uuid). It doesn't explain relationships between parameters or provide usage examples. The baseline score of 3 reflects adequate but minimal value added over 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 action ('Delete a message'), specifies the resource ('from a session'), and adds a distinctive behavioral detail ('and repair the parentUuid chain') that distinguishes it from generic deletion operations. This goes beyond just restating the tool name by explaining the specific effect on the data structure.

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?

The description provides no guidance on when to use this tool versus alternatives like 'delete_session' or 'clear_sessions'. It doesn't mention prerequisites, constraints, or typical scenarios for message deletion versus session-level operations. The agent must infer usage from the tool name alone.

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

delete_sessionB

Delete a session (moves to .bak folder for recovery)

ParametersJSON Schema
NameRequiredDescriptionDefault
project_nameYesProject folder name
session_idYesSession ID to delete

TDQS

B3.3/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 discloses that deletion moves sessions to a .bak folder for recovery, which is useful behavioral context beyond basic deletion. However, it lacks details on permissions, side effects, or error handling, leaving gaps for a mutation 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?

The description is a single, efficient sentence that front-loads the core action and includes a key behavioral detail (.bak folder recovery). There is zero waste, making it appropriately sized and well-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?

For a mutation tool with no annotations and no output schema, the description provides basic purpose and a recovery mechanism but lacks details on return values, error conditions, or full behavioral context. It's minimally adequate but has clear gaps given the complexity.

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 documents both parameters (project_name and session_id). The description doesn't add any additional meaning or context about these parameters beyond what the schema provides, meeting the baseline for high coverage.

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 resource ('a session'), specifying that it moves to a .bak folder for recovery. However, it doesn't explicitly differentiate from sibling tools like clear_sessions or delete_message, which prevents a perfect score.

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 is provided on when to use this tool versus alternatives like clear_sessions or delete_message. The description mentions recovery via .bak folder, but doesn't specify prerequisites, exclusions, or comparative contexts with siblings.

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

list_projectsB

List all Claude Code projects with session counts

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'List' implies a read operation, the description doesn't specify whether this requires authentication, what format the output takes, whether there are rate limits, or how session counts are calculated. This leaves significant behavioral 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 a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for a simple list operation and front-loads the essential 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?

For a zero-parameter read operation with no output schema, the description covers the basic purpose adequately. However, it lacks important context about what 'session counts' means, the format of returned data, and how this differs from 'list_sessions'. The absence of annotations means the description should do more heavy lifting.

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 0 parameters with 100% schema description coverage, so the schema fully documents the parameter situation. The description appropriately doesn't discuss parameters since none exist, earning a baseline 4 for this dimension.

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 verb ('List') and resource ('Claude Code projects with session counts'), making the purpose immediately understandable. It doesn't explicitly differentiate from sibling tools like 'list_sessions', but the resource specification provides some distinction.

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?

The description provides no guidance on when to use this tool versus alternatives like 'list_sessions' or 'preview_cleanup'. There's no mention of prerequisites, timing considerations, or comparison with sibling tools.

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

list_sessionsC

List all sessions in a project

ParametersJSON Schema
NameRequiredDescriptionDefault
project_nameYesProject folder name (e.g., '-Users-young-works-myproject')

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states it's a list operation, implying read-only behavior, but doesn't specify whether it returns all sessions at once, supports pagination, or has any rate limits or authentication requirements. This leaves significant behavioral 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 a single, clear sentence that directly states the tool's purpose without any unnecessary words. It's appropriately sized and front-loaded, making it highly efficient and easy to parse.

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 annotations and no output schema, the description is incomplete for a tool that presumably returns session data. It doesn't explain what a 'session' entails, what fields are returned, or the format of the response, leaving the agent without necessary context for proper usage.

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 documents the single parameter 'project_name' with its description. The tool description adds no additional parameter semantics beyond what's in the schema, meeting the baseline for high coverage but not adding extra 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 action ('List') and target resource ('all sessions in a project'), providing a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like 'list_projects' or 'preview_cleanup', which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'list_projects' for listing projects instead of sessions, or 'clear_sessions'/'delete_session' for related operations, leaving the agent without contextual usage instructions.

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

preview_cleanupC

Preview sessions that would be cleaned (empty and invalid API key sessions)

ParametersJSON Schema
NameRequiredDescriptionDefault
project_nameNoOptional: filter by project name

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It indicates this is a read-only preview operation (implied by 'preview'), but doesn't disclose critical details like whether it requires authentication, has rate limits, returns paginated results, or what the output format looks like. This is inadequate for a tool with zero annotation coverage.

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 directly states the tool's purpose with no wasted words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly.

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 complexity of session management tools, no annotations, and no output schema, the description is incomplete. It doesn't explain what 'preview' entails (e.g., returns a list, counts, or details), how sessions are identified as 'empty' or 'invalid', or any error conditions. This leaves significant gaps for an agent to operate effectively.

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 description coverage is 100%, with the single parameter 'project_name' documented as 'Optional: filter by project name'. The description doesn't add any meaning beyond this, such as explaining how filtering works or providing examples. With high schema 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states what the tool does ('Preview sessions that would be cleaned') with specific criteria ('empty and invalid API key sessions'), which is a specific verb+resource combination. However, it doesn't explicitly distinguish itself from sibling tools like 'clear_sessions' or 'list_sessions', which would require a 5.

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?

The description provides no guidance on when to use this tool versus alternatives like 'clear_sessions' or 'list_sessions'. It implies a preview function but doesn't specify prerequisites, timing, or exclusions, leaving the agent without clear usage context.

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

rename_sessionB

Rename a session by adding a title prefix to the first message

ParametersJSON Schema
NameRequiredDescriptionDefault
project_nameYesProject folder name
session_idYesSession ID (filename without .jsonl)
new_titleYesNew title to add as prefix

TDQS

B3.1/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 'adding a title prefix to the first message', which implies a mutation but doesn't disclose permissions needed, whether changes are reversible, or any side effects. For a mutation tool with zero annotation coverage, this is insufficient.

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, clear sentence with zero waste, front-loading the core action efficiently. It's appropriately sized for the tool's complexity.

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 annotations and no output schema, the description is minimal but covers the basic purpose. It's adequate for a simple rename operation but lacks details on behavior, error cases, or output, leaving gaps in completeness for a mutation 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 description coverage is 100%, so the schema already documents all three parameters. The description adds no additional meaning beyond what the schema provides, such as explaining how 'new_title' interacts with the first message. Baseline 3 is appropriate when schema does the heavy lifting.

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 verb 'rename' and resource 'session' with specific action 'adding a title prefix to the first message', which is specific and actionable. However, it doesn't explicitly distinguish from sibling tools like 'delete_session' or 'clear_sessions', which would require a 5.

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?

The description provides no guidance on when to use this tool versus alternatives like 'delete_session' or 'clear_sessions', nor does it mention prerequisites or context for renaming sessions. It's a basic statement of function without usage context.

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

start_guiC

Start the web GUI for session management and open it in browser

ParametersJSON Schema
NameRequiredDescriptionDefault
portNoPort to run the web server on (default: 5050)
open_browserNoWhether to open browser automatically (default: true)

TDQS

C2.9/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 the full burden of behavioral disclosure. It mentions starting a web GUI and opening a browser, but fails to describe critical behaviors like whether this is a long-running process, if it requires specific permissions, potential side effects (e.g., port conflicts), or error handling. This leaves significant gaps for a tool that likely initiates a server.

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 front-loads the core action ('Start the web GUI') and includes the key outcome ('open it in browser'). There is no wasted wording, making it appropriately sized and easy to parse.

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 complexity of starting a web server and the lack of annotations and output schema, the description is insufficient. It doesn't cover what happens after starting (e.g., server status, GUI features), potential errors, or dependencies, leaving the agent with incomplete context for safe and effective 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?

The input schema has 100% description coverage, fully documenting both parameters with their types and defaults. The description adds no additional meaning beyond what the schema provides, such as explaining why these parameters matter or their impact. With high schema coverage, the baseline score of 3 is appropriate as the schema does the heavy lifting.

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's purpose with a specific verb ('Start') and resource ('web GUI for session management'), and it specifies the action of opening it in a browser. However, it doesn't explicitly differentiate from sibling tools like 'stop_gui', which would be helpful for disambiguation.

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?

The description provides no guidance on when to use this tool versus alternatives, such as 'stop_gui' for stopping the GUI or other session management tools. It lacks context about prerequisites, timing, or exclusions, leaving the agent to infer usage scenarios.

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

stop_guiB

Stop the web GUI server

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the action ('Stop') which implies a mutation, but doesn't describe effects like whether the GUI shuts down gracefully, requires specific permissions, impacts other sessions, or provides any confirmation. This leaves significant gaps for a mutation 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?

The description is a single, efficient sentence with zero wasted words. It's front-loaded with the core action and resource, making it immediately understandable without unnecessary elaboration.

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 mutation tool with no annotations and no output schema, the description is incomplete. It doesn't address behavioral aspects like what happens after stopping (e.g., confirmation message, error handling), whether it affects other operations, or any side effects, leaving the agent with insufficient context.

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 0 parameters with 100% schema description coverage, so the schema fully documents the lack of inputs. The description appropriately doesn't add parameter details beyond what's needed, earning a baseline score near the top of the scale for this dimension.

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 ('Stop') and the target resource ('the web GUI server'), providing a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like 'start_gui' beyond the obvious opposite action, which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or context. It doesn't mention when stopping the GUI is appropriate versus using other tools like 'clear_sessions' or 'delete_session', leaving usage entirely implicit.

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

TDQS

A3.5/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose with no ambiguity. For example, clear_sessions deletes sessions, delete_message removes a specific message, delete_session archives a session, list_projects and list_sessions provide different listing scopes, preview_cleanup shows what would be cleaned, rename_session modifies a session name, and start_gui/stop_gui control the GUI server. The descriptions reinforce these distinctions, making misselection unlikely.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, such as clear_sessions, delete_message, list_projects, and start_gui. This predictable naming convention makes the tool set easy to navigate and understand, with no deviations in style or structure across the nine tools.

Tool Count5/5

With 9 tools, the count is well-scoped for session management, covering core operations like listing, deleting, renaming, and GUI control. Each tool earns its place by addressing specific needs in the domain, avoiding bloat while providing comprehensive functionality for managing Claude sessions and projects.

Completeness4/5

The tool set offers strong coverage for session management, including CRUD-like operations (list, delete, rename) and GUI control. Minor gaps exist, such as no explicit tool for creating new sessions or editing session content beyond renaming, but agents can likely work around these with existing tools like start_gui for manual creation or delete_message for modifications.

Maintenance

ActivityInactive
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

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/es6kr/claude-session-manager-mcp'

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