Skip to main content
Glama

search_memory

Read-only

Recall past work, decisions, and references from any project. Query by natural language or keywords, scope to current or all projects.

Instructions

Search memory across sessions and projects.

Call this whenever the user references past work, a prior decision, or ANOTHER project — e.g. "in one of my projects we did X", "how did we solve Y before", "what did we decide about Z", "last time". Use scope='all' (the default) to recall across every project; scope='current' to stay in this one. Returns matching past events with their project, content, and id — the id can be fed straight into log_event's supersedes to retire a decision you just found to be outdated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return.
queryYesWhat to look for, in natural language or keywords.
scopeNo'current' = this project only; 'all' = every project in memory.all

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, which match the read-only search behavior. The description adds context about return structure (project, content, id) and a usage tip (id can be fed into log_event's supersedes), enhancing transparency beyond annotations.

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?

The description is concise yet comprehensive. It starts with a clear purpose, then lists use cases, parameter guidance, and output details—all in a few sentences without 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?

Given the tool's complexity (searching multiple sessions/projects), the description covers when, how, and what to expect, plus a practical usage tip. With an output schema present, the description need not detail return schema, but it adds value explaining the id's role.

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 description coverage is 100%, so baseline is 3. However, the description adds valuable context beyond schema: explaining scope meaning in context and how the returned id can be reused, providing extra semantic help.

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 'Search memory across sessions and projects,' with a specific verb and resource. It distinguishes this tool from siblings like 'log_event' or 'checkpoint' as the only search tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to call (user references past work) with concrete examples. It explains the 'scope' parameter options and their use cases, helping the agent choose correctly.

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/kirill-sviridov/handoff-mcp'

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