Skip to main content
Glama

read_memory

Retrieve topic-specific historical memories via hybrid vector/BM25 search, re-ranked by importance and recency. Returns 'No relevant memories found' when nothing matches; not for current state.

Instructions

Hybrid search (vector cosine + BM25, rank-fused, importance/recency re-ranked) over the trail. Use for topic-specific HISTORY — not for current state (that's pins/wiki). Says "No relevant memories found" when nothing clears the honesty floor; believe it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
domainNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses meaningful traits: hybrid search mechanics, rank fusion, importance/recency re-ranking, and the honesty-floor message when nothing relevant is found. It does not explicitly state read-only behavior or permission requirements, but the core search behavior is well covered.

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 tightly written sentences front-load the search mechanics and scope before moving to usage guidance and the honesty-floor behavior. Every sentence carries useful information with no wasted wording.

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?

The description covers purpose, usage, and behavior well, and an output schema exists so return values need not be described. However, with 0% schema description coverage for three parameters, it remains incomplete regarding how to use query, limit, and domain correctly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for three undocumented parameters. It barely implies that the query should be topic-specific but says nothing about limit or domain, leaving most parameter semantics unexplained.

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?

The description states a specific operation — hybrid search over the trail — and clarifies it is for topic-specific history rather than current state. It distinguishes itself from pins/wiki, but it does not differentiate from the sibling search_memory, which is likely the closest alternative.

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?

It gives explicit usage guidance: use for topic-specific HISTORY, not for current state (pins/wiki). This is clear context and an exclusion, but it omits the direct alternative for historical memory search, such as search_memory.

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