Skip to main content
Glama

recall_memory_tool

List long-term memory clusters ranked by freshness, or run semantic recall when passing a query. Stale clusters stay hidden unless include_stale is true.

Instructions

List long-term memory clusters ranked by freshness score. Pass query to run semantic recall instead of listing. Clusters below min_freshness are hidden unless include_stale=true.

Input Schema

NameRequiredDescriptionDefault
queryNo
include_staleNo
min_freshnessNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

A4.1/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, and it delivers non-obvious behavior: default freshness filtering ('clusters below min_freshness are hidden') and the include_stale override. It does not address auth, rate limits, or what a 'cluster' is, but the output schema covers returns.

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?

Three short sentences, front-loaded with the primary behavior and each carrying distinct information. No filler or repetition.

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 3-param, dual-mode retrieval tool with an output schema handling return values, the description covers modes, filtering, and overrides adequately. The main gap is no differentiation from sibling retrieval tools like fetch_cluster_tool.

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?

Schema coverage is 0%, so the description must compensate, and it does: query triggers semantic recall, min_freshness sets the hiding threshold, and include_stale overrides the filter. All three parameters gain meaning beyond the bare schema titles.

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 and resource ('List long-term memory clusters') with scope ('ranked by freshness score') and a second mode ('semantic recall'). Clear enough to distinguish from search_* siblings, but never names or contrasts a sibling such as fetch_cluster_tool.

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?

Explicitly tells the agent when to switch modes: 'Pass query to run semantic recall instead of listing.' This gives a real decision rule. It stops short of when-not guidance or routing to sibling retrieval tools.

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