Skip to main content
Glama
yanglinfeng

Memory Bridge

by yanglinfeng

保存长期记忆

memory_remember
Idempotent

Save durable facts, preferences, project decisions, events, and instructions across sessions so an assistant can recall stable context; duplicates merge automatically.

Instructions

保存值得跨会话保留的稳定事实、偏好、项目决定、重要事件或指令。不要保存闲聊、临时状态、密码、令牌或未经用户同意的敏感信息。重复内容会自动合并。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes记忆类型
tagsNo
scopeNo写入当前连接已绑定的 personal、role、project 或 session 作用域
titleNo简短标题
sourceNo
contentYes完整、独立、脱离上下文也能理解的记忆内容
summaryNo可选摘要
validToNo
namespaceNo兼容字段;只能等于当前 MCP 连接绑定的 namespace
sourceRefNo
validFromNo
confidenceNo
importanceNo
occurredAtNo
supersedesIdNo如果新记忆替代旧记忆,填写旧记忆 ID
idempotencyKeyNo调用方生成的幂等键,防止重复写入
_memoryRequestKeyNo兼容代理注入的内部请求键,用于合并同一次模型工具调用

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the operation is a write, idempotent, and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: duplicate content is automatically merged, and sensitive information requires user consent — neither of which is expressed in the structured fields.

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?

Three tight sentences: what to save, what not to save, and the merge behavior. No filler, and the positive guidance is front-loaded before the exclusions.

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?

For a 17-parameter mutation tool the description delivers a solid intent and safety story, and annotations plus a documented schema handle the rest. However, most non-required parameters receive no narrative explanation, so an agent gets little help on scoping or temporal fields.

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?

With 17 parameters and only ~53% schema coverage, the description carries some burden but offers no explicit parameter guidance. It does helpfully map its list of content types onto the kind enum values (preference, project, event, instruction), but says nothing about scope, namespace, supersedesId, idempotencyKey, or the time fields.

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 (save a long-term memory) and enumerates the content types that qualify (stable facts, preferences, project decisions, events, instructions). It clearly reads as the write side of the memory_* family, but it never names siblings like memory_update or memory_recall to disambiguate.

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

Usage Guidelines4/5

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

Provides explicit negative guidance — do not save chit-chat, temporary state, passwords, tokens, or sensitive info without consent — which is strong when-to-use context. It lacks an explicit alternative path (e.g. when to use memory_update instead of writing a new memory), keeping it from a 5.

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