Skip to main content
Glama

recall_index

Returns ranked memory summaries for a query without full content, letting agents identify relevant keys and fetch full details only for selected results.

Instructions

Lightweight recall: returns ranked summaries without full content. Use recall_detail() to fetch full content for selected keys.

Shares recall()'s relevance floor (RECALL_MIN_SCORE, default 0.15) and its weak_match flag, so top_k is a ceiling and a short or empty result set is a real answer. Takes recall()'s valid_at and known_at.

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

Input Schema

NameRequiredDescriptionDefault
queryYes
top_kNo
known_atNoOnly what OmniMem believed at this time ("what did we think in March"), with trust as it stood then.
valid_atNoOnly what was true at this time ("where did Sam live last March"): an ISO date, a timestamp or a phrase.
namespacesNo
domain_filterNo
expand_queriesNo
project_filterNo
snippet_lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does contribute real behavioral context: a relevance floor (RECALL_MIN_SCORE, default 0.15), a weak_match flag, and the important note that top_k is a ceiling so a short or empty result is a valid answer rather than a failure. It says nothing about permissions, error conditions, ordering guarantees, or the shape of a returned summary, leaving meaningful gaps for a tool with zero annotation coverage.

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 lead sentence is front-loaded and does the heaviest lifting, and the second paragraph packs several semantics into three short lines without padding. The references to 'recall()' and settings like RECALL_MIN_SCORE assume the reader already knows a sibling's contract, which slightly weakens standalone readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter tool with no annotations and no output schema, the description covers the result-set semantics well but leaves the majority of filters undocumented and never describes what a 'ranked summary' actually contains. An agent could call it with just a query, but could not confidently use the filtering parameters from this text alone.

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 only 22% across nine parameters, so the description must compensate — and it only partly does. It adds genuine meaning for top_k (a ceiling, not a target) and for the empty-result case, and it defers valid_at/known_at to recall(), but namespaces, domain_filter, project_filter, expand_queries, snippet_length, and query get no explanation anywhere.

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?

The first sentence states a specific verb and output shape: 'returns ranked summaries without full content,' which distinguishes it from recall_detail, the sibling it names. It does not, however, distinguish itself from the similarly named recall(), which it only references as a source of shared settings rather than as an alternative to choose between.

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?

It gives concrete routing guidance in both directions for one sibling: use this for lightweight ranked results, then 'Use recall_detail() to fetch full content for selected keys.' What is missing is any statement of when to prefer this over recall() itself, or when-not to use it at all.

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