Skip to main content
Glama

Delete memory

delete_memory
DestructiveIdempotent

Delete a specific memory from the AI agent's long-term store by supplying its exact memory_id. Remove unwanted, outdated, or incorrect facts to keep memory accurate.

Instructions

Delete a single memory by memory_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYesExact memory_id to delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, covering the safety profile. The description adds the specific behavior of deleting a single memory via memory_id, but does not disclose additional side effects (e.g., permanence, reversibility). Since annotations carry much of the burden, a 3 is appropriate.

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?

The description is a single concise sentence that is front-loaded with the action. Every word earns its place, and it is appropriately sized for a simple delete tool.

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?

The tool has a simple parameter, comprehensive annotations, and an output schema. The description, combined with the schema and annotations, provides complete context for an agent to invoke it correctly. No additional details are necessary.

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?

The input schema has 100% coverage with the memory_id parameter described as 'Exact memory_id to delete.' The description also references memory_id but adds no extra semantics beyond the schema, so baseline 3 applies.

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 description clearly states the verb 'Delete', the resource 'memory', and the scope 'single memory by memory_id'. It differentiates from sibling tools like delete_all_memories and get_memory, making the purpose unambiguous.

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?

The description provides clear context on when to use this tool—when a single memory needs to be deleted by its ID. It does not explicitly mention exclusions or alternatives, but the sibling tools and the phrase 'single memory' imply the distinction from bulk deletion, so the guidance is clear but not exhaustive.

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/TeleAI-UAGI/telemem'

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