Skip to main content
Glama

delete_all_memories

Bulk delete all memories associated with a user, optionally limited to a specific session. Ideal for resets, privacy wipes, or cleanup.

Instructions

Bulk delete all memories for a user, optionally filtered to a specific session.

Use Cases

  • User starts fresh on a project ('Clear all my memories')

  • Complete privacy wipe requested

  • Abandoned/debug session cleanup

  • User explicitly requests full memory reset

Caution

Destructive and irreversible. Confirm with user if request seems broad.

Without agent_id: deletes ALL user memories With agent_id: deletes only that session's memories

Pre-Deletion Recommendation

Before bulk delete, consider:

  1. Informing user how many memories will be deleted

  2. Confirming they want to proceed

  3. Suggesting targeted delete if they only want to remove specific memories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNoUser identifier (optional, uses default if not set).
agent_idNoOptional: delete only memories from this specific session/run.
Behavior4/5

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

No annotations provided, so description carries full burden. Clearly states destructive and irreversible nature, and behavior difference with/without agent_id. Pre-deletion recommendation adds context. Lacks mention of return value or side effects, but for a delete tool this is sufficient.

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?

Description is moderately verbose with bullet points and sections, but each part earns its place (use cases, caution, pre-deletion recommendations). Could be trimmed slightly, but front-loaded first sentence conveys core purpose.

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?

Given no output schema and two optional parameters, description covers use cases, caution, and parameter behavior. Lacks detail on return value or default user_id, but sufficient for a destructive bulk operation. Siblings are well-differentiated.

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

Parameters5/5

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

Schema coverage 100%, but description adds significant value: explains how agent_id filters to a session, and implies user_id defaults. Clarifies behavior beyond schema descriptions, enabling correct tool usage.

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?

Clearly states 'Bulk delete all memories for a user, optionally filtered to a specific session.' The verb 'bulk delete' and resource 'memories' are specific. Differentiates from sibling 'delete_memory' which deletes a single memory.

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?

Explicit use cases listed (fresh start, privacy wipe, cleanup, memory reset). Caution warns of destructiveness and irreversibility, advising confirmation. Recommends targeted delete as alternative, distinguishing from delete_memory.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoeXie/remember-me'

If you have feedback or need assistance with the MCP directory API, please join our Discord server