Skip to main content
Glama

End Session

memorix_session_end

End a coding session by creating a structured summary for seamless knowledge transfer to the next agent, ensuring continuity in development work.

Instructions

End a coding session with a structured summary. This summary will be injected into the next session so the next agent can resume work seamlessly.

Recommended summary format:

Goal

[What we were working on]

Discoveries

  • [Technical findings, gotchas, learnings]

Accomplished

  • ✅ [Completed tasks]

  • 🔲 [Pending for next session]

Relevant Files

  • path/to/file — [what changed]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession ID to close (from memorix_session_start)
summaryNoStructured session summary (Goal/Discoveries/Accomplished/Files format)
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that the tool ends a session and injects a summary for future use, which covers basic behavior. However, it lacks details on permissions, error handling, or side effects (e.g., whether the session is permanently closed or can be reopened).

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 front-loaded with the core purpose in the first sentence, followed by a concise explanation of the summary's role and a clear format example. Every sentence adds value without redundancy, making it efficient and well-structured.

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?

Given no annotations, no output schema, and 2 parameters with full schema coverage, the description is fairly complete. It explains the tool's purpose, usage context, and summary format. However, it could improve by addressing behavioral aspects like error cases or session state changes for full completeness.

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 (sessionId and summary). The description adds value by explaining the summary's purpose and recommended format, but does not provide additional semantics beyond what the schema offers (e.g., sessionId specifics). Baseline 3 is appropriate here.

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 verb ('End') and resource ('a coding session') with specific purpose ('with a structured summary'). It distinguishes from sibling tools like memorix_session_start (which begins sessions) and memorix_session_context (which provides context), making the tool's role explicit.

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

Usage Guidelines4/5

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

The description implies usage context by stating the summary 'will be injected into the next session so the next agent can resume work seamlessly,' indicating this tool is for concluding sessions to enable continuity. However, it does not explicitly state when not to use it or name alternatives among siblings.

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/AVIDS2/memorix'

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