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.

AgentRecall is your memory across sessions. YOU drive its lifecycle — no harness fires it for you; if you don't call these tools, nothing is saved. (1) ENTRY: when a session resumes prior work, call session_start FIRST, before acting. (2) DURABLE INTENT: the moment you or the user says save / remember / checkpoint / 记住 / 保存, call session_end (or remember for a single fact). Saying it is not saving it. (3) EXIT: before you stop, call session_end. recall and check are safe to call freely, any time. Hooks auto-fire only in Claude Code; in every other host (Codex, chatbox, raw API) you are the sole lifecycle driver.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
session_startA

[ENTRY — call FIRST, before acting] Use when the user asks to start, load, continue, resume, or open memory for a project. Default mode='cards' loads the owner card, the HARD RULES and the project state card and nothing else; mode='full' adds continuity, insights, rooms, captures and the rest (and is the default when verbose=true, which promises the full JSON context); mode='lite' is a ≤500-token sketch (pull memory on demand via recall()). Read-only: the call leaves the memory store byte-identical (disclosed exceptions: AR_AB_ENABLED=1 writes an A/B arm row, and the hosted server's per-credential activity record). Usage counters and telemetry are queued and recorded before the next write tool (waits at most ~1.5 s), by a 30 s background flush, or when the stdio server's stdin closes or it receives SIGTERM/SIGINT; a crash (kill -9, power loss) before then loses them.

session_endA

[ON SAVE/EXIT — YOU must call this; nothing auto-saves] Use when the user asks to save, checkpoint, summarize, end, retain, or persist the current session. Optionally pass close_phase / open_phase to update the project pipeline narrative spine in the same call.

rememberA

[MID-SESSION WRITE — single fact/decision; saying it is not saving it] Use when the user asks to remember, store, note, or save a specific decision, fact, or insight.

recallA

[RETRIEVE — use freely, any time] Use when the user asks to recall, search, find, or look up previous memory, context, or decisions. Read-only: the call leaves the memory store byte-identical (disclosed exceptions: the hosted server's per-credential activity record). Usage counters and any feedback ratings are queued and recorded after the call: before the next write tool (waits at most ~1.5 s), by a 30 s background flush, or when the stdio server's stdin closes or it receives SIGTERM/SIGINT. A crash (kill -9, power loss) before then loses them.

checkA

[MID-SESSION — safe any time; for alignment, before risky decisions] Use when the user asks to validate understanding, verify alignment, or check if their interpretation matches the human's intent. Also call BEFORE a high-risk action — publish, deploy, delete, credential exposure, external send/message, or any other irreversible write — passing action_description (one sentence, what you're about to do). Returns matching corrections/rules/insights plus a verdict: blocked means an authoritative correction OVERRIDES the plan — read it before proceeding. To RECORD a durable human correction, pass human_correction as the STRUCTURED object {rule, why, applies_when} — a plain string is only STAGED for later review, never activated.

Prompts

Interactive templates invoked by user choice

NameDescription
show_projectsShow the AgentRecall project status board.
start_projectStart or resume AgentRecall memory for a project.
save_sessionSave the current session to AgentRecall.
arstartLoad full project context for a new session. Call this at the beginning of every session to recall past decisions, corrections, insights, and cross-project lessons.
arsaveSave everything from this session — journal, palace consolidation, awareness insights. Call at the end of every productive session.
arsaveallScan all of today's sessions across all projects and save them in one consolidated pass. Use when multiple agents ran in parallel.
recall-contextQuickly recall everything AgentRecall knows about a topic — searches journals, palace rooms, and cross-project insights.

Resources

Contextual data attached and managed by the client

NameDescription
AwarenessThe compounding awareness document — 200-line cap, cross-project insights, trajectory, blind spots
Awareness StateStructured awareness state — insights array, trajectory, blind spots, compound insights

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation4/5

The five tools map to distinct lifecycle moments: session_start (load), session_end (save), remember (single-fact write), recall (search), and check (validation/verdict). The main soft spot is remember vs session_end, since both persist information, but the descriptions clearly separate 'one fact' from 'whole-session checkpoint'.

Naming Consistency3/5

Two tools use a noun_verb session_ prefix while the other three are bare verbs (remember, recall, check), so there is no single predictable pattern. Names are still readable and individually clear, but the convention is mixed.

Tool Count5/5

Five tools is well-scoped for a memory/session-continuity server; each tool covers a distinct phase (load, save, write, read, validate) with no obvious filler. Nothing feels thin or bloated.

Completeness4/5

The surface covers the core memory loop — load context, write facts, recall, validate, and save — with no dead ends for normal use. Minor gaps exist: there is no explicit update/edit or forget/delete operation for stored memories, so correcting or pruning stale memory must be worked around.

Maintenance

ActivityNo data
ResponsivenessOutdated data