@jungjaehoon/mama-server 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.js +8 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jungjaehoon/mama-server",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "MAMA MCP Server - Memory-Augmented MCP Assistant for Claude Code & Desktop",
5
5
  "main": "src/server.js",
6
6
  "bin": {
package/src/server.js CHANGED
@@ -205,19 +205,20 @@ class MAMAServer {
205
205
  {
206
206
  name: 'search',
207
207
  description:
208
- 'Search decisions and checkpoints. With query: semantic search. Without query: returns recent items by time.',
208
+ 'Search decisions and checkpoints to learn from past reasoning. USE CASES: (1) Before making decisions - search for prior art on same topic; (2) After loading checkpoint - search related decisions for context; (3) When debugging - search for past failures on similar issues. Results are time-ordered so you can infer decision evolution (same topic = newer supersedes older). Cross-lingual: works in Korean and English.',
209
209
  inputSchema: {
210
210
  type: 'object',
211
211
  properties: {
212
212
  query: {
213
213
  type: 'string',
214
214
  description:
215
- 'Search query (optional). If empty, returns recent items sorted by time.',
215
+ 'Search query (optional). Semantic search finds related decisions even with different wording. If empty, returns recent items sorted by time.',
216
216
  },
217
217
  type: {
218
218
  type: 'string',
219
219
  enum: ['all', 'decision', 'checkpoint'],
220
- description: "Filter by type. Default: 'all'",
220
+ description:
221
+ "Filter by type: 'decision' for architectural choices, 'checkpoint' for session states, 'all' for both. Default: 'all'",
221
222
  },
222
223
  limit: {
223
224
  type: 'number',
@@ -230,7 +231,7 @@ class MAMAServer {
230
231
  {
231
232
  name: 'update',
232
233
  description:
233
- 'Update an existing decision outcome (success/failure/partial). Use after trying a decision to track what worked.',
234
+ 'Update decision outcome after real-world validation. WHEN TO USE: (1) Days/weeks later when issues discovered - mark failure with reason; (2) After production deployment confirms success; (3) After partial success with known limitations. WHY IMPORTANT: Tracks decision evolution - failure outcomes help future LLMs avoid same mistakes. TIP: If decision failed, save a new decision with same topic to supersede it.',
234
235
  inputSchema: {
235
236
  type: 'object',
236
237
  properties: {
@@ -245,7 +246,8 @@ class MAMAServer {
245
246
  },
246
247
  reason: {
247
248
  type: 'string',
248
- description: 'Why it succeeded/failed/was partial.',
249
+ description:
250
+ 'Why it succeeded/failed/was partial. Include specific evidence: error logs, metrics, user feedback, or what broke.',
249
251
  },
250
252
  },
251
253
  required: ['id', 'outcome'],
@@ -255,7 +257,7 @@ class MAMAServer {
255
257
  {
256
258
  name: 'load_checkpoint',
257
259
  description:
258
- 'Load the latest checkpoint to resume a previous session. Use at session start.',
260
+ 'Load the latest checkpoint to resume a previous session. Use at session start. Returns: summary (4-section: Goal/Evidence/Unfinished/NextAgent), next_steps (DoD + verification commands), open_files. IMPORTANT: After loading, verify Evidence items before continuing - checkpoint may be stale if code changed since last session. Run quick health checks from next_steps first.',
259
261
  inputSchema: {
260
262
  type: 'object',
261
263
  properties: {},