Skip to main content
Glama
shijieweb

memos-api-mcp

by shijieweb

delete_memory

Remove stored memories using their IDs. If IDs are not provided, search memory to find and then delete the relevant entries.

Instructions

用户要求删除记忆时调用;未提供 ID 时先 search_memory 查找。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idsYes要删除的记忆 ID 列表
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only mentions the call trigger and the fallback to search_memory when IDs are missing. It does not state whether deletion is permanent, what happens if IDs don't exist, or any side effects, leaving significant behavioral gaps for a destructive operation.

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?

The description is a single, front-loaded sentence that states the trigger condition and then provides a conditional workflow. Every word contributes essential information, with no redundancy or filler.

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?

Given the tool's simplicity—one parameter, no output schema, no annotations—the description provides the core usage context and a fallback procedure. However, it omits important details like error handling, irreversibility, and return values, which are typically expected for a delete operation. It is adequate but with clear gaps.

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?

The sole parameter memory_ids is described in the schema as '要删除的记忆 ID 列表' (list of memory IDs to delete), achieving 100% schema coverage. The description adds minimal value by implying that if IDs are absent, one should search first, but it doesn't further elaborate on the parameter's format or use beyond the schema, so the baseline of 3 is appropriate.

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 explicitly states '用户要求删除记忆时调用' (call when user requests to delete memory), clearly indicating the tool's purpose of deleting memory entries. This distinguishes it from sibling tools like delete_kb_documents, which target knowledge base documents, and search_memory, which is for searching.

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 provides an explicit trigger condition ('when user requests to delete memory') and a concrete alternative workflow: if no ID is provided, first use search_memory to find it. This gives clear guidance on when to use this tool and how to handle missing IDs, effectively differentiating it from alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shijieweb/memos-mcp-custom-trae'

If you have feedback or need assistance with the MCP directory API, please join our Discord server