Skip to main content
Glama

recall

Search memory using natural language queries with auto-routing between session cache and knowledge graph. Supports optional search type and dataset filters.

Instructions

Search memory with auto-routing and session awareness.

When session_id is provided without datasets or search_type,
searches session cache first by keyword matching. Falls through
to the permanent knowledge graph if no session results match.

Auto-routing picks the best search strategy when search_type
is not specified.

Parameters
----------
query : str
    Natural language query to search for.
search_type : str, optional
    Override auto-routing. Options: GRAPH_COMPLETION,
    GRAPH_COMPLETION_COT, RAG_COMPLETION, CHUNKS, SUMMARIES,
    TEMPORAL, FEELING_LUCKY, etc.
datasets : str, optional
    Comma-separated dataset names to search within.
session_id : str, optional
    Session ID for session-first search.
top_k : int
    Maximum results to return (default: 10).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
search_typeNo
datasetsNo
session_idNo
top_kNo
Behavior3/5

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

The description explains the auto-routing and session-first search fallback behavior, which is useful. However, since there are no annotations, it does not explicitly state that the tool is read-only or disclose any side effects, rate limits, or error handling. More details would improve transparency.

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 description is well-structured with a brief introductory sentence followed by a parameter list. It is somewhat lengthy but every sentence adds value, and the key information is front-loaded.

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?

Given no output schema or annotations, the description adequately explains the search behavior and parameters. However, it lacks details about the return format, pagination, or error conditions, which would be useful for complete understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides detailed explanations for all parameters, including the `search_type` options, `datasets` format, `session_id` purpose, and `top_k` default. This adds significant meaning beyond the sparse input schema, which has 0% coverage.

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 description clearly states the tool's purpose: 'Search memory with auto-routing and session awareness.' It uses a specific verb ('Search') and resource ('memory'), and distinguishes from sibling tools like 'remember' and 'forget' by detailing the search behavior.

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?

The description provides clear usage context, such as when session_id is provided without datasets or search_type, it searches session cache first. It also explains auto-routing when search_type is not specified. However, it does not explicitly state when not to use this tool or mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/topoteretes/cognee'

If you have feedback or need assistance with the MCP directory API, please join our Discord server