Skip to main content
Glama

search_memories

Search memory contents using full-text queries with support for multi-keyword and phrase search. Filter results by visibility scope and tags for precise retrieval.

Instructions

全文搜索记忆内容。使用 FTS5 引擎,支持多关键词、短语搜索。可按可见范围和标签筛选。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes搜索关键词(如 '通信协议 错误修复')
scopeNo可见范围筛选all
tagsNo标签筛选(如 ['work', 'important'])
limitNo最大返回数量
offline_window_daysNo离线回退窗口(天)。当 FTS5 命中不足 5 条时,回退到最近 N 天的 collective/group 全量记忆
Behavior2/5

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

No annotations are provided, so the description carries full responsibility. It mentions the use of FTS5 and fallback logic for offline_window_days, but it does not disclose whether the operation is read-only, side effects, or behavior when queries return no results. Important behavioral traits are omitted.

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 very concise, consisting of two sentences that are front-loaded with the main purpose and engine. Every sentence adds value without redundancy.

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 tool has 5 parameters and complex fallback behavior, but the description does not explain the return format or pagination. While it covers the search and filtering capabilities, it lacks details on output structure, making it less complete for a fully comprehensive understanding.

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 describes all parameters. The description adds minimal extra meaning beyond the schema, such as clarifying the query phrase search and scope filtering, but it's not substantial enough to raise the score above baseline 3.

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 that the tool performs full-text search on memory content, specifying the FTS5 engine and support for multi-keyword and phrase search. It distinguishes from sibling tools like recall_memory and list_memories by focusing on search capabilities.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives, nor does it mention when not to use it. No context on prerequisites or exclusion criteria is given.

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/liuboacean/agent-comm-hub'

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