Skip to main content
Glama

memory_store

Store or update persistent memory records in Open Knowledge Format with metadata, tags, and provenance for retrieval across sessions.

Instructions

Stores or updates a persistent memory record in Open Knowledge Format (OKF v0.2).

Parameters: key: Unique identifier or path for the memory (e.g. 'user/preferences/coding_style' or 'system/last_memory'). content: The core information to store (string text or structured dictionary). project_root: REQUIRED. Absolute path to active project root directory. tags: Optional classification tags for filtering (e.g. ['preferences', 'user']). namespace: Logical separation for contexts or users (default: 'default'). concept_type: OKF concept type (default: 'Agent Memory'). Options: 'Agent Memory', 'Checkpoint', 'Metric', 'Playbook', etc. title: Human-readable display name. description: Single-sentence summary of the concept. resource: Canonical URI for the underlying asset. status: Lifecycle status ('draft' | 'stable' | 'deprecated'). Default: 'stable'. stale_after: ISO date ('YYYY-MM-DD') when memory becomes stale. sources: Provenance sources list [{resource, id, title, author, usage_count, last_modified}]. usage_window: Sources usage window framing {from, to}. verified: Verification events list or mapping [{by, at}]. generated_by: Actor identifier string following actor convention ('/', 'human:', 'process:'). runtime: For Attested Computation concepts ('bigquery', 'postgres', 'dbt', 'python'). parameters: For Attested Computation concepts [{name, type, required}]. executor: For Attested Computation concepts {resource, receipt}. attester: For Attested Computation concepts {resource}. computation: Path to external computation file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
tagsNo
titleNo
statusNo
contentYes
runtimeNo
sourcesNo
attesterNo
executorNo
resourceNo
verifiedNo
namespaceNodefault
parametersNo
computationNo
descriptionNo
stale_afterNo
concept_typeNo
generated_byNo
project_rootYes
usage_windowNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

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. It discloses that records are persistent and that the operation is an upsert ('Stores or updates'), but it does not explain overwrite semantics, whether content is merged or replaced, side effects on existing keys, required permissions, or how the OKF record is materialized. This is a significant gap for a write tool.

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?

The one-sentence purpose is front-loaded, followed by a systematically formatted parameter list. Each parameter line adds semantic value that the schema lacks, and the length is justified by the tool's 20-parameter complexity. There is no filler or 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?

For a complex 20-parameter tool with no annotations, the description covers all parameters, required fields, defaults, and special-case fields. Since an output schema is present, return values need not be described. The main remaining gaps are usage routing and overwrite/merge behavior, but the parameter documentation is otherwise thorough enough for correct 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 description coverage is 0%, but the description fully compensates by documenting all 20 parameters with meaning, defaults, examples, allowed values, and context-specific notes such as 'For Attested Computation concepts'. This goes well beyond the bare schema and gives an agent enough semantic grounding to construct valid arguments.

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 opening sentence states a specific verb and resource: 'Stores or updates a persistent memory record in Open Knowledge Format (OKF v0.2).' This is clear and distinguishes the tool from retrieval/deletion tools. However, it does not explicitly differentiate from memory_update_last, which also performs an update, so it misses full sibling differentiation.

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

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies use when storing or updating a keyed memory, but gives no explicit when-to-use guidance, no exclusions, and no mention of alternatives such as memory_update_last or memory_delete. With five siblings, an agent gets no routing help beyond the tool's name and first sentence.

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

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/fellowgeek/mcp-memory'

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