Skip to main content
Glama
zhanpu89

ai-memory-mcp

by zhanpu89

search_summaries

Read-onlyIdempotent

Search and retrieve session summaries by filtering with keywords, tags, module, status, project, or branch. Supports FTS5 full-text and vector semantic search.

Instructions

搜索会话摘要,支持关键词、标签、模块、状态、项目、分支过滤,以及 FTS5 全文检索和向量语义检索。

Args: params (SearchSummariesInput): 包含: - query (Optional[str]): 搜索关键词 - tags (Optional[str]): 标签过滤,模糊匹配 - module (Optional[str]): 模块过滤,模糊匹配 - status (Optional[TaskStatus]): 状态过滤,精确匹配 - project_name (Optional[str]): 项目名称过滤,精确匹配 - branch_name (Optional[str]): 分支名称过滤,精确匹配 - use_fts (bool): 是否使用 FTS5 全文检索,默认 False - use_vector (bool): 是否使用向量语义检索,默认 False - limit (int): 最大返回条数,默认 10

Returns: Dict: {"success": bool, "data": List[Dict]}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate read-only, non-destructive, and idempotent behavior. The description adds no new behavioral traits (e.g., rate limits, auth requirements, caching). It is consistent but adds no value beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with bullet points and front-loaded purpose. However, it redundantly repeats parameter details already in the schema, making it longer than necessary.

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?

Given the tool's complexity (multiple filters, two search modes), the description covers the purpose and input parameters. It lacks explanation of when to use each search mode or what the output format contains, though an output schema exists.

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?

The description lists parameters with types and meanings, but the input schema already provides full descriptions for each property. Thus, the description adds minimal additional meaning beyond what the schema offers.

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 it searches session summaries with multiple filter options and two search modes (FTS5 and vector). It distinguishes itself from sibling tools like search_summaries_fts by offering both, but does not explicitly contrast them.

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

Usage Guidelines3/5

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

The description lists supported filters and modes, which implies when to use it (for summarized search with various criteria). However, it provides no explicit guidance on when not to use it or alternatives, especially given the sibling tool search_summaries_fts.

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/zhanpu89/ai-memory-mcp'

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