Skip to main content
Glama

search_memories

Search stored memories by keywords or phrases, with filters for visibility scope and tags to quickly retrieve relevant information.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes搜索关键词(如 '通信协议 错误修复')
scopeNo可见范围筛选all
tagsNo标签筛选(如 ['work', 'important'])
limitNo最大返回数量
Behavior3/5

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

The description indicates the tool performs a search and supports filtering, but does not disclose whether it is read-only, its performance characteristics, or other behavioral traits. With no annotations, the description partially informs behavior but lacks explicit safety context.

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 highly concise—two sentences that front-load the core purpose and key features. No redundant or extraneous information.

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 search tool with 4 parameters and no output schema, the description covers the main functionality and filtering options. It lacks details on return format, pagination, or sorting, but the overall picture is mostly complete.

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?

All four parameters have descriptions in the schema (100% coverage). The tool description reiterates filtering by scope and tags but adds no new semantic value beyond the schema. Baseline of 3 is appropriate.

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 clearly states the tool searches memory content using full-text search with FTS5 engine. It specifies support for multi-keyword and phrase search, and filtering by scope and tags. However, it does not explicitly differentiate from sibling tools like 'recall_memory' or 'list_memories', which may cause ambiguity.

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?

No guidance is provided on when to use this tool versus alternatives such as 'recall_memory' or 'search_messages'. The description is purely functional and does not offer context for selection.

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