Skip to main content
Glama

knowmind_recall

Read-onlyIdempotent

Retrieve prior knowledge before answering decisions, preferences, project state, people, deadlines, or past conversations. Returns top-k memory chunks with relevance scores and source references.

Instructions

DEPRECATED, removed on 2027-03-31: use knowmind_recall_memories. This name keeps answering unchanged until then. Retrieve relevant knowledge before answering anything that benefits from prior context - decisions, preferences, project state, people, deadlines, past conversations. Hybrid recall (BM25 + pgvector + knowledge graph) over the tenant corpus; returns the top-k memory chunks, each with a relevance score and source reference. Suitable whenever earlier context would improve the answer; use knowmind_recall_at_time when you need what was valid at a past point in time. Passages from pages in Open Knowledge Format carry metadata.review_flags: stale once stale_after is reached, unverified when no verification is recorded, superseded when the page's status is deprecated or superseded or its valid_to is reached, drifted when code cited by the page's claims changed or was removed since the page was written; an empty list means none applies. When kein_belastbarer_treffer is true, the corpus most likely holds no answer; unless the hits clearly answer the question, say so. Read scope suffices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNoNumber of chunks to return (1-25, default 5).
hopsNoAccepted for compatibility (0-3, default 2); currently has no effect on recall.
queryYesNatural-language question; full sentences retrieve better than keywords.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.5
    • changedInput schema / properties / hops / description
      Previous value: -"Graph expansion depth over typed relations (0-3, default 2); 0 = text/vector only, no graph."New value: +"Accepted for compatibility (0-3, default 2); currently has no effect on recall."
  2. Addedv0.3.7

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description goes well beyond them: it names the retrieval architecture (BM25 + pgvector + knowledge graph), the return shape (top-k chunks with relevance score and source reference), the meaning of every metadata.review_flags value, the kein_belastbarer_treffer signal for 'no answer in corpus', and the auth requirement ('Read scope suffices'). This is exactly the extra 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?

Front-loads the deprecation notice and the replacement tool, then the purpose, then the flag semantics — good ordering with no filler sentences. The review_flags enumeration is dense and long, but each clause defines a distinct value that would otherwise be opaque; only mildly over-sized.

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

Completeness5/5

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

No output schema exists, and the description compensates by describing the return shape (top-k chunks, relevance score, source reference) plus the semantics of embedded flags. Combined with the deprecation timeline and scope note, an agent has everything needed to call and interpret it correctly.

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 query/k/hops are already fully documented, including that hops currently has no effect. The description adds no syntax, format, or trade-off guidance beyond the schema (e.g., no guidance on choosing k), 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 relevant knowledge') plus the situations it serves (decisions, preferences, project state, people, deadlines, past conversations). It explicitly distinguishes itself from two siblings by name (knowmind_recall_memories as successor, knowmind_recall_at_time for point-in-time), so an agent can route without opening any 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?

Gives an explicit when-to-use ('before answering anything that benefits from prior context'), an explicit when-to-use-the-alternative ('use knowmind_recall_at_time when you need what was valid at a past point in time'), and a deprecation route to the replacement tool. Nothing is left to inference.

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