Skip to main content
Glama
mtct

MCP Journaling Server

by mtct

start_new_session

Clear previous conversation logs to begin a fresh journaling session, receiving a welcome message with the current save location.

Instructions

Start a new journaling session by clearing previous conversation log.

Returns: str: Welcome message with current save location

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The 'start_new_session' tool handler, registered via @mcp.tool() decorator. Clears the global conversation_log and returns a confirmation message with the journal directory path.
    @mcp.tool() async def start_new_session() -> str: """ Start a new journaling session by clearing previous conversation log. Returns: str: Welcome message with current save location """ conversation_log.clear() return f"New journaling session started. Entries will be saved to {config.journal_dir}"

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/mtct/journaling_mcp'

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