Skip to main content
Glama

memory_load

Restore an agent's saved memory state during startup or resurrection, so it resumes with prior context and persona. Supplies the base prompt only when no existing state is found.

Instructions

Load memory state for an agent. Call on resurrection/startup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent identifier (e.g., "God", "moderator")
base_promptNoImmutable base prompt (mission, commandments). Only used if no existing state.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior2/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 of behavioral disclosure. It does not state whether loading overwrites current in-memory state, whether it depends on a prior memory_save, or what happens when no saved state exists (the base_prompt behavior is only in the schema). This leaves meaningful ambiguity for a restore operation.

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 concise sentences that front-load the core action and the intended call timing. There is no filler or redundant restating of the tool name.

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?

Adequate for a simple startup/restore call when combined with the 100%-covered schema, but not complete: no output schema or annotations exist, and the description does not clarify restore semantics, relationship to memory_save, or distinguish this from the get_* siblings. A bit more behavioral context would make selection and invocation safer.

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 the schema already documents both parameters, including the conditional behavior of base_prompt. The description adds no parameter-level meaning, so the baseline of 3 applies.

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 states a specific action ('load') and target ('memory state for an agent'), and the resurrection/startup context gives a clear operational frame. It does not explicitly distinguish itself from siblings like memory_get_context or memory_get_recent, but 'load memory state' reads as a full-state restore rather than a scoped query.

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?

It explicitly tells the agent when to call this tool: on resurrection/startup. However, it does not mention when not to use it or name alternatives such as memory_get_context for normal runtime retrieval, so it misses the top tier.

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

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/tjamescouch/agentchat-memory'

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