Skip to main content
Glama

forget_memory

Delete a specific stored memory using its unique id to remove outdated or incorrect information from the memory gate.

Instructions

Delete a stored memory by the id shown in recall_memory output. The full id is safest; an unambiguous prefix of 8+ characters also resolves.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe memory id to forget, exactly as recall_memory printed it (or an unambiguous first-8-characters-or-more prefix of it).
scopeNoOptional namespace the memory lives in, e.g. 'amir/greek'. Forget only resolves ids within this scope, so one namespace can't delete another's memory. Omit for the default namespace. Use the same scope you recalled the id from.
Behavior4/5

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

No annotations are provided, so the description fully carries the burden. It clearly discloses the destructive nature (delete), id resolution behavior (full or prefix), and scoping rules to prevent cross-namespace deletion.

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 two sentences, front-loaded with the core purpose, with no extraneous information. Every word adds value.

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?

For a delete operation with no output schema, the description adequately covers id resolution and scope constraints. No additional return value explanation is needed.

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 is 100%, but the description adds critical details: for id, it clarifies safety of full id vs. prefix length; for scope, it explains namespace isolation and the need to use the same scope as recall. This goes beyond the schema's descriptions.

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' and the resource 'stored memory', specifically referencing the id from recall_memory output. It effectively distinguishes itself from sibling tools save_memory and recall_memory.

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?

It provides clear context on when to use the tool (after recall_memory) and how to provide the id (full or unambiguous prefix). It does not explicitly state when not to use it, but the mention of recall_memory output implies the intended workflow.

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/amirj4m/jamgate'

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