Skip to main content
Glama

zhiji_memory_search

Search long-term memory using hybrid retrieval (full-text trigram, vector semantics, and time decay) to return scored memory fragments with sources. Suitable for recall tasks without reasoning.

Instructions

在用户的长期记忆中做混合搜索(全文 trigram + 向量语义 + 时间衰减加权的 11 阶段管线),返回带来源与评分的记忆片段。比 workspace_assemble 轻量,适合只要召回不要推理的场景。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes检索词(中英文均可)
userEmailNo用户标识;缺省用 MB_USER_EMAIL
maxResultsNo返回条数,默认 8
Behavior4/5

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

The description details the internal search pipeline (11-stage hybrid search), but does not explicitly state that the tool is read-only or safe. As no annotations are provided, the description carries full burden; it is mostly transparent but lacks explicit assurance of no side effects.

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 two concise sentences, front-loaded with the core function and technical detail, followed by usage context. Every part is informative and no words are wasted.

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?

The description covers what the tool does, how it works, and when to use it. It mentions the return format (memory fragments with source and score). However, it does not specify pagination or sorting behavior, which could be useful for a search 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 description coverage is 100%, so baseline is 3. The description adds context about return format (source and score) but does not add meaning beyond the schema for the three parameters. It does not compensate for any gaps, as there are none.

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 the tool performs a hybrid search in long-term memory using full-text trigram, vector semantics, and time decay, returning memory fragments with source and score. It distinguishes itself from sibling 'workspace_assemble' by being lighter and focused on recall without reasoning.

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 explicitly says '比 workspace_assemble 轻量,适合只要召回不要推理的场景' (lighter than workspace_assemble, suitable for scenarios needing only recall without reasoning), providing clear guidance on when to use this tool versus an alternative.

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/xfhxxffhh224/zhiji-mcp'

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