Skip to main content
Glama
xmszm

xmszm-memory

by xmszm

delete

Deactivate a memory by exact URI, marking it with a deletion timestamp while preserving the JSON record. Use search or list first if the URI is unknown.

Instructions

Soft-delete an active memory by exact URI. Does not remove the JSON record; it sets deletedAt. Use search/list first if URI is unknown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriYesExact memory URI
namespaceYes
Behavior4/5

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

With no annotations provided, the description carries full responsibility for disclosing behavior. It clearly explains the soft-delete nature: 'Does not remove the JSON record; it sets deletedAt.' This is a critical non-obvious trait that goes beyond a typical delete. However, it does not address edge cases like non-existent URIs or already-deleted memories, which slightly reduces completeness.

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 extremely concise at two sentences, front-loaded with the primary action, and every sentence adds value—purpose, behavior, and usage guidance. There is no redundancy or filler.

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 simple delete operation with two parameters and no output schema, the description covers purpose, usage guidance, and key behavioral context. It does not specify return values or error conditions, but these are not explicitly required given the lack of an output schema. Overall, it is adequately complete for an agent to invoke the tool correctly.

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 schema describes 'uri' as 'Exact memory URI' (50% coverage), and the description reinforces 'exact URI' and advises searching first if unknown, adding meaning to the uri parameter. However, the 'namespace' parameter remains unexplained, and the description does not fully compensate for the missing schema description for that parameter.

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 clearly states the tool's action: 'Soft-delete an active memory by exact URI.' This is a specific verb+resource combination, and the additional explanation that it sets deletedAt rather than removing the JSON record distinguishes it from a hard delete and aligns with its sibling operations like create/update/read.

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?

The description provides explicit guidance: 'Use search/list first if URI is unknown.' This names alternative tools and sets a clear precondition for use, helping the agent decide when to invoke this tool versus searching or listing first.

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/xmszm/memory'

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