Skip to main content
Glama

memory_summarize

Capture a stretch of conversation as a topic card for project progress, plot or character archives, and decision history when you ask the agent to remember it.

Instructions

Save a stage summary as a topic card when the user asks to remember this stretch of conversation. Use it for project progress, plot or character archives, and decision history — not for one-line facts, which belong in memory_add.

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": {
      "title": "<title>",
      "summary": "<summary>"
    },
    "name": "memory_summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoExisting card id to update instead of creating a new one.
scopeNoScope.
titleYesShort card title.
routesNo分类归属,格式 domainKey/topicTitle(如 ai-lab/本地部署与延伸计划),可多挂;不填时更新沿用旧 routes,新建落 inbox。
summaryYesMarkdown body: 背景 / 当前状态 / 关键决策 / 未决问题.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior3/5

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

There are no annotations, so the description carries the whole load. It implicitly discloses upsert behavior through the 'stage summary' and the schema's id field, but it does not say whether a save overwrites existing content, whether it is destructive, or what the tool returns. Having no annotations is a genuine gap, though the description covers intent and scope well.

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?

Two sentences, front-loaded with the action and trigger, followed by positive examples and a negative route to the sibling. No wasted words.

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?

For a memory-write tool with no output schema, the description covers intent, trigger, and scope boundaries well. The minor gap is that mutation semantics, update-and-create behavior, and failure modes are not described, and no annotations back them up.

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

Parameters4/5

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

The schema coverage is 100%, so the schema already explains all five parameters, including the route format and fallback behavior. The description adds value beyond the schema by framing the summary as a staged archive with content types, though it doesn't clarify the id semantics or the scope enum.

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 gives a specific verb and resource ('Save a stage summary as a topic card'), and it clearly names the sibling it is not: memory_add for one-line facts. An agent can distinguish the two without opening either schema.

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?

It states the trigger ('when the user asks to remember this stretch of conversation') and the intended cases (project progress, plot or character archives, decision history), plus an explicit negative route ('not for one-line facts, which belong in memory_add'). This is an explicit when, when-not, and alternative.

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