Skip to main content
Glama

memory_recall

Search local SQLite memories by keywords across facts and evidence segments, supporting Chinese and English without an embedding model.

Instructions

Search local SQLite memory by keywords across both facts and bound original evidence segments (supports Chinese/English without an embedding model). For compound questions spanning multiple modules or metrics (e.g. API rate limit AND database connection pool), split into 2 concise keyword queries and call this tool in parallel instead of passing one long sentence.

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 number of facts to return (1-20, default: 6).
queryYesConcise keyword query for one topic (empty string returns most recent facts).
namespaceNoOptional namespace filter. Omit to search all namespaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose meaningful traits: retrieval runs locally against SQLite, uses keyword matching rather than an embedding model, handles Chinese and English, and is safe/cheap to fan out in parallel. It does not state the result shape, ranking behavior, or how facts and evidence segments are returned together, which leaves a modest gap.

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 sentences, front-loaded with the resource and scope before the operational advice about splitting queries. The second sentence is dense but every clause (split into 2 queries, call in parallel, avoid one long sentence) carries actionable content, so there is little waste.

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 three-parameter read tool with no annotations and no output schema, the description supplies the essentials: what is searched, how matching works, language support, and the multi-topic strategy. Return-value details are not covered, but that is a minor omission given the schema fully documents inputs and the tool returns uncomplicated fact records.

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 all three parameters are already documented in the schema, establishing a baseline of 3. The description adds a little meaning to `query` by framing it as one concise topic per call and warning against long multi-topic sentences, but contributes nothing about `limit` or `namespace` beyond the schema.

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?

States a specific verb and resource: keyword search over local SQLite memory, covering both facts and bound original evidence segments. It adds useful scope detail (bilingual, no embedding model) and is unmistakable against siblings like memory_delete, memory_remember and memory_stats, though it never names those siblings explicitly to reinforce the contrast.

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

Usage Guidelines4/5

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

Gives concrete when-to-use guidance: for compound questions spanning multiple modules or metrics, split into 2 concise keyword queries and call in parallel rather than one long sentence. It also implies that a single-topic short query is the normal case. What is missing is any explicit exclusion or pointer to memory_remember for storing new information.

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