Skip to main content
Glama

recall

Search stored memories using semantic similarity with adjustable precision and confidence thresholds to retrieve relevant project facts, patterns, or references.

Instructions

Semantic search with confidence gating and composite ranking.

Modes:

  • 'precision': High threshold (0.8), few results (3), prioritizes similarity

  • 'balanced': Default settings, good for general use

  • 'exploratory': Low threshold (0.5), more results (10), diverse ranking

Returns memories with confidence level and hallucination-prevention guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoRecall mode: 'precision' (high threshold, few results), 'balanced' (default), 'exploratory' (low threshold, more results)
limitNoMax results (overrides mode default)
queryYesSearch query for semantic similarity
thresholdNoMin similarity (overrides mode default)
memory_typeNoFilter by type: project, pattern, reference
include_relatedNoInclude related memories from knowledge graph for top results
expand_relationsNoExpand results via knowledge graph (Engram-style associative recall). Related memories are added with decayed scores. None uses config default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
guidanceYes
memoriesYes
confidenceYes
gated_countYes
context_summaryNo
ranking_factorsYes
related_memoriesNo
formatted_contextNo
promotion_suggestionsNo
Behavior4/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It clearly explains the recall modes, thresholding, and result counts, and mentions that it returns confidence levels and hallucination-prevention guidance. However, it does not explicitly state that the tool is read-only or discuss potential side effects, though the nature of a search tool makes this largely clear.

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 description is concise and well-structured, with a clear summary of purpose followed by bullet-pointed mode details. Every sentence adds value, and there is no redundant or unnecessary text.

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?

The description covers the core functionality and modes but does not explain advanced features like include_related and expand_relations, which are important for a tool with 7 parameters. An output schema exists, so return values need not be detailed, but the description could be more complete regarding optimal parameter combinations or knowledge graph integration.

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 coverage is 100%, so the description adds minimal value beyond the schema. The description repeats mode definitions already present in the schema and does not elaborate on parameters like include_related or expand_relations. The baseline score is appropriate given high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool performs 'semantic search with confidence gating and composite ranking,' and details three modes with specific thresholds and result counts. It distinguishes itself from sibling tools like recall_by_tag and recall_with_fallback by focusing on semantic similarity rather than tag-based or fallback approaches.

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?

The description explains the three modes and their use cases (precision, balanced, exploratory) but does not explicitly specify when to use this tool versus alternatives such as recall_by_tag or recall_with_fallback. The guidance is implicit through the mode descriptions, but lacks explicit directives on appropriate contexts or exclusions.

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

Install Server

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

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