Skip to main content
Glama
recall-mcp

recall-mcp

by jadeleke

Search memories

memory_search
Read-only

Search all saved memories with a full-text query, ranked by BM25 relevance with an importance boost. Use it to retrieve stored context, notes, or facts across sessions.

Instructions

Full-text search over all saved memories, ranked by relevance (BM25) with an importance boost. Supports FTS5 syntax (quoted phrases, AND/OR/NEAR) but plain natural-language queries work too.

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_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, default 10
queryYesWhat to look for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description goes further by disclosing the ranking mechanism (BM25 with an importance boost) and the accepted query syntax family. It leaves out what a result record contains and how ranking interacts with deduplication, which is acceptable given the missing output schema.

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?

Two tight sentences with zero filler, ranking information front-loaded and syntax guidance second. Every clause carries actionable information for an agent.

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 two-parameter read-only search tool with no output schema, the definition covers purpose, ranking semantics, and query syntax. Minor gaps remain on result shape and whether paging beyond `limit` exists, but nothing blocks a correct call.

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 coverage is 100%, so baseline would be 3, but the description adds real meaning beyond 'What to look for' by explaining that FTS5 operators (quoted phrases, AND/OR/NEAR) are accepted while natural language also works. This materially changes how an agent should construct the query value; only `limit` goes unmentioned.

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 ('Full-text search over all saved memories') plus the ranking model, which implicitly separates it from id-based retrieval (memory_get) and recency listing (memory_recent). It never names a sibling explicitly, so the differentiation is inferential rather than stated.

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?

Usage is only implied by the word 'search' — there is no explicit statement of when to pick this over memory_recent or memory_get, and no exclusions. The 'plain natural-language queries work too' line guides how to query, not when to choose this tool.

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