Skip to main content
Glama

session_load_context

Load session context to recover previous work state for a project. Choose from quick, standard, or deep levels based on required detail.

Instructions

Load session context for a project using progressive context loading. Use this at the START of a new session to recover previous work state. Three levels available:

  • quick: Just the latest project state — keywords and open TODOs (~50 tokens)

  • standard: Project state plus recent session summaries and decisions (~200 tokens, recommended)

  • deep: Everything — full session history with all files changed, TODOs, and decisions (~1000+ tokens)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNoOptional. Agent role for Hivemind scoping (e.g., 'dev', 'qa', 'pm'). Omit to let the server auto-resolve from dashboard settings. When set, also injects active_team roster.
levelNoHow much context to load: 'quick' (just TODOs), 'standard' (recommended — includes recent summaries), or 'deep' (full history). Default: standard.
projectYesProject identifier to load context for.
max_tokensNoMaximum token budget for context response. Uses 1 token ≈ 4 chars heuristic. When set, the response is truncated to fit within the budget. Default: unlimited.
toolActionYesBrief 2-5 word summary of what this tool is doing. Capitalize like a sentence.
toolSummaryYesBrief 2-5 word noun phrase describing what this tool call is about.
Behavior5/5

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

No annotations provided, so the description carries full burden. It fully discloses behavior: progressive loading, three levels with token estimates, default level, truncation with max_tokens. No contradictions.

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?

Concise, well-structured with bullet points for levels, front-loaded purpose. Every sentence adds value without redundancy.

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

Completeness4/5

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

No output schema, but the description covers usage and behavior well. Could be improved by stating what the response contains (e.g., format of context), but still sufficient for safe invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds valuable context for the 'level' parameter with token estimates and recommendations, and explains max_tokens truncation. Enhances understanding beyond schema.

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 loads session context for a project using progressive loading, specifies it should be used at the start of a new session, and distinguishes three levels. This is specific and helps differentiate from sibling session tools.

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?

Explicitly advises using at the start of a new session and recommends 'standard' level. It lacks explicit when-not-to-use instructions, but the context is clear.

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/dcostenco/prism-coder'

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