Skip to main content
Glama
Zifu Memory
by tanbopiao

zifu_search

Searches agent memory by exact keyword and returns entity-level summaries, with reader identity controlling access tiers and org-level results by default.

Instructions

按关键词精确检索记忆(实体级汇总)。reader 自报身份按分级读取;缺省只读 org 级。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keyword": "<keyword>"
    },
    "name": "zifu_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
readerNo
keywordYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a genuine behavioral trait: results are filtered by the calling reader's self-reported identity, with an org-level default. It does not state result limits, pagination, or ordering, and read-only status is only implied by 检索 rather than stated.

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

Conciseness4/5

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

Two short sentences with no filler, and the core operation is stated first with the access-control caveat second. Density is good, though the terseness leaves the keyword-matching rule unstated.

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?

An output schema exists, so return structure need not be described. For a two-parameter search tool with zero schema coverage, though, the description should say how keyword matching behaves and what fields the reader object accepts; those gaps are left open.

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 0%, so the description must compensate. It does explain the reader parameter's role (self-reported identity controlling tiered visibility, null = org level) but never explains how keyword matching works (exact token, substring, case sensitivity) or what shape the reader object takes.

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?

States a specific verb and resource ("按关键词精确检索记忆") plus a scoping qualifier ("实体级汇总", entity-level aggregation), which lets an agent distinguish it from semantic/hybrid search siblings by the word 精确 (exact). It never names those siblings, so the differentiation must be inferred from the word "exact" alone.

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 word "精确" implies this is the choice for exact keyword lookup rather than semantic matching, and the reader clause implies a permission-trimmed read. But no alternative is named (e.g. zifu_semantic, zifu_hybrid) and no when-not-to-use condition is given, so routing must be inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.