Skip to main content
Glama

Mnemex

gc

Remove or archive low-scoring memories that have fallen below the forget threshold to prevent database growth and maintain memory efficiency.

Instructions

Perform garbage collection on low-scoring memories. Removes or archives memories whose decay score has fallen below the forget threshold. This prevents the database from growing indefinitely with unused memories. Args: dry_run: Preview what would be removed without actually removing. archive_instead: Archive memories instead of deleting. limit: Maximum number of memories to process. Returns: Statistics about removed/archived memories.

Input Schema

NameRequiredDescriptionDefault
archive_insteadNo
dry_runNo
limitNo

Input Schema (JSON Schema)

{ "properties": { "archive_instead": { "default": false, "title": "Archive Instead", "type": "boolean" }, "dry_run": { "default": true, "title": "Dry Run", "type": "boolean" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Limit" } }, "type": "object" }

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/simplemindedbot/mnemex'

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