Skip to main content
Glama

ctxstore — memory that follows you across models

Save Session Summary

store_session_summary

Store a compressed summary of this session to preserve continuity for the next one.

Call this before ending a conversation — it is the dream cycle.

Stores a L3 session fact with key='session-latest' (or 'session-latest:claude-code' etc.), auto-archiving the previous version. The next session loads this via load_context().

Include: what was discussed/decided, what changed, what's next/unresolved.

Collaborative takeaways: at natural session-end signals (user says 'okay I'm out', 'let's wrap', 'bye'), draft a one-line takeaway and confirm with the user before storing. Example: "I'll remember: we fixed the rebind bug and decided to skip transcript ingestion for MVP. Sound right?" Edit based on their response, then call store_session_summary. This makes memory consensual and catches mistakes immediately.

Use session_id to scope by client: 'claude-code', 'claude-chat', 'cursor', 'openclaw'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoOptional project slug for project-scoped last-wake-epoch watermark (conventions/wake-rehydration-v2:current).
summaryYesWhat happened this session — decisions made, work done, context established
decisionsNoKey decisions made or conclusions reached
next_stepsNoWhat's pending, open questions, what to pick up next session
session_idNoOptional client identifier to scope this summary: 'claude-code', 'cursor', 'claude-chat', 'openclaw'. Defaults to bare session-latest.
contributorsNoOptional list of contributor IDs when multiple agents or users collaborated this session (e.g. ['agent-A', 'chad', 'emily']). Stored in summary for attribution.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.