Skip to main content
Glama

session

Saves task checkpoints across AI chats and restores progress so another AI can resume work exactly where it stopped.

Instructions

Manages work session continuity across AI chat sessions. Saves checkpoints of task progress so another AI (or the same one in a new chat) can resume exactly where work left off.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "session"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoFree-form notes — decisions made, problems found, relevant context (checkpoint only)
actionYesOperation: checkpoint (save progress), resume (load state), list (find sessions), close (mark done)
session_idNoSession ID to resume or close (required for resume/close)
session_nameNoHuman-readable session identifier (e.g., "refactoring-auth-module"). Required for checkpoint.
pending_stepsNoSteps still to do (checkpoint only)
current_statusNoWhat is being done right now (checkpoint only)
files_involvedNoFiles being modified or analyzed (checkpoint only)
completed_stepsNoSteps already finished (checkpoint only)
task_descriptionNoNatural language description of the task being worked on. Required for checkpoint.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does convey the key behavioral promise (state persists so a new chat resumes exactly where work left off), but omits where sessions are stored, whether checkpoints overwrite prior state, what close does to the record, and what list returns.

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?

Two short sentences, front-loaded with the purpose and followed by the concrete benefit. There is no filler or redundant restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter, four-action tool with no annotations and no output schema, the description is thin: it never enumerates the operations, never distinguishes read actions (list, resume) from write actions (checkpoint, close), and says nothing about return values. The schema covers parameter detail but the description does not fill the behavioral gap.

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 every parameter including the action enum is already documented in structured form. The description adds no additional meaning about session_name, session_id, or the checkpoint-only fields, leaving it at the baseline for fully-documented schemas.

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 names the resource (work session continuity across AI chats) and the core function (saving checkpoints so another AI can resume). However, it frames the tool as 'manages' and never mentions the four discrete operations (checkpoint/resume/list/close), so the multi-action nature is only discoverable from the schema.

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

Usage Guidelines2/5

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

It implies the motivating scenario — handing off work to another chat — but gives no explicit when-to-use, when-not-to-use, or routing guidance relative to siblings such as get_context or record. Nothing says when a checkpoint is warranted versus close, or how list differs from search.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools