Skip to main content
Glama

recall

Read-only

Search long-term memories for past people, plans, preferences, or decisions before guessing or asking again; read-only lookup returns relevant memory IDs and evidence.

Instructions

Reach for this early and often whenever the person mentions anything from the past or ongoing life (a person, pet, place, plan, date, preference, promise, past decision, or phrases like 'remember when', 'last time', 'like I said', '还记得', '上次', '之前说过'), or before you guess, generalize, or ask something you might already know. Fast and read-only, so it is always worth checking before saying you do not remember. For exact wording, check evidence.status and quote only retained evidence.messages. Historical revision hits carry revision_of, the editable memory id. Returns the most relevant memories with ids (usable with remember's replaces or forget) plus matching private words as { data: { hits, glossary_hits, week_blocks, meta } }.

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": "recall"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoMaximum number of memory hits. Defaults to 20.
queryYesWhat to look up, in natural language, e.g. 'coffee preference' or 'weekend trip plans'.
typesNoOnly recall these memory types (fact, event, preference, relationship, boundary, habit, decision, note). Omit for all types.
min_scoreNoRelevance floor after reranking. Defaults to the server setting (0.15); lower it to see more.
namespaceNoMemory space to use. Defaults to 'default'. Ignored when the API key is bound to a fixed namespace.
include_historyNoWhen true, also return older versions that were replaced. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.0
    • changedInput schema / properties / query / description
      Previous value: -"What to recall, in the person's words or your own."New value: +"What to look up, in natural language, e.g. 'coffee preference' or 'weekend trip plans'."
  2. Addedv2.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description is not obligated to argue safety; nonetheless it adds latency ('fast'), the exact return envelope, and the caveat that only retained evidence.messages should be quoted after checking evidence.status. It also explains that revision hits carry revision_of, the editable memory id. Minor redundancy in restating 'read-only' keeps it just below the top score.

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?

The most important information, when to reach for the tool, is front-loaded, and every clause carries content. It is a dense single block with some redundancy between 'reach for this early and often' and 'always worth checking', and the return-format tail is crammed into one long sentence.

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?

There is no output schema, so the description correctly takes on the job of sketching the response shape ({ data: { hits, glossary_hits, week_blocks, meta } }) and the evidence.status quoting rule. For a six-parameter read tool with rich annotations this is nearly complete; it does not mention result limits or what an empty result looks like, which is a small remaining gap.

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 the six parameters (k, query, types, min_score, namespace, include_history) are already fully documented in the schema and the description adds almost no extra meaning for them. The only implicit tie-in is revision_of relating to include_history. Baseline 3 is appropriate.

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 names a specific retrieval action ('recall memories') and enumerates the retrieval surface: memories with ids, matching private words (glossary_hits), week_blocks and meta. It also positions itself against siblings by noting the returned ids are usable with remember's replaces or forget, so an agent can tell what this tool does and what it does not do.

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

Usage Guidelines5/5

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

It gives concrete trigger conditions ('whenever the person mentions anything from the past or ongoing life', 'remember when', 'last time', '还记得') and a negative-space rule ('before you guess, generalize, or ask something you might already know'). That is explicit when-to-use guidance plus an anti-pattern, which is stronger than most definitions.

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