Skip to main content
Glama
ClickHouse Loom

ClickHouse Loom

Official

loom_memory_delete

DestructiveIdempotent

Tombstone a single saved memory by key when a user explicitly asks to forget or delete it. Searches all agents and sessions in the namespace, with 14-day recovery.

Instructions

WHAT: Tombstone a memory by key (14-day recovery in the dashboard). The row is found across every agent and session in the namespace; found: false = no live row — tombstoned: false is never success. WHEN: Explicit user request — 'forget that I…', 'delete X in Loom'. WHEN NOT: Not as cleanup or on inferred intent; a wrong value is corrected with loom_memory_update. WHICH REMOVAL: one key is this tool; many saved memories by filter or search is loom_memory_apply with action=delete; refusing later writes on a topic is loom_blacklist_add; every memory of an agent or user is memory.clear (via loom_op), for an admin; a user's request to erase all their data is erasure.request (via loom_op). ARGS: memory_key. Server fills identity.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "memory_key": "<memory_key>"
    },
    "name": "loom_memory_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idNo
namespaceNo
memory_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the description adds rather than establishes the safety profile. On top of that it discloses the 14-day dashboard recovery window and the crucial result semantics ('found: false' means no live row, 'tombstoned: false' is never success), which annotations cannot express. Good added value, though it does not say what happens to already-tombstoned keys or what a call on a nonexistent key returns.

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?

Labelled sections (WHAT / WHEN / WHEN NOT / WHICH REMOVAL / ARGS) make it scannable and front-loaded. Despite being dense, every clause carries decision-relevant information, including the compact routing list against alternatives; nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description still explains the return signals an agent must interpret (found and tombstoned) and the recovery window. For a destructive single-key delete with three parameters, an agent has everything needed to decide whether to call it and how to read the result.

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?

Schema description coverage is 0%, so the description has to carry parameter meaning. It names memory_key as the driver and says 'Server fills identity', which implicitly accounts for the run_id and namespace parameters. But it never explains the memory_key format, whether namespace can be overridden to target another scope, or what run_id does — leaving a real gap at zero schema coverage.

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?

States a specific verb and resource, 'Tombstone a memory by key', and immediately scopes it: the row is found across every agent and session in the namespace. It is clearly distinguishable from loom_memory_update, loom_memory_apply and loom_blacklist_add, which the description names explicitly.

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?

Provides dedicated WHEN, WHEN NOT and WHICH REMOVAL sections. It names the explicit user phrasings that justify a call, rules out inferred intent and cleanup use, and routes each adjacent removal scenario (bulk filter delete, write-refusal, per-agent wipe, GDPR erasure) to the correct sibling tool.

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