Skip to main content
Glama

Recall a project's memory

recall_memory
Read-onlyIdempotent

Recalls what one project remembers. Call it often: before you start a piece of work, and whenever what you are about to do, decide or answer may already be in the project's memory. When in doubt, recall. It works as POST /api/v1/recall does: the same arguments, the same refusals and the same answer, each result with its sources. With no identity it reads what the console's Memories screen shows: everything in the project. With an identity it reads as that identity: what the whole project sees, and the audiences that hold the identity. While ingestions of the project are still processing, pending says how many, lists the data points this recall can name under items with their ingestionId, and get_ingestion follows one until it is done. It spends credits where the recall is priced, as an API recall does: every recall on Pay as you go, and on Flex and Enterprise each one above the billing period's fair use, which get_plan states. Needs project Read.

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

Input Schema

NameRequiredDescriptionDefault
sortNoThe order of the results after they are chosen: relevance (the default) or chronological.
levelNoThe evidence budget in words: low (8,000 tokens, the default), medium (16,000), high (24,000) or extra-high (32,000). Send this or maxTokens, never both.
limitNoHow many results at most, 1 to 200. 100 when omitted.
modelNoYour own model id, as your provider names it, such as claude-opus-5-5. It prices what this project saved; it changes neither the results nor what the recall costs. Omit it when you do not know it.
queryYesWhat to look for, in plain words.
filterNoNarrows the search to evidence whose sources carry given metadata values, the metadata an ingestion stored. A JSON object with one key, metadata, mapping each metadata key to a string, number or boolean, or to a list of them: {"metadata": {"kind": "claim"}} keeps only sources whose metadata has kind "claim", and {"metadata": {"kind": "claim", "stage": ["trial", "closed"]}} also requires stage to be trial or closed. Keys combine with and, the values of one key with or, and a memory matches through the sources it came from. Up to 20 keys and 100 values a key. Any other shape is refused recall-filter-invalid. Omit it to search everything.
projectNoThe project's slug, exactly as list_projects returned it. Omit it only when the organization has one live project.
identityNoRead as this identity: the customer's own id for one of their users. Omit it to read everything in the project, as the Memories screen does.
maxTokensNoThe evidence budget in tokens, for a figure no level gives. Send this or level, never both.
occurredToNoThe latest time the evidence may carry (ISO 8601), inclusive.
occurredFromNoThe earliest time the evidence may carry (ISO 8601), inclusive.
queryTimestampNoRecall as of this moment (ISO 8601), with only what was known then. Now when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "default": null,
      +  "description": "Narrows the search to evidence whose sources carry given metadata values, the metadata an ingestion stored. A JSON object with one key, metadata, mapping each metadata key to a string, number or boolean, or to a list of them: {\"metadata\": {\"kind\": \"claim\"}} keeps only sources whose metadata has kind \"claim\", and {\"metadata\": {\"kind\": \"claim\", \"stage\": [\"trial\", \"closed\"]}} also requires stage to be trial or closed. Keys combine with and, the values of one key with or, and a memory matches through the sources it came from. Up to 20 keys and 100 values a key. Any other shape is refused recall-filter-invalid. Omit it to search everything."
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / model
      Added value: +{
      +  "default": null,
      +  "description": "Your own model id, as your provider names it, such as claude-opus-5-5. It prices what this project saved; it changes neither the results nor what the recall costs. Omit it when you do not know it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / identity / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / level / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / project / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / sort / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  4. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, but the description adds substantially more: results come with sources, pending items carry an ingestionId, the call spends credits (always on Pay as you go, above fair use on Flex/Enterprise), and it needs project Read permission. Those cost and permission disclosures are exactly the kind of context annotations cannot carry.

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 purpose and the 'call it often' directive are front-loaded, and nearly every sentence adds new information about cost, identity, or pending state. It is dense with long compound sentences (the credits sentence especially), so it takes effort to parse, but little of it is filler.

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 12-parameter tool with no output schema, the description covers authentication level, billing behavior, the pending/ingestion workflow, and identity scoping. The return shape is only gestured at ('the same answer, each result with its sources'), which is a gap given no output schema exists, but the operational essentials are all present.

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 the parameter list is already documented and the baseline is 3. The description earns an extra point by explaining the semantics of the optional identity parameter (project-wide view plus the audiences the identity holds) and of omitting project (only valid with a single live project) in a way the schema text does not fully spell out.

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 opening line names a specific verb and resource ('Recalls what one project remembers') and the following sentences pin the exact scope: whole-project by default, identity-scoped when identity is supplied. It also anchors the behavior to a known endpoint ('It works as POST /api/v1/recall does'), so an agent can tell this apart from ingest_memory or delete_memory without opening a schema.

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?

Explicit when-to-use guidance: 'before you start a piece of work' and 'whenever what you are about to do, decide or answer may already be in the project's memory', plus a tie-breaker ('When in doubt, recall'). It also routes to siblings by condition — get_ingestion for pending ingestions and get_plan for the fair-use allowance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources