Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

memory_recall

Searches stored memories with natural language queries and returns semantically relevant results scoped to a project by default, helping AI agents recall past context across sessions.

Instructions

Search memories using natural language. Alias for memory_search with default project scoping. Returns the most relevant memories based on semantic similarity.

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": {
      "query": "<query>"
    },
    "name": "memory_recall"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results (1-50). Default 5.
queryYesNatural language search query
projectNoFilter by project slug
thresholdNoMinimum similarity threshold (0-1). Default 0.3.
max_tokensNoToken budget for context window

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that results are ranked by semantic similarity, which is useful behavioral context, and 'search' implies a non-destructive read. It says nothing about permissions, whether an empty result is possible, how threshold interacts with ranking, or how max_tokens constrains output.

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?

Three short sentences, front-loaded with the action, then the sibling relationship, then the return semantics. No filler; the only mild redundancy is restating 'search' and 'relevant memories' in the final sentence.

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?

A read-only search tool with fully documented parameters needs little more, and the ranking statement plus the memory_search alias note covers the essentials. However, the 'default project scoping' claim is never resolved (which project applies?), which is the one thing an agent would need to predict results correctly given no annotations and no output schema.

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 all five parameters, making 3 the baseline. The description adds only marginal meaning by framing 'project' as a default-scoping filter, and its claim about semantic similarity reinforces the threshold parameter without explaining it.

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 verb and resource (search memories) and differentiates itself from the sibling memory_search by calling itself an alias with default project scoping. What 'default project scoping' actually resolves to is left ambiguous, so the differentiation is named but not fully explained.

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?

Implicit guidance only: the agent can infer it should use this instead of memory_search when default project scoping is wanted. There is no explicit 'use this when' statement, no exclusion, and no mention of when to prefer the full memory_search or another sibling like memory_context.

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