Skip to main content
Glama

memory

Store project notes, recall context, search memories with hybrid semantic and keyword retrieval, cluster related items, deduplicate, archive old memories, and set permanent rules for persistent session intelligence.

Instructions

Memory operations. Operations:

  • remember: Store a note (just content - category/relevance optional)

  • recall: Get all memories for project

  • forget: Clear project memories

  • search: Find by file/tags/query (file_path, tags, query, limit)

  • clusters: View grouped memories (cluster_id to expand)

  • cleanup: Dedupe/cluster/decay (dry_run, min_relevance, max_age_days)

  • consolidate: LLM-powered merge of related memories (tag, dry_run)

  • add_rule: Add permanent rule (content, reason) - never decays

  • list_rules: Get all rules for project

  • modify: Edit memory (memory_id, content, relevance, category)

  • delete: Remove single memory (memory_id)

  • batch_delete: Bulk delete by IDs (memory_ids) or by category. Rules/mistakes protected from category delete.

  • promote: Promote memory to rule (memory_id, reason)

  • recent: Get recent memories newest first (category, limit)

  • archive: Move old inactive memories to cold storage (dry_run to preview)

  • restore: Bring archived memory back to active (memory_id)

  • archive_search: Search archived memories (query, tags, limit)

  • archive_status: Show hot vs archived memory counts

  • hybrid_search: Semantic + keyword + scored search (query, file_path, tags, limit). Best retrieval.

  • embed_all: Generate AllMiniLM embeddings for all memories (enables hybrid_search)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesOperation to perform
project_pathYesProject directory
contentNoFor remember/add_rule/modify: content
categoryNoFor remember/modify/batch_delete/recent: memory category
relevanceNoFor remember/modify: importance 1-10
file_pathNoFor search: filter by file
tagsNoFor search: filter by tags
queryNoFor search: keyword search
limitNoFor search/recent: max results
cluster_idNoFor clusters: expand specific cluster
tagNoFor consolidate: only consolidate memories with this tag
dry_runNoFor cleanup/consolidate: preview only
min_relevanceNoFor cleanup: min to keep
max_age_daysNoFor cleanup: decay threshold
memory_idNoFor modify/delete/promote: memory ID
memory_idsNoFor batch_delete: list of memory IDs to delete
reasonNoFor add_rule/promote: why this rule
Behavior3/5

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

With no annotations, the description carries full burden. It discloses destructive operations (forget, delete, etc.) and explains protections (rules/mistakes from category delete). However, it does not address authentication needs, rate limits, or failure behavior, leaving gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a long, unstructured list that is not concise. It could be organized into categories or groups. While front-loaded with 'Memory operations', it still reads as a wall of text.

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?

Given the tool's complexity (20 operations, 17 parameters), the description is fairly complete in covering each operation's behavior. However, it lacks information about return values (no output schema) and error conditions, making it less than fully comprehensive.

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 100%, so baseline is 3. The description adds minor context by associating parameters with specific operations, but largely repeats what the schema already states. It does not significantly deepen understanding beyond the schema.

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 clearly enumerates each operation with a brief explanation, making it specific about what the tool does across multiple memory management tasks. However, the lack of a title and the overwhelming list slightly reduce clarity. It is distinguishable from siblings by being a general memory tool.

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?

No explicit guidance on when to use this tool versus other sibling tools (e.g., context, convention). The description only lists operations without providing context on when each operation is appropriate or when to choose an alternative tool.

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/20alexl/claude-engram'

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