Skip to main content
Glama
MihaiBuilds

Memory Vault

by MihaiBuilds

purge_forgotten

Purge forgotten memories older than a set number of days to permanently remove soft-deleted rows and free up vault space. Irreversible, and only touches memories already marked forgotten.

Instructions

Permanently delete memories that were forgotten a while ago.

forget is a soft delete: the memory stops appearing in search but the row stays, so it can be recovered. Nothing removed it afterwards, so a vault that is edited often accumulated one dead row per edit forever.

This is the deliberate, irreversible half. It is never automatic — there is no timer that quietly deletes your memories — and it only touches memories already marked forgotten, never active ones.

Args: older_than_days: Only purge memories forgotten at least this many days ago. The default keeps a month of recovery, so purging right after an accidental forget still spares it. Pass 0 to purge every forgotten memory regardless of age.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
older_than_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it does so thoroughly. It states the operation is permanent and irreversible, explains that it is never automatic, and reassures that it only touches forgotten memories. It also includes the default retention period as a safety behavior, which is valuable context for an agent deciding to invoke a destructive operation.

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 front-loaded with the primary action and then uses compact paragraphs for contrast, safety guarantees, and parameter semantics. Each sentence earns its place: even the 'dead row' background explains why the tool exists and supports the usage decision. It is detailed without being bloated.

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 destructive one-parameter tool with an output schema present, the description is complete. It covers what the tool does, when to use it, how the parameter behaves, the safety default, and the boundary conditions. No essential information for invoking it correctly is missing.

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 description coverage is 0%, so the description is the only source of parameter meaning. It fully explains `older_than_days`: only forgotten memories at least that many days old are purged, the default preserves a month of recovery, and passing 0 purges all forgotten memories regardless of age. This is exactly the semantic detail the schema lacks.

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 opens with a specific verb and resource: 'Permanently delete memories that were forgotten a while ago.' It clearly distinguishes itself from `forget`, which it explicitly identifies as a soft delete, and marks this tool as the irreversible counterpart. An agent can tell exactly what this tool does and how it differs from siblings.

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?

The description explicitly contrasts with `forget`, explaining that `forget` keeps the row for recovery while this tool is the 'deliberate, irreversible half.' It also clarifies when it is appropriate: only for memories already marked forgotten, never active ones, and never automatically. This gives an agent clear guidance on when to choose this tool over alternatives.

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

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/MihaiBuilds/memory-vault'

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