trailmem
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| trailmem_welcomeB | Session-start briefing: pinned rules, recent activity, open tasks, stats. Call once at session start; repeat calls return the short form unless force=true. |
| trailmem_storeA | Save a new memory (decision/lesson/task/constraint/...) with optional linking. Store the ENGLISH version of the content; title 3-60 chars, content 50+ chars. Duplicates are rejected/blocked with the existing #id — edit that instead. |
| trailmem_queryA | Search memories (semantic + keyword). Returns #id, type, status, edge count [↔N] and a 200-char preview per hit. Use trailmem_show(ref) for full content + edges. |
| trailmem_showA | Fetch one memory in full: content, all edges (with [eN] ids), supersede chain. The only tool that returns edges — edge ids here are what link remove needs. |
| trailmem_editB | Update a memory's content/title/type/pin, or archive it (status='archived' needs archive_reason >=20 chars AND at least one edge). Content edits refresh hash + embedding + search index automatically. |
| trailmem_linkB | Create (action='add': source, target, edge_type) or remove (action='remove': edge_id from trailmem_show) a typed edge between memories. Types: related / derived_from / supersedes / contradicts / evolves. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| save_session | Capture this session's durable decisions, lessons, and open tasks into trailmem before you exit. Portable across every MCP client that surfaces prompts (Claude Code, Cursor, VS Code, Windsurf, ...). |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: store creates, edit updates, show retrieves full details, query searches, link manages edges, and welcome initializes sessions. No overlap in functionality.
All tools follow the consistent pattern 'trailmem_verb' (e.g., trailmem_edit, trailmem_link), using clear action verbs that directly indicate the tool's operation.
With 6 tools, the set is well-scoped for a memory management system, covering creation, retrieval, search, editing, relationship management, and session start without being overly numerous or insufficient.
Covers core CRUD, search, and edge management. Minor gap: no dedicated tool to list all memories or permanent deletion (only archiving), but the toolset is still largely complete for the domain.