Skip to main content
Glama

dakera_recall

Retrieve top-k memories semantically closest to a query, with optional expansion via knowledge graph edges.

Instructions

Retrieve top-k memories semantically closest to a query. Prefer over dakera_batch_recall for query-based retrieval. Set include_associated=true to expand results via KG edges (1-3 hops).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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
min_importanceNoMin importance threshold
include_associatedNoInclude KG-linked memories in results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.12
  2. Removedv0.10.11
  3. Addedv0.10.8

TDQS

A4.6/5.0
Behavior4/5

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

No annotations exist, so the description carries the burden. 'Retrieve' implies a read-only operation, and the description adds detail about KG expansion behavior, but does not explicitly state side-effect-free or auth requirements. However, the read-only intent is clear from the verb.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with purpose, and every phrase provides useful information (top-k, semantic closeness, preference, include_associated). No redundancy.

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?

Given 7 parameters and no output schema, the description provides the key usage context (preference over batch recall, KG expansion). However, the required agent_id parameter has no schema description and is not mentioned in prose, leaving a small gap in completeness.

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?

The description adds meaning to 'top_k' with 'top-k' and to 'include_associated' with the KG edge explanation. Since the schema already provides descriptions for most parameters, this adds context beyond the schema, though some parameters (e.g., agent_id) are not elaborated.

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?

Clearly states the action (retrieve), the resource (memories), and the criterion (semantically closest to a query). It also distinguishes from the sibling dakera_batch_recall, making the purpose unambiguous.

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?

Explicitly says to prefer this over dakera_batch_recall for query-based retrieval, and advises setting include_associated to expand via KG edges. This gives clear when-to-use and alternative guidance.

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