Skip to main content
Glama

recall

Retrieve relevant stored memories for AI agents using semantic search, with filters for project, language, memory type, date, and agent namespace.

Instructions

Recall memories relevant to a query.

Args: query: What to search for (semantic similarity). n_results: Maximum number of results to return. project: Filter to a specific cortical region (project). language: Filter to a specific language. scope: Filter to a specific engram cluster (domain scope). memory_type: Filter by memory system (episodic/semantic/procedural/prospective). reference_date: ISO-8601 date for temporal context (e.g. "2026-04-12"), in the server's local time. Defaults to now. agent_id: Namespace of the calling agent — returns that agent's memories plus shared ones. Without one, only shared memories are returned. Defaults to the server's MYELIN_AGENT_ID setting.

Returns: JSON array of matching memories with scores.

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": "recall"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
scopeNo
projectNo
agent_idNo
languageNo
n_resultsNo
memory_typeNo
reference_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose two real behaviors: the agent_id namespacing rule (returns that agent's memories plus shared; with no agent_id only shared memories come back) and the reference_date default of 'now' in server-local time. It omits ranking/ordering behavior, result limits beyond n_results, and any permission or cost characteristics of the search.

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 purpose statement is front-loaded, then a compact Args block covers all eight parameters one line each, then a single Returns line. There is no filler or restated boilerplate; every line carries information an agent needs.

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 an eight-parameter semantic search tool, the definition covers parameter meaning, agent scoping, temporal context default, and the return shape (JSON array with scores); the output schema also exists, so return values need not be elaborated further. The remaining gap is behavioral: nothing says how results are ordered or how scoping filters combine.

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 0%, so the description must compensate, and it largely does: it explains semantic similarity for query, spells out the memory_type enum values (episodic/semantic/procedural/prospective), gives an ISO-8601 example plus default for reference_date, and describes agent_id scoping semantics. Some entries are thin — 'Filter to a specific language' and 'project: cortical region' barely exceed the schema titles — which keeps it below a 5.

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 line gives a specific verb and resource ('Recall memories') and adds the retrieval mode ('relevant to a query', semantic similarity). It does not explicitly distinguish itself from siblings like store, ingest, or forget, so an agent must infer that this is the read-side counterpart to the write tools.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative, even though siblings such as store, forget, and pin_memory exist in the same namespace. The only routing signal is implicit in 'semantic similarity,' leaving the agent to infer that this is the lookup tool.

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