Skip to main content
Glama

forget

DestructiveIdempotent

Delete a session or thread by UUID. Preview affected records with dry-run, then set dry_run=false to remove dialog rows, sidecars, and task spool files, while listing linked lessons for manual review.

Instructions

Forget one session/cid/thread/dialog UUID.

Defaults to dry-run and reports affected rows per store. Set dry_run=False to delete dialog rows, FTS/vector sidecars, directly sourced dialectic/verbatim/extract/task records, and matching task spool files. Lessons and skills that cite the selector are listed for manual re-review instead of silently retained.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
selectorYes
selector_typeNoauto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing that dry-run is the default, enumerating the exact stores affected (dialog rows, FTS/vector sidecars, dialectic/verbatim/extract/task records, task spool files), and noting that lessons/skills are listed for manual review rather than silently removed. This substantially clarifies the destructive behavior implied by destructiveHint=true and idempotentHint=true.

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 dense but compact: three sentences front-load the purpose, then cover the dry-run flow and the full deletion scope. Every sentence contributes meaningful information without redundancy or fluff.

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 the destructive nature and multi-store effects, the description is highly informative: it covers dry-run behavior, what gets deleted, and manual review for citing lessons/skills. The main remaining gap is the undocumented selector_type parameter, but the presence of an output schema reduces the need to describe return values.

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 description coverage is 0%, so the description must compensate. It does clarify the dry_run parameter well ('Defaults to dry-run', 'Set dry_run=False to delete') and gives meaning to selector by describing it as a session/cid/thread/dialog UUID. However, the selector_type parameter, including its 'auto' default, is left unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Forget') and a clear resource ('one session/cid/thread/dialog UUID'), and the deletion scope is further detailed. It does not explicitly differentiate from sibling tools like close_thread or session_end, but the UUID-oriented 'forget' concept is reasonably distinct.

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?

The description explains the dry-run default and how to invoke actual deletion by setting dry_run=False, which is useful practical guidance. However, it does not provide explicit when-to-use or when-not-to-use guidance relative to alternatives such as unlink, close_thread, or session_end.

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

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/po4erk91/thread-keeper'

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