Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLAUDE_SESSION_IDNoExplicit session ID
CLAUDE_PROJECTS_DIRNoOverride projects directory~/.claude/projects
CLAUDE_CHECKPOINTS_DIRNoOverride checkpoints directory~/.claude/checkpoints

Tools

Functions exposed to the LLM to take actions

NameDescription
checkpoint_context

Save your current context state as a named checkpoint. Use this when you're well-oriented and want to be able to return to this mental state later.

Good moments to checkpoint:

  • After fully understanding a codebase or task

  • Before starting a large, context-heavy operation

  • When you feel sharp and well-oriented

The checkpoint captures your entire conversation history up to this point.

reset_to_checkpoint

Reset your context back to a saved checkpoint, injecting a handoff message to your future self.

The message_to_self will appear as if you wrote it just before the reset. Use it to brief your future self on:

  • What was accomplished since the checkpoint

  • Key findings and decisions

  • Clear next steps

  • Critical details (file paths, variable names, gotchas)

After calling this, your context will be restored to the checkpoint state plus your handoff message.

list_checkpoints

List all available checkpoints for the current session. Shows when each was created and any notes attached.

get_context_stats

Get statistics about your current context window health.

Returns:

  • Number of turns (user and assistant messages)

  • Estimated token count

  • Number of compaction/summary events

  • Context age

Use this to decide when you might want to checkpoint or reset.

delete_checkpoint

Delete a checkpoint you no longer need.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/simen/mcp-memento'

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