Skip to main content
Glama

Delete a memory file

memory_delete
Destructive

Delete one memory file. It moves to the trash and can be restored in the dashboard until the trash empties (after 3, 7 or 30 days). Docs: https://only-mcp.com/docs/what-is-onlymcp#what-sits-behind-the-one-address

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

Input Schema

NameRequiredDescriptionDefault
pathYesPath of the memory file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description meaningfully qualifies that by disclosing this is a recoverable soft delete: the file moves to trash and is restorable until the trash empties at 3/7/30 days. That is real context an agent could not infer from the annotations, though it does not say whether the file vanishes from list_memory immediately or whether permission/auth constraints apply.

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?

The core behavior is front-loaded in sentence one, with the restore semantics immediately following. The trailing documentation URL is dead weight for an agent that cannot browse, but the overall length is well matched to the tool.

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 one-parameter tool with no output schema, the description covers what happens to the resource after the call and the recovery window, which is the key uncertainty. Minor gaps remain around behavior on nonexistent paths and around the link graph (memory_links suggests files may be linked), but nothing an agent needs to invoke it is missing.

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 a single, self-describing 'path' parameter, so the baseline is 3. The description adds no path format, root-relative syntax, or validation rules beyond what the schema already provides.

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 ("Delete one memory file") with explicit single-file scope, which cleanly separates it from memory_move, memory_write, and the sibling skill_file_delete/skill_delete tools. No ambiguity about what the call does.

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?

Usage is only implied by the name; the description never says when to prefer memory_move over deletion, nor what happens for a missing path. The restore-window sentence hints that this is a soft/recoverable delete, which indirectly informs the decision, but no alternative tool is named despite memory_move and memory_links being obvious siblings.

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