Skip to main content
Glama

Search Memories (Recall)

recall_search
Read-onlyIdempotent

Retrieve memories matching a free-text query, ranked by relevance. Filter by memory type and limit results to find specific information.

Instructions

Recall memories relevant to a free-text query, ranked by relevance.

This is the primary retrieval tool. It scores every memory against the query (a hit in the name outweighs the description, which outweighs the body), drops non-matches, and returns the best results first.

Args:

  • query: free text to match against names, descriptions, and bodies

  • type: optional filter to a single memory type

  • limit: max results (default 20)

  • response_format: 'markdown' (default) or 'json'

Returns ranked matches with their relevance scores. Empty if nothing matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOptional: restrict to a single memory type
limitNoMaximum number of results to return
queryYesFree-text recall query
response_formatNo'markdown' for human-readable, 'json' for structured datamarkdown
Behavior5/5

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

Description reveals ranking algorithm (name > description > body), that non-matches are dropped, and returns best results first. Annotations already indicate readOnlyHint=true and idempotentHint=true, and description adds useful context without contradiction.

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 very concise with a clear structure: one-sentence purpose, paragraph on behavior, bulleted arg list, and return note. Every sentence adds value.

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?

Given no output schema, description mentions 'returns ranked matches with their relevance scores' and 'Empty if nothing matches.' It could specify the structure of the ranking, but it is sufficiently complete for a retrieval tool.

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 is 3. Description adds value by explaining the ranking rule for the query parameter and clarifying defaults like limit=20. The type parameter is augmented with the phrase 'optional filter to a single memory type', which matches schema.

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?

Description clearly states it is a retrieval tool for memories by free-text query, ranked by relevance. It distinguishes itself from sibling tools like recall_delete and recall_write by calling itself the 'primary retrieval tool'.

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?

Description explains that it is the primary retrieval tool and describes the ranking behavior. However, it does not explicitly state when not to use it or provide direct alternatives among siblings.

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/andrewhomeyer/recall-mcp'

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