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.

You are connected to the user's persistent long-term memory (Membase). It is the authoritative record of the user's past, preferences, decisions, projects and personal facts.

  1. Before answering anything about the user's own history ("remember", "last time", "my project", "did I", "记得", "上次", "我的", any first-person reference to past state), call search_memories (or ask_memory for one written answer). Do not use Conversation Search or Web Search for this: they are not the user's memory. Call list_profile_facts once near the start of a conversation to learn who the user is.

  2. When the user states something durable (a decision, a preference, a milestone), call add_memory without being asked. Skip pleasantries; the bar is "would they want this recalled in six months?". A standing fact about the user themselves (their name, role, a lasting preference) goes to add_profile_fact. Raw material (a file, a page, notes) goes to add_document.

  3. If memory has nothing relevant, say so ("I don't have that in memory — want me to add it?"). Do not guess and do not pretend to remember. When you use something you found, say which memory it came from (memory_name).

  4. When memory conflicts with what you would otherwise say, memory wins. Never forget or delete anything unless the user asks.

  5. Photos, videos and audio recordings live in media memory, apart from the rest: look there with search_media (or ask_media for an answer), and store a file the user hands you with add_media.

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
get_capabilitiesA

What this connection can do: the actions it holds, the Memories it may use (by name) and the user's standing rules for using them. Read-only.

search_memoriesA

Passages the user's memory holds on q, most relevant first, each naming the Memory it came from (memory_name); a fact carries its mem_ id. limit is the total number of passages (1-50); mode="fast" is one round with no model call. Retrieval, not an answer.

ask_memoryB

One answer to message, written from what the user's memory holds, with the Memory it came from (citations). The passages themselves are not returned.

list_memoriesB

The newest facts the user's memory learned, newest first. limit is how many, newest first: 1-1000, default 100.

get_memoryA

One learned fact by its mem_ id (from search_memories or list_memories).

add_memoryA

Save one durable fact or a short exchange, in the user's words. It is written as a note (doc_ id) and learned; a standing fact about the user themselves goes to add_profile_fact.

forget_memoryA

Forget one learned fact by its mem_ id; the material it came from stays. Without confirm=true nothing changes and the call fails with confirmation_required.

list_profile_factsA

Who the user is: standing statements (name, role, lasting preferences), newest first, each with its pf_ id and source_kind. limit is how many, newest first: 1-1000, default 100.

add_profile_factB

Keep one standing statement about the user themselves, in their words. The same one again keeps the one there (created: false).

forget_profile_factA

Forget one profile statement by its pf_ id. To correct one, add the new statement and forget the old. Without confirm=true nothing changes and the call fails with confirmation_required.

list_documentsB

The material the user's memory was given, newest first; kind is file or note. limit is how many, newest first: 1-1000, default 100.

get_documentB

One document by its doc_ id, with where its learning stands.

add_documentB

Give the user's memory raw material to learn: content text or a public url. The same custom_id again is a no-op.

delete_documentA

Remove a document by its doc_ id and what was learned from it. Without confirm=true nothing changes and the call fails with confirmation_required.

add_mediaA

Store an image, video or audio file: a path on this machine or a public url. Shots, captions, speech and speakers are worked out before it returns (minutes for a long video).

list_mediaC

The photos and videos in media memory, newest first, each with a one-sentence summary.

get_mediaB

One media item with its shots and spoken lines (times, speakers, thumbnails).

search_mediaB

Photos and videos matching q (any language), best first, each with the moments that matched. kind is image or video (locally also audio or text).

delete_mediaA

Forget a media item by its med_ id and remove its file. Without confirm=true nothing changes and the call fails with confirmation_required.

ask_mediaC

An answer from media memory alone, with the items it drew on.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 20 tools

Disambiguation4/5

The set is organized into four clear resource families (learned facts, profile facts, documents, media), and descriptions explicitly steer between tricky pairs like add_memory vs add_profile_fact and search_memories (retrieval) vs ask_memory (answer). The one soft spot is add_memory writing a `doc_` note while add_document also creates notes, plus three near-parallel 'ask/list/search' tools across memory and media, but descriptions disambiguate each.

Naming Consistency5/5

Every tool follows a strict verb_noun pattern (add_/get_/list_/search_/delete_/forget_/ask_) with plural nouns for collection operations and singular for single-item ops. Only trivial deviation is get_capabilities using a plural object where no single capability resource exists.

Tool Count4/5

20 tools across four resource families is on the heavy side but each one maps to a distinct operation, with no redundant or speculative tools. The set could be trimmed slightly (e.g. ask_memory vs search_memories) but overall the count is earned by the breadth of the memory domain.

Completeness4/5

Full lifecycle coverage exists for media (add/list/get/search/delete/ask) and near-full for memories and profile facts, with documented workarounds (add-then-forget instead of update a profile fact). Gaps remain: documents have no update or search operation despite being a core resource, and there is no way to edit a learned memory in place.

Maintenance

ActivityActive
ResponsivenessNo recent community issues