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}"
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 of behavioral disclosure. It describes the action ('clearing previous conversation log') and the return value ('Welcome message with current save location'), which are useful. However, it lacks details on potential side effects (e.g., whether clearing is irreversible), authentication needs, or rate limits. It doesn't contradict annotations, but it's not fully transparent 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 highly concise and well-structured: two sentences that clearly state the action and the return value, with zero wasted words. It's front-loaded with the primary purpose, making it easy for an agent to parse quickly. Every sentence earns its place by providing 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?

Given the tool's complexity (simple mutation with no parameters) and the absence of annotations and output schema, the description is somewhat complete but has gaps. It explains what the tool does and what it returns, but for a mutation tool that clears logs, it should ideally mention whether this action is destructive or reversible. Without annotations or output schema, the description could do more to cover behavioral aspects.

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, and the schema description coverage is 100%, so there's no need for parameter details in the description. The description appropriately focuses on behavior and output without redundant parameter information. A baseline of 4 is applied since no parameters exist, and the description doesn't attempt to add unnecessary details.

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: 'Start a new journaling session by clearing previous conversation log.' It specifies the verb ('Start') and resource ('journaling session') with the action of clearing previous logs. However, it doesn't explicitly differentiate from sibling tools like 'generate_session_summary' or 'record_interaction' in terms of when to use each, 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 Guidelines3/5

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

The description implies usage context by stating it 'clears previous conversation log,' suggesting it should be used when starting fresh rather than during ongoing sessions. However, it doesn't provide explicit guidance on when to use this tool versus alternatives like 'record_interaction' or 'generate_session_summary,' nor does it mention any exclusions or prerequisites. This leaves some ambiguity for the agent.

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

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