Skip to main content
Glama

Stash — Shared AI Memory

Remove memory or namespace

rm
DestructiveIdempotent

Remove a memory entry by UUID, or delete an entire namespace subtree. Only owners can remove pinned memories. Removing a source or target retires the affected pins. Use this to keep memory clean and accurate — stale or wrong memories are worse than no memory. When something changes, remove the old entry (or update it). A clean memory store retrieves better.

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": {
      "kind": "<kind>"
    },
    "name": "rm"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesResource kind to remove.
pathNoNamespace path when kind is namespace.
namespaceNoAlias for 'path'.
entry_uuidNoMemory entry UUID when kind is memory.

Output Schema

NameRequiredDescriptionDefault
kindYes
next_actionsNo
namespace_pathNo
removed_entriesYes
removed_namespacesYes
removed_memory_entry_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint and idempotentHint, so the safety profile is covered, and the description earns credit for adding non-obvious behavior: the owner-only restriction on pinned memories and the fact that removing a source or target 'retires the affected pins.' It still doesn't say whether removal is recoverable or that an output schema reports the outcome, leaving a small gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The operational content is correctly front-loaded in the first three sentences, but the closing motivational pair ('stale or wrong memories are worse than no memory' and 'A clean memory store retrieves better') says the same thing twice and adds no invocation guidance. Roughly a third of the text is persuasive padding.

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?

With a full input schema, an output schema, and rich annotations already supplied, the description only needs to add authorization and side-effect context, which it does. Nothing critical is missing for correct invocation, though a note on irreversibility versus the restore sibling would make it complete.

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 coverage is 100% with per-parameter descriptions and an enum on kind, so the schema already carries the semantics. The description only restates the UUID-for-memory and path-for-namespace mapping implicitly, and never mentions the 'namespace' alias for 'path' or the interaction between the required kind and the other three fields. Baseline 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 first sentence gives a specific verb plus both resources and the disambiguating key for each: 'Remove a memory entry by UUID, or delete an entire namespace subtree.' An agent immediately knows the two operating modes and which identifier drives each, which is enough to separate it from siblings like update or mv.

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

Usage Guidelines4/5

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

It gives clear context for when to reach for this tool ('When something changes, remove the old entry') and explicitly names the alternative ('or update it'), pointing at the update sibling. It does not state when-not to use it or how to decide between namespace deletion and per-entry removal beyond the kind parameter, so it falls short of a full 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources