Skip to main content
Glama
vbcherepanov

total-agent-memory

memory_exploration_recall

Read-onlyIdempotent

Before re-reading files to answer a codebase question, look up earlier exploration conclusions. Results are ranked by question similarity; each carries status 'fresh' (every source file is byte-identical to when the conclusion was…

Instructions

Before re-reading files to answer a codebase question, look up earlier exploration conclusions. Results are ranked by question similarity; each carries status 'fresh' (every source file is byte-identical to when the conclusion was recorded: reuse it) or 'stale' (changed_files / missing_files list what to re-read).

Input Schema

NameRequiredDescriptionDefault
rootNoAbsolute project root to verify files against; default: the server's working directory
limitNoMaximum memos returned
projectYesProject name
questionYesThe question being asked now
include_staleNoAlso return memos whose files changed since recording

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv14.9.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes beyond them by disclosing result ranking by similarity and the fresh/stale verification model with changed_files/missing_files. It doesn't state pagination or result-size behavior, but the freshness semantics are the valuable addition here.

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 dense sentences, front-loaded with the workflow trigger and then the result semantics. Every clause earns its place with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-value burden and does so: it explains ranking, the fresh/stale status, and the changed_files/missing_files payloads. An agent has everything needed to call and interpret this tool.

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 coverage is 100% with descriptions for all five parameters, so the schema already carries the parameter burden and a 3 is the baseline. The description explains what a 'stale' result contains, which loosely informs the include_stale flag, but adds no syntax or format detail beyond the schema.

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 concrete verb and resource ('look up earlier exploration conclusions') tied to a codebase-question workflow, which clearly separates it from the generic memory_recall sibling. It does not explicitly name that sibling, so differentiation is inferable rather than stated.

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?

Gives a clear triggering condition ('Before re-reading files to answer a codebase question'), which is exactly the when-to-use guidance an agent needs. It stops short of naming the alternative to use when no cached conclusion exists, so it is clear context without explicit exclusions.

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