Skip to main content
Glama

memory_delete

Destructive

Remove a stored per-site memory entry by specifying its key to clear outdated or unwanted data.

Instructions

Delete a memory entry by key.

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": {
      "key": "<key>"
    },
    "name": "memory_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

C2.7/5.0
Behavior2/5

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

destructiveHint=true already tells the agent this is a destructive write, so the description adds little on that front. It doesn't say whether the deletion is permanent, what happens when the key doesn't exist, or whether the entry is returned before removal — all behavior beyond the annotation that would help an agent act safely.

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

Conciseness4/5

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

A single front-loaded sentence with no filler, so there is nothing superfluous. Brevity costs it only because the remaining space that could have held useful detail is left empty.

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

Completeness2/5

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

For a destructive operation with a wholly undocumented parameter and no output schema, the definition is thin. It omits missing-key behavior, error outcomes, and any confirmation semantics an agent needs before irreversibly deleting data.

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%, so the description carries the burden for the single 'key' parameter. 'By key' only restates the parameter name and gives no format, no example, and no indication of what an invalid or absent key produces.

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 a specific verb and resource ('Delete a memory entry') plus the lookup method ('by key'), which distinguishes it cleanly from memory_get, memory_list and memory_save. The one gap is that it doesn't explicitly contrast itself with sibling tools, but the operation is unambiguous.

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

Usage Guidelines2/5

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

No guidance on when to use this versus the alternative ways memory could be removed or overwritten, and no prerequisites stated. An agent must infer context entirely from the tool name.

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