Skip to main content
Glama

delete_memory

Delete a specific memory entry using its UUID. Removes outdated or incorrect context from the shared semantic memory layer.

Instructions

Delete a specific memory by its ID.

Args: memory_id: UUID of the memory to delete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It discloses that the operation deletes a memory, but says nothing about permanence/irreversibility, permissions, effects on associated data, or behavior when the ID doesn't exist. For a destructive mutation, that is a meaningful omission.

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 compact and front-loaded: one clear action sentence followed by a minimal Args block. No filler or redundant restating of the tool name.

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

Completeness3/5

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

For a single-parameter tool with an output schema, the operational essentials are mostly present: what it deletes and what memory_id means. Still, the missing side-effect/behavioral context and lack of usage guidance leave it slightly short of fully self-sufficient for an AI agent.

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

Parameters4/5

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

The input schema only exposes memory_id as a string, while the description adds that it is a UUID and explains that it identifies 'the memory to delete.' This compensates for the 0% schema coverage. It is brief but sufficient given only one required parameter.

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 opening sentence 'Delete a specific memory by its ID' identifies the exact operation and target, and the sibling list makes the distinction obvious: this is the only delete operation among get/update/list/save tools. It states a specific verb and resource without ambiguity.

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?

There is no guidance about when to choose this tool over alternatives such as update_memory or bulk_save_memories, no prerequisites, and no exclusions. The intended use is only implied by the word 'Delete' rather than explicitly stated.

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/infinitylabs-io/SyncContext'

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