Skip to main content
Glama

Recall

recall
Read-onlyIdempotent

Recall stored semantic memories for the active graph by meaning rather than keywords.

WHEN TO USE:

  • Before answering, to retrieve remembered context

  • When the user refers to something established in an earlier session

RETURNS: The top-k most relevant memories with their ids and similarity scores.

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

Input Schema

NameRequiredDescriptionDefault
kNoMax results to return (1-50, default 10).
queryYesWhat to recall (natural language).
memory_typeNoOptional filter by memory type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered; the description adds the graph scoping and the return shape (top-k with ids and similarity scores), which is valuable since no output schema exists. It does not mention ranking cutoffs, latency, or whether an empty result is possible.

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?

Front-loaded one-line purpose followed by labeled WHEN TO USE and RETURNS sections; every sentence carries information and nothing is padded.

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?

For a three-parameter read tool with full annotation coverage, the description supplies purpose, triggers, and return shape. The only gap is that memory_type is left unexplained for filtering behavior, which is minor at this complexity.

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 the schema already explains k, query, and memory_type. The description only echoes the top-k concept and adds no guidance on what memory_type values are valid or how ranking works.

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 ("Recall stored semantic memories") plus the scope ("active graph") and the retrieval mode ("by meaning rather than keywords"). This distinguishes it from keyword-style retrieval siblings without needing the schema.

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?

A dedicated WHEN TO USE section gives two concrete triggers: before answering and when the user references an earlier session. It stops short of naming an alternative tool or stating when-not to use it, so it is strong but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.