Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

memory_store

Store important facts, preferences, and context as persistent memories for future conversations. Associate entries with projects or sessions and optionally deduplicate to keep AI context accurate.

Instructions

Store a new memory. Use this to save important information, facts, preferences, or context that should be remembered for future conversations. Tip: Call session_start first to track what you are working on.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "memory_store"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNoMemory tier override: "hot" (always in context), "warm" (default), "cold" (archived). Auto-computed from importance if omitted.
contentYesThe memory content to store. Be specific and include relevant context.
projectNoProject slug to associate the memory with (e.g., "my-api")
metadataNoOptional key-value metadata to attach to the memory
importanceNoMemory importance (0.0-1.0). Defaults to 0.5. Values >= 0.8 promote to hot tier.
session_idNoSession ID to associate the memory with. Links the memory to an active session.
deduplicateNoCheck for duplicate/near-duplicate content before storing. Returns existing memory if match found.
dedup_thresholdNoSemantic similarity threshold for dedup (0.5-1.0). Only used when deduplicate=true.
auto_extract_entitiesNoAutomatically extract entities (people, places, orgs, etc.) from the memory content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the entire behavioral burden and does little with it: it implies persistence but never states that writes are durable, whether a duplicate can silently short-circuit the write, or what the caller receives. The important behavioral knobs (deduplicate, dedup_threshold, auto_extract_entities, tier promotion) are only discoverable by reading the schema, not from the description.

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?

Two short sentences with the verb and resource front-loaded, followed by a single actionable tip. Nothing is padded, though the tip sits at the end where it is less likely to be acted on than a prerequisite stated up front.

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?

Purpose and general usage are covered and the rich schema handles parameters, but for a nine-parameter write tool with no annotations and no output schema the description omits the things an agent most needs signaling: that deduplication is off by default, that importance drives tier and therefore context injection, and what a successful store returns.

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% and all nine parameters are individually documented, including the tier enum and the importance-to-hot-tier rule, so the schema does the heavy lifting. The description adds no parameter meaning beyond that, which is the baseline-3 case.

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?

"Store a new memory" names a specific verb and resource, and the second sentence enumerates what kind of content belongs here (facts, preferences, context). It does not distinguish itself from memory_batch_store or memory_store_async, so an agent facing several store variants must still infer which one to pick.

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

Usage Guidelines3/5

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

It gives a clear when-to-use framing (save things that should persist across conversations) and a useful prerequisite tip to call session_start first. However, it offers no exclusions and never names alternatives for bulk or async storage, updating an existing memory, or deduplicated writes, which matters given eight sibling memory tools.

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