Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLAUDE_ENGRAM_MODELNoOllama model (optional — only for scout_search, convention checking)gemma3:12b
CLAUDE_ENGRAM_ARCHIVE_DAYSNoDays until inactive memories archive14
CLAUDE_ENGRAM_SCORER_TIMEOUTNoAllMiniLM server idle timeout (seconds)1800

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
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
claude_engram_statusB

Check Claude Engram health. Returns: status, model, memory stats.

session_startA

Load full context: memories, checkpoints, decisions, memory health. Auto-cleans duplicates. Hook auto-starts basic session, but this gives deep context.

session_endA

Optional. Shows session summary. All memories auto-save without this - just a nice recap.

pre_edit_checkB

Run BEFORE editing important files. Checks: past mistakes, loop risk, scope violations.

memoryC

Memory operations. Operations:

  • remember: Store a note (just content - category/relevance optional)

  • recall: Get all memories for project

  • forget: Clear project memories

  • search: Find by file/tags/query (file_path, tags, query, limit)

  • clusters: View grouped memories (cluster_id to expand)

  • cleanup: Dedupe/cluster/decay (dry_run, min_relevance, max_age_days)

  • consolidate: LLM-powered merge of related memories (tag, dry_run)

  • add_rule: Add permanent rule (content, reason) - never decays

  • list_rules: Get all rules for project

  • modify: Edit memory (memory_id, content, relevance, category)

  • delete: Remove single memory (memory_id)

  • batch_delete: Bulk delete by IDs (memory_ids) or by category. Rules/mistakes protected from category delete.

  • promote: Promote memory to rule (memory_id, reason)

  • recent: Get recent memories newest first (category, limit)

  • archive: Move old inactive memories to cold storage (dry_run to preview)

  • restore: Bring archived memory back to active (memory_id)

  • archive_search: Search archived memories (query, tags, limit)

  • archive_status: Show hot vs archived memory counts

  • hybrid_search: Semantic + keyword + scored search (query, file_path, tags, limit). Best retrieval.

  • embed_all: Generate AllMiniLM embeddings for all memories (enables hybrid_search)

workB

Work tracking. Operations:

  • log_mistake: Record error (description, file_path, how_to_avoid)

  • log_decision: Record choice (decision, reason, alternatives)

scopeA

Scope guard for multi-file tasks. Operations:

  • declare: Set task scope (task_description, in_scope_files, in_scope_patterns)

  • check: Verify file is in scope (file_path)

  • expand: Add files to scope (files_to_add, reason)

  • status: Get violations

  • clear: Reset scope

loopA

Loop detection to prevent death spirals. Operations:

  • record_edit: Log file edit (file_path, description)

  • record_test: Log test result (passed, error_message)

  • check: Check if safe to edit (file_path)

  • status: Get edit counts and warnings

  • reset: Clear all loop tracking for a fresh start

contextA

Context protection for long tasks. Operations:

  • checkpoint_save: Save task state (task_description, current_step, completed_steps, pending_steps, files_involved)

  • checkpoint_restore: Restore last checkpoint (task_id optional)

  • checkpoint_list: List saved checkpoints

  • verify_completion: Claim task done + verify (task, evidence, verification_steps)

  • instruction_add: Register critical instruction (instruction, reason, importance)

  • instruction_reinforce: Get instructions to remember

  • handoff_create: Create session handoff (handoff_summary, pending_steps, handoff_context_needed, handoff_warnings)

  • handoff_get: Retrieve latest handoff document

conventionB

Project conventions. Operations:

  • add: Store rule (project_path, rule, category, reason, examples, importance)

  • get: Get rules (project_path, category)

  • check: Check code/filename (project_path, code_or_filename)

  • remove: Remove convention by matching text (project_path, rule)

outputC

Output validation. Operations:

  • validate_code: Check for fake/silent failures (code, context)

  • validate_result: Check output for fakes (output, expected_format, should_contain, should_not_contain)

scout_searchB

Search codebase semantically. Returns findings with files, lines, connections.

scout_analyzeC

Analyze code with local LLM. Provide code and question.

file_summarizeC

Summarize file purpose. Modes: quick (pattern-based) or detailed (LLM).

deps_mapC

Map file dependencies. Shows imports and optionally reverse deps.

impact_analyzeC

Analyze change impact. Shows dependents, exports, risk level.

code_quality_checkC

Check code for AI slop: long functions, vague names, deep nesting.

code_pattern_checkC

Check code against stored conventions using LLM.

audit_batchC

Audit multiple files for issues. Supports glob patterns.

find_similar_issuesC

Search codebase for bug pattern (e.g., 'except:\s*pass').

session_mineA

Mine session history. Operations:

  • search: Search across past conversations (query, project_path, limit, method=hybrid|semantic|keyword)

  • decisions: Find when/why a decision was made (query, project_path)

  • replay: Find discussions about a file (file_path, project_path)

  • struggles: Files/areas with repeated difficulty (project_path)

  • errors: Recurring error patterns across sessions (project_path)

  • correlations: Files always edited together (project_path)

  • timeline: Project development timeline (project_path)

  • summaries: Auto-generated session summaries (project_path)

  • overview: High-level project stats (project_path)

  • status: Mining index coverage (project_path)

  • reindex: Trigger background re-indexing (project_path, mode=post_session|bootstrap|full)

  • predict: Predict context needed for a file edit (file_path, project_path)

  • cross_project: Patterns across all projects (no project_path needed)

  • reflect: LLM-powered analysis of mistakes, patterns, and decisions (project_path)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 21 tools

Disambiguation4/5

Most tools have distinct purposes, but there is some overlap between code_pattern_check, code_quality_check, and convention.check, which all analyze code against rules. Additionally, scout_search and find_similar_issues both search code for patterns, though they target different use cases. Descriptions help differentiate, but an agent might occasionally misselect.

Naming Consistency4/5

Tool names consistently use underscore_case with a verb_noun or noun_verb pattern (e.g., audit_batch, session_start, code_quality_check). However, a few names like claude_engram_status and find_similar_issues break the pattern slightly, and the nested operation prefixes (e.g., 'checkpoint_save' under 'context') could be more uniform.

Tool Count4/5

With 21 tools, the count is on the higher side but still reasonable for a comprehensive developer assistant server. Each tool serves a distinct purpose, and the inclusion of nested operations (e.g., under 'memory' and 'session_mine') keeps the top-level list manageable. A slight reduction could improve navigability.

Completeness4/5

The tool set covers a wide range of features: memory management, session/handoff handling, code analysis, conventions, scope, output validation, and work tracking. It lacks direct file I/O tools, but that is likely handled by other servers. Overall, the surface is comprehensive for a context and memory management server, with only minor gaps like a dedicated planning or task decomposition tool.

Maintenance

ActivityActive
ResponsivenessResponsive