Skip to main content
Glama

Load memory

load_memory

Loads user identity, preferences, facts, and recent session history from persistent storage to personalize responses at the start of each session.

Instructions

Loads the user's identity, preferences, facts, and recent session history from persistent cross-session storage. Default output is compact for strict MCP clients; call search_memory for narrow questions or pass full_content=true only when the full raw payload is required. Use IMMEDIATELY at the start of every session -- before responding to the user's first message, before calling any other tool. Trigger even when the opening message looks trivial: keywords like 'remember', 'recall', 'context', 'profile', 'facts about me', 'who am I', 'last time', 'preferences', 'pick up where we left off' all signal stored context exists. Also trigger after any context reset or tool reconnect, or any time you are unsure whether context was loaded this session. Do NOT skip because the first message is simple -- personal facts change how almost every answer should be framed. Do NOT trigger for pure factual lookups (capitals, math, definitions) that require no personal context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
num_sessionsNoNumber of recent session summaries to load when lite=false (1-20, default 3)
liteNoWhen true, skips session summary bodies and returns compact identity, facts, and counts (default true)
full_contentNoWhen true, returns the full raw memory payload. Use sparingly; strict clients may reject large tool results.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explains that default output is compact for strict MCP clients and warns that full_content may be rejected. It also implies a read-only load operation. However, it does not explicitly state if any state is modified or if there are side effects, but the reading is clear.

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 lengthy but each sentence is purposeful, providing critical usage guidance. It is front-loaded with the core purpose. While it could be slightly more concise, the level of detail is justified given the complexity of when to use the tool.

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?

Given the lack of an output schema, the description gives high-level components (identity, preferences, facts, session history) but does not detail the structure of the returned data. This leaves some ambiguity for the agent on how to parse the output, though the usage context is clear.

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 description coverage is 100%, so baseline is 3. The description adds meaning by explaining that lite=true produces compact output and full_content should be used sparingly due to client restrictions. It also ties the parameters to the use case of narrow vs. full payload, referencing search_memory for 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 it loads user identity, preferences, facts, and session history from persistent storage. It distinguishes itself from the sibling tool search_memory by specifying that search_memory is for narrow questions, while load_memory is for full context at session start.

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

Usage Guidelines5/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: 'Use IMMEDIATELY at the start of every session -- before responding to the user's first message, before calling any other tool.' It also lists keywords that signal stored context, says when not to skip, and when not to trigger (pure factual lookups). Alternatives like search_memory are mentioned.

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/malamutemayhem/unclick'

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