Skip to main content
Glama
Forgetful

Forgetful

by ScottRBK

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SERVER_PORTNoHTTP server port8020
EMBEDDING_MODELNoEmbedding modelBAAI/bge-small-en-v1.5
MAX_GRAPH_LIMITNoUpper bound for graph limit2000
MEMORY_TOKEN_BUDGETNoMax tokens for query results8000
MEMORY_NUM_AUTO_LINKNoAuto-link count3

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
discover_forgetful_toolsA

Discover available tools, optionally filtered by category

Returns enough information for LLMs to call tools directly without needing how_to_use.

how_to_use_forgetful_toolB

Get detailed documentation for a specific tool

Returns complete documentation including JSON schema, multiple examples, and full parameter details.

execute_forgetful_toolA

Execute any registered tool dynamically. Forgetful is a semantic memory system for LLMs.

Quick Start - One-Shot Examples (all required params shown)

Memory Operations:

  • Search: execute_forgetful_tool("query_memory", {"query": "search terms", "query_context": "why searching"})

  • Create: execute_forgetful_tool("create_memory", {"title": "Short title", "content": "Memory content (<2000 chars)", "context": "Why this matters", "keywords": ["kw1", "kw2"], "tags": ["tag1"], "importance": 7, "project_ids": [1]})

  • Create with provenance: execute_forgetful_tool("create_memory", {"title": "...", "content": "...", "context": "...", "keywords": [...], "tags": [...], "importance": 7, "source_repo": "owner/repo", "source_files": ["src/main.py"], "confidence": 0.85, "encoding_agent": "claude-sonnet-4"})

  • Update: execute_forgetful_tool("update_memory", {"memory_id": 1, "content": "new content"})

  • Get: execute_forgetful_tool("get_memory", {"memory_id": 1})

  • Link: execute_forgetful_tool("link_memories", {"memory_id": 1, "related_ids": [2, 3]})

  • Unlink: execute_forgetful_tool("unlink_memories", {"source_id": 1, "target_id": 2})

  • Obsolete: execute_forgetful_tool("mark_memory_obsolete", {"memory_id": 42, "reason": "Outdated approach", "superseded_by": 100})

Project Organization:

  • List: execute_forgetful_tool("list_projects", {})

  • Create: execute_forgetful_tool("create_project", {"name": "Project Name", "description": "What this project is about", "project_type": "development"})

  • Get: execute_forgetful_tool("get_project", {"project_id": 1})

  • Query: execute_forgetful_tool("query_memory", {"query": "search terms", "query_context": "why searching", "project_ids": [1]})

Entities (people, orgs, devices):

  • Create: execute_forgetful_tool("create_entity", {"name": "Sarah Chen", "entity_type": "Individual", "notes": "Backend developer", "aka": ["Sarah", "S.C."]})

  • Search: execute_forgetful_tool("search_entities", {"query": "Sarah"}) # Searches name AND aka

  • Link to memory: execute_forgetful_tool("link_entity_to_memory", {"entity_id": 1, "memory_id": 1})

  • Unlink from memory: execute_forgetful_tool("unlink_entity_from_memory", {"entity_id": 1, "memory_id": 1})

  • Link to project: execute_forgetful_tool("link_entity_to_project", {"entity_id": 1, "project_id": 1})

  • Unlink from project: execute_forgetful_tool("unlink_entity_from_project", {"entity_id": 1, "project_id": 1})

Documents (long-form content >300 words):

  • Create: execute_forgetful_tool("create_document", {"title": "Doc Title", "description": "Brief summary", "content": "Long content...", "document_type": "text", "project_id": 1})

Code Artifacts (reusable snippets):

  • Create: execute_forgetful_tool("create_code_artifact", {"title": "Snippet Title", "description": "What this does", "code": "def example(): pass", "language": "python", "project_id": 1})

Linking Best Practices

Always link related items for discoverability:

  • When creating documents, link atomic memories: create_memory(..., document_ids=[doc_id])

  • When creating code artifacts, link to memories: create_memory(..., code_artifact_ids=[artifact_id])

  • Link memories to each other: link_memories(memory_id=1, related_ids=[2, 3])

  • Link entities to memories: link_entity_to_memory(entity_id=1, memory_id=1)

  • Link entities to projects: link_entity_to_project(entity_id=1, project_id=1)

Tool Categories

memory | project | entity | document | code_artifact | linking | user

Use discover_forgetful_tools(category?) for full parameter details and optional params.


Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation4/5

The three tools form a clean meta-pattern: discovery, documentation, and execution each have a distinct role, and the execute tool's description enumerates the vast underlying tool surface. The only mild overlap is between discover_forgetful_tools and how_to_use_forgetful_tool, both of which return tool information, though one is a list/browse and the other is deep per-tool docs.

Naming Consistency4/5

All three names are snake_case and share a consistent '<verb>_forgetful_tool(s)' suffix, making the family immediately recognizable. Minor deviations occur: 'how_to_use' is a phrase rather than a single verb, and the singular/plural suffixes (tools vs tool) are inconsistent across the three.

Tool Count4/5

Three tools is thin on its face, but this is a deliberate gateway/dynamic-tool pattern where execute_forgetful_tool fronts dozens of memory, project, entity, document, and artifact operations, so the small top-level surface is appropriate rather than impoverished. Each of the three tools clearly earns its place with no redundancy.

Completeness5/5

The underlying surface described in the execute documentation covers near-full lifecycle: create/get/update/query/obsolete and linking for memories, CRUD-ish operations for projects, entities, documents, and code artifacts, plus entity-memory and entity-project linking. Hard deletes and cross-resource search are the only plausible gaps, and discovery-plus-execute means the surface is self-revealing rather than dead-ending.

Maintenance

ActivityActive
ResponsivenessUsually handled