Skip to main content
Glama

memory_recall

Searches conversational memory using current dialogue text to recover details evicted from short-term memory. Returns ready-to-use text and structured rows with optional time, type, and platform filters.

Instructions

按当前对话内容主动检索记忆(短期记忆被淘汰后还能从原文里捞回)。默认只查本平台;返回可直接用的 text 与结构化 rows。

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": {
      "sessionId": "<sessionId>",
      "text": "<text>"
    },
    "name": "memory_recall"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes检索词,通常取自用户刚说的话
kindsNo
limitNo
sinceNo
untilNo
platformsNo跨平台召回需显式列出平台,且服务端要开启
sessionIdYes
subjectIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral context — that evicted short-term memory can still be recovered from original text, that the default scope is this platform only, and that the result ships as both ready-to-use text and structured rows. It omits permission/auth requirements, any latency or result-size behavior, and does not explicitly state that it is a read-only operation.

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, front-loaded with the core action and followed by scope and return-format facts. Every clause carries information; the only mild inefficiency is that return-format detail is packed into the same sentence as the platform default.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no annotations, no output schema, and 25% schema coverage, the description is thin. It helps on return shape and platform scoping but leaves the majority of parameters and the choice among several retrieval siblings unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% across 8 parameters, so the description needs to compensate and largely does not. It touches only the platform default (relevant to `platforms`) and implicitly `text`, while `kinds`, `limit`, `since`, `until`, `sessionId`, and `subjectId` carry no meaning beyond their bare schema types and numeric bounds.

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 gives a specific verb+resource pair (主动检索记忆 / proactively retrieve memory) plus a scope qualifier (按当前对话内容, 默认只查本平台). It is clear what the tool does, but it never names a sibling such as memory_query or memory_context_compose, so an agent must infer differentiation from names 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?

Usage is implied rather than stated: '按当前对话内容主动检索' suggests calling it during an ongoing conversation, and '短期记忆被淘汰后还能从原文里捞回' hints at the recovery case. However, there is no explicit when-not-to-use or pointer to the alternative retrieval tools, leaving the agent to guess between memory_recall, memory_query, and the context_* family.

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