Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
rememberA

Store one or more factual observations under an entity in the knowledge graph. Automatically creates the entity if missing, evaluates pre-insertion contradiction detection against existing facts, assigns authority tiers, and records logical dependencies.

WHEN TO USE:

  • Use "remember" to record new knowledge, user preferences, architectural decisions, or verified facts.

  • DO NOT use to invalidate or delete outdated facts — use "forget" instead.

  • DO NOT use to query memory — use "recall" or "context" instead.

CONTRADICTION & RETURN BEHAVIOR:

  • Evaluates semantic opposition. If a contradiction is detected, a warning is returned and recorded in the audit log while persisting the fact.

  • Returns JSON containing { ok: true, entity, domain, tier, observationIds, contradictionWarnings }.

recallA

Search memory observations and facts matching keywords or concepts using SQLite FTS5 BM25. Enforces a strict token budget to prevent context window overflow.

WHEN TO USE:

  • Use "recall" for focused keyword search, retrieving specific past facts, or when under a strict token budget.

  • DO NOT use for exploring structural, multi-hop entity relationships — use "context" instead.

RETURNS:

  • JSON object containing matched entities, facts with authority tiers and statuses, estimated tokens used, and truncation flag.

forgetA

Invalidate or permanently remove an entity or a specific observation UUID. Supports soft invalidation, hard permanent deletion, and automatic cascading invalidation of dependent facts.

WHEN TO USE:

  • Use "forget" when a fact is superseded, contradicted, or deprecated.

  • Prefers soft invalidation (hard=false) to preserve audit trails. Use hard=true only when permanently expunging sensitive data.

  • DO NOT use to update a fact with new info — use "remember" with updated content.

PERMISSIONS & FAILURE BEHAVIOR:

  • Operates locally on SQLite storage. Returns an error if the target entity name or UUID is not found in the database.

  • Returns JSON containing { ok: true, type, targetId/entity, mode, cascadedStaleCount }.

contextA

Traverse the knowledge graph starting from query seed entities outward up to N hops using GraphRAG relational discovery.

WHEN TO USE:

  • Use "context" when you need holistic, multi-hop relational knowledge around an entity (e.g. architecture, connections, dependencies).

  • DO NOT use for simple keyword search or strict token-budget lookups — use "recall" instead.

RETURNS:

  • Formatted relational Markdown document detailing seed entities, their attributes, active observations, and outward relation links.

remember_mediaA

Ingest an immutable media asset (image, audio, video, PDF, document) into Content-Addressable Storage (CAS) with SHA-256 deduplication. Automatically creates an entity representing the media, records descriptive observations about what the media depicts or contains, evaluates pre-insertion contradiction detection, establishes semantic relations to other entities, and synchronizes to dual-write Markdown.

WHEN TO USE:

  • Use "remember_media" when you have a local media file (screenshot, photo, voice note, document, diagram) and want to attach structured knowledge, descriptions, or relationships to it.

  • Amneshia handles storage, hashing, and relations deterministically with ZERO LLM overhead.

  • To query media facts later, use "recall" or "context".

RETURNS:

  • JSON containing { ok: true, entity, media: { sha256, mimeType, fileName, fileSize, relativePath, deduplicated }, observationIds, relations, contradictionWarnings }.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: remember and remember_media handle writing, recall and context handle reading, and forget handles deletion. Descriptions explicitly cross-reference and differentiate use cases, making selection unambiguous.

Naming Consistency4/5

Most names are lowercase action verbs (remember, recall, forget), but 'context' is a noun and 'remember_media' uses an underscore. These are minor deviations from an otherwise consistent and readable convention.

Tool Count5/5

Five tools is well-scoped for a memory/knowledge graph server, covering the essential operations without redundancy. Each tool clearly earns its place.

Completeness4/5

The core lifecycle (create, read, delete) is covered, with update handled via remember as documented. Minor gaps like no explicit update tool or entity listing exist, but workarounds prevent dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues