Skip to main content
Glama
donliggett

mcp-context-window

context_open

Start or resume a named memory session to preserve context across long tasks. Reuse a session ID to retrieve previously stored information.

Instructions

Start or resume a named memory session. Call this ONCE at the beginning of any task that will run long enough to risk losing earlier details, then reuse the same session_id for every later call. Returns what is already stored, so resuming a session after a restart tells you what you previously knew.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoHuman-readable label for this session
session_idNoReuse an existing id to resume, or omit to have one generated
Behavior5/5

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

With no annotations, the description carries the full burden and does so well. It discloses that the tool both starts and resumes, that it returns previously stored content, and that resuming after a restart surfaces prior knowledge. These are non-obvious behavioral details beyond what the name or schema alone could convey.

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?

Three sentences with no filler: the core action is front-loaded, followed by a concrete usage condition and a behavioral outcome. Every sentence contributes essential information an agent needs before calling the tool.

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

Completeness5/5

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

Despite lacking an output schema and annotations, the description explains what the tool returns when resuming, when it should be called, and how to manage session_id. This is sufficient for an agent to select and invoke the tool correctly in a long-running task workflow.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real operational meaning to session_id by stating it must be reused consistently across calls. It reinforces the schema's existing description without restating it verbatim, adding value for the agent's invocation strategy.

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 uses a specific verb phrase, 'Start or resume a named memory session,' which precisely identifies the resource and action. This clearly distinguishes it from siblings like context_append, context_recall, and context_list_sessions without requiring the reader to infer meaning.

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 provides explicit when-to-use guidance: call once at the beginning of long-running tasks and reuse the same session_id for later calls. It does not explicitly name alternatives or state when not to use it, but the context is clear enough for an agent to decide correctly.

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/donliggett/mcp-context-sliding'

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