Skip to main content
Glama

context

Manage long-running tasks by saving and restoring checkpoints, registering critical instructions, and creating session handoffs to preserve context and ensure continuity.

Instructions

Context protection for long tasks. Operations:

  • checkpoint_save: Save task state (task_description, current_step, completed_steps, pending_steps, files_involved)

  • checkpoint_restore: Restore last checkpoint (task_id optional)

  • checkpoint_list: List saved checkpoints

  • verify_completion: Claim task done + verify (task, evidence, verification_steps)

  • instruction_add: Register critical instruction (instruction, reason, importance)

  • instruction_reinforce: Get instructions to remember

  • handoff_create: Create session handoff (handoff_summary, pending_steps, handoff_context_needed, handoff_warnings)

  • handoff_get: Retrieve latest handoff document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesOperation
task_descriptionNo
current_stepNo
completed_stepsNo
pending_stepsNo
files_involvedNo
task_idNoFor restore: specific checkpoint
taskNoFor verify: task to verify
evidenceNoFor verify: proof
verification_stepsNoFor verify: checks
instructionNoFor instruction_add
reasonNo
importanceNo
project_pathNo
handoff_summaryNoFor handoff_create: summary for next session
next_stepsNoFor handoff_create: what to do next
handoff_context_neededNoFor handoff_create: context the next session needs
handoff_warningsNoFor handoff_create: warnings for next session
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral transparency. While it lists operations and their parameters, it does not disclose side effects, persistence behavior, or resource constraints, leaving significant gaps for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a lead sentence followed by a bulleted list of operations. It is relatively concise given the number of operations, though some repetition (e.g., 'For verify') could be streamlined.

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?

The description provides a good overview of operations and their parameters, but it lacks details on output/return values, error handling, and prerequisites. For a complex tool with 18 parameters and no output schema, this is adequate but not complete.

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 description adds meaningful context for many parameters by linking them to specific operations (e.g., 'For handoff_create: summary for next session'). This goes beyond the schema's brief descriptions, especially for the structured parameters like arrays, though some parameters like 'reason' lack context.

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 tool's purpose as 'Context protection for long tasks' and enumerates eight specific operations with brief descriptions, making it easy to understand what the tool does and how it differs from sibling tools like 'memory' or 'output'.

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 through operation names and parameter details (e.g., when to use checkpoint_save vs checkpoint_restore), but it does not explicitly state when to use this tool over alternatives or provide exclusion criteria.

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/20alexl/claude-engram'

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