fix: remove save_observation from MCP tool surface

save_observation is an internal API-only feature and should not be
exposed as an MCP tool to Claude.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex Newman
2026-02-25 19:55:12 -05:00
parent b43ad00f8b
commit 0b034af98b
-25
View File
@@ -233,31 +233,6 @@ NEVER fetch full details without filtering first. 10x token savings.`,
handler: async (args: any) => {
return await callWorkerAPIPost('/api/observations/batch', args);
}
},
{
name: 'save_observation',
description: 'Save an observation to the database. Params: text (required), title, project',
inputSchema: {
type: 'object',
properties: {
text: {
type: 'string',
description: 'Content to remember (required)'
},
title: {
type: 'string',
description: 'Short title (auto-generated from text if omitted)'
},
project: {
type: 'string',
description: 'Project name (uses "claude-mem" if omitted)'
}
},
required: ['text']
},
handler: async (args: any) => {
return await callWorkerAPIPost('/api/memory/save', args);
}
}
];