Skip to main content
Glama

dakera_recall

Retrieves the closest agent memories for a semantic query, with optional tag, type, session, time, and importance filters; can include linked knowledge-graph memories.

Instructions

Semantic recall: the top_k (default 5) memories closest to a query, optionally narrowed by tags, memory_type or session_id. include_associated adds KG neighbours one hop away (dakera_recall_associated goes deeper).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoen, de, fr, es, it, pt or nl (v0.12+)
tagsNo
queryYesSemantic query text
sinceNoOnly memories created at or after this ISO-8601 timestamp
top_kNoMax results to return
untilNoOnly memories created at or before this ISO-8601 timestamp
agent_idYes
session_idNo
memory_typeNo
min_importanceNoMin importance threshold
include_associatedNoInclude KG-linked memories in results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.11.0
    • addedInput schema / properties / lang
      Added value: +{
      +  "description": "en, de, fr, es, it, pt or nl (v0.12+)",
      +  "type": "string"
      +}
    • addedInput schema / properties / memory_type
      Added value: +{
      +  "enum": [
      +    "episodic",
      +    "semantic",
      +    "procedural",
      +    "working"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / session_id
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Addedv0.10.12
  3. Removedv0.10.11
  4. Addedv0.10.8

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose genuinely useful behavior: top_k defaults to 5 and include_associated pulls one-hop KG neighbours rather than deeper traversal. It does not state that this is a read-only/non-mutating operation, nor anything about result volume, ranking, or permissions.

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?

Two tight sentences, front-loaded with the core semantic-recall behavior and the default before the optional modifiers. Dense but no filler; only slight compression cost is that the parenthetical routing note is easy to skim past.

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?

With no annotations, no output schema, and only 64% schema coverage across 11 params, the description is adequate but incomplete: it never says what a recalled memory looks like, how ranking/scores are returned, or how the temporal (since/until) and language parameters behave.

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 64% with 11 params. The description adds real value the schema lacks — the top_k default of 5 and the semantics of include_associated (one hop) — and summarizes the tags/memory_type/session_id narrowers. But since/until, lang, and min_importance are untouched by either the description or (for several) the schema.

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?

States a specific verb+resource ('semantic recall ... memories closest to a query') and describes the retrieval mechanics (top_k nearest-neighbour, optional filters). It names dakera_recall_associated as the deeper alternative, though that tool is not in the sibling list, and it never distinguishes itself from dakera_search / dakera_hybrid_search / dakera_fulltext_search, which an agent must still 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 Guidelines3/5

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

Usage is implied: use this for semantic top-k recall with optional narrowing, and use dakera_recall_associated when you want deeper KG traversal. There is no explicit when/when-not and no routing against the several other search siblings, so the agent must infer context from the verb.

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