Skip to main content
Glama

memory_delete

Delete a stored memory entry; soft deletion is default, while setting hardDelete=true removes both current and history rows.

Instructions

Delete a memory entry. Soft delete is the default; use hardDelete=true to remove current and history rows.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
namespaceNo
hardDeleteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and usefully discloses that soft delete is the default and hard delete removes both current and history rows. It omits permissions, recoverability of soft-deleted entries, side effects or cascades, and behavior when key or namespace is missing.

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 short sentences, front-loaded with the action and then the default/override behavior. Every sentence earns its place and there is no redundant wording.

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?

This is a moderately complex destructive tool with no annotations or output schema. The description covers the core soft-versus-hard deletion distinction but leaves key/namespace semantics and safety context incomplete, making it adequate but not fully complete.

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

Parameters2/5

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

Schema description coverage is 0%, with all three parameters represented as bare objects. The description only adds meaning for hardDelete and says nothing about key or namespace, such as key format, namespace defaults, or requiredness, so it compensates poorly for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific verb 'Delete' and resource 'memory entry,' and distinguishes the two deletion modes (soft by default, hard with hardDelete=true). It does not explicitly position itself against sibling tools such as memory_update, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains the parameter-level choice between default soft delete and hard delete when hardDelete=true. However, it gives no guidance on when to delete an entry versus using memory_update or other memory tools, leaving broader usage implied by the name.

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