Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MNEMOTH_DATA_DIRNoDirectory where dataset SQLite files are stored. Defaults to ~/.mnemoth.~/.mnemoth
MNEMOTH_EMBEDDERNoEmbedding backend: 'hash', 'fastembed', or 'auto'. Defaults to 'auto'.auto

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
describe_ontologyA

Entity types, functional relations, imported ontologies, and store stats for a dataset. Call once per session before remember.

add_entity_typeA

Add an entity type when nothing in describe_ontology fits. PascalCase name; optional parent (collapses onto a basic type) and aliases.

import_ontologyA

Import an OWL/RDF/Turtle ontology (text). Classes become entity types with parents collapsing onto basic types; labels become aliases.

declare_functional_relationsA

Declare relation names that hold a single current value per subject (e.g. current_owner, deployed_in). New assertions then supersede older ones automatically; nothing is deleted.

rememberA

Store memory as a typed graph: entities (name, type, description) and relations (source --name--> target, one-sentence description, evidence, optional valid_from/valid_to). Pass source_text and a summary so recall can find it lexically. Validates against the ontology, merges entities by name, supersedes functional relations, records provenance, and warns about hotspots that may be contradictions.

mark_contradictionA

Record that two stored facts cannot both be true. Adds a contradicts edge between their subjects. Use supersede instead when the newer fact simply replaces the older in time.

supersedeA

Mark an older fact as superseded by a newer one. The old fact stays in history and leaves default recall.

merge_entitiesA

Merge two entities that denote the same thing. Relations and chunks move to keep; drop is removed and recorded as an alias.

cross_connectB

Add relations between existing entities proposed by memify_candidates(cross_connect).

set_bucket_summaryA

Write the summary for a global-context bucket returned by memify_candidates(stale_summaries).

forgetA

Forget an entity (and its relations) by exact name, a relation by id, a session, or a whole dataset. Prefer supersede for facts that were true once. Confirm with the user first.

recallA

Recall memory. Routes the query to a mode unless given: hybrid (default), facts, neighbourhood, lexical (quoted phrase), summaries, temporal, rules, session. Searches the project dataset then the user dataset. Returns ranked raw entities, facts (with evidence, validity, superseded/contested flags), chunks; you synthesise.

contradiction_candidatesB

Facts around given entities or relations, grouped by subject, with hotspots where one subject holds several values for one relation. Judge them with the mnemoth-contradictions skill.

historyA

Provenance ledger for an entity (and its relations) or a relation: every create, merge, assert, supersede, forget with actor and time.

memify_candidatesB

Maintenance proposals: cross_connect (co-occurring entities without a relation), consolidate (near-duplicate names), stale_summaries (global-context buckets needing a summary).

global_contextC

Global context index: one bucket per entity type with its summary, and how many are stale.

list_datasetsB

List datasets (memory scopes) on this machine; the default for this project and the user-global dataset.

session_startB

Start (or resume) a session. Returns standing context (goals, rules, preferences, lessons) to load before work.

session_add_turnC

Append a turn (user/assistant/tool/system) to the session's fast cache.

session_set_contextC

Record a session context entry: goals, rules, preferences, lessons_learned, tool_rules, workflow_state, success_patterns, failure_lessons, environment_facts, or feedback ('+Name'/'-Name' adjusts recall weight). Pass retire_entry_id to replace an outdated entry.

session_getB

Read a session: turns and context entries, optionally filtered by section.

session_timelineC

Pack a session into batches for distillation, with prior lessons and the curator/writer rules. Then judge and call publish_lessons.

publish_lessonsB

Persist accepted lessons as Lesson entities linked to what they apply to; marks the session distilled.

session_endC

Close a session. Tells you whether it still needs distillation.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/AndrewNgo-ini/mnemoth'

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