Skip to main content
Glama

Recall matching memories

recall
Read-onlyIdempotent

Retrieve full memories ranked by relevance to a natural-language question. Use this read-only lookup for ordinary recall when metadata filters and score details are not needed.

Instructions

Retrieve full memories ranked for a natural-language question. Use this for ordinary recall; use search when you need metadata filters, ranking controls or score details. Read-only; default builds rank lexically, and a configured model adds semantic ranking.

Input Schema

NameRequiredDescriptionDefault
kNoMaximum number of ranked memories to return.
tagsNoLabels; filters match memories carrying every listed tag.
queryYesNatural-language question or phrase to match against stored memories; nonblank, at most 4,096 UTF-8 bytes.
min_scoreNoDrop hits below this relative rank score (0 to 1); this is not a probability.

Output Schema

NameRequiredDescriptionDefault
countYesNumber of returned hits.
resultsYesRanked hits with full memory text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world, non-destructive, so the safety bar is met elsewhere. The description still adds genuine value by disclosing that ranking is lexical by default and becomes semantic when a model is configured, which explains why identical queries may order results differently across deployments.

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?

Three short sentences, zero waste, with the core purpose front-loaded before the sibling routing and the behavioral note. Nothing is repeated from the title or schema.

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?

Rich annotations, a full-coverage schema and an output schema mean the description need not explain return values. It covers purpose, routing and ranking behavior, but the mismatch between 'use `search` for metadata filters' and this tool's own `tags`/`min_score` params leaves a small ambiguity an agent must resolve.

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 description coverage is 100%, so `k`, `tags`, `query` and `min_score` are already fully documented with bounds and defaults. The description adds no per-parameter meaning beyond a general mention of ranking, so the baseline 3 applies.

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?

States a specific verb and resource ('retrieve full memories') plus the ranking model ('ranked for a natural-language question'), which precisely distinguishes it from `search`. An agent can tell the two apart without opening either schema.

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?

Explicitly routes the agent: 'use this for ordinary recall; use `search` when you need metadata filters, ranking controls or score details.' However, the boundary is muddied because this tool's own schema exposes `tags` (a metadata filter) and `min_score` (a ranking control), so the stated exclusion is not fully consistent with what it accepts.

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

Deploy Server

Other Tools