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.

Super Knowledge Base (SKB) — a local vector knowledge base. Each project may have a .skb/ folder with context documents. Use provision_skb to bootstrap a project, sync_skb to index it, then search_docs/search_code to query.

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
provision_skbA

Provision SKB into the current project.

Creates a local .skb/ folder, installs the project-local skb skill, writes .claude/CLAUDE-skb.md, and wires CLAUDE.md to import it.

Input:

  • project_dir (str, optional): path to the project root — defaults to the current working directory

  • force (bool, optional): if True, overwrite generated SKB files when they differ from the templates

sync_skbA

Scan the .skb/ folder in the project directory and ingest/update all files.

Call this at the start of a session or after adding new files to .skb/. Input: project_dir (str, optional — defaults to current working directory). Output: {project, files_added, files_updated, files_removed, total_chunks}

search_docsA

Search the project knowledge base for relevant documentation, design decisions, API references, and code examples.

Use this when the user asks about project architecture, conventions, or implementation details instead of asking them to provide files. Searches the .skb/ indexed documents semantically.

Input:

  • query: what to search for

  • n_results: how many results (default 5)

  • project: which project (defaults to current)

  • search_all_projects: set True to search across all indexed projects

search_codeA

Search the knowledge base for code examples and reference implementations.

Filters results to code file types only. Use when looking for code patterns, snippets, or implementation examples from .skb/.

Input:

  • query: what code to search for

  • language: optional filter (e.g., "python", "typescript")

  • n_results: how many results (default 5)

list_projectsA

List all indexed projects with document and chunk counts.

Shows every project that has been synced into the knowledge base.

list_documentsA

List all indexed files for a project with metadata.

Shows source paths, chunk counts, and last synced timestamps for all documents in a project's knowledge base.

Input: project (str, optional — defaults to current project)

remove_projectB

Remove all indexed data for a project.

Use when a project is archived or you want to clear its knowledge base.

Input: project (str) — name of the project to remove

reindex_projectA

Force a full reindex: delete all indexed data for a project and rebuild from scratch.

Use when the index is corrupted, embeddings need regenerating, or you want a clean slate without manually removing and re-syncing.

Input:

  • project (str, optional): project name — used to look up the directory from stored metadata

  • project_dir (str, optional): explicit path to project root — takes precedence over project name

  • If both are empty, defaults to the current working directory

export_skbA

Export .skb/ source files as a portable .tar.gz archive.

Creates a tar.gz containing all files from the project's .skb/ folder plus a manifest.json. The recipient can import this archive to recreate the .skb/ folder and rebuild the index.

Input:

  • project_dir (str, optional): path to project root — defaults to current working directory

  • output_path (str, optional): where to write the archive — defaults to <project_dir>/-skb-source.tar.gz

import_skbA

Import a source archive into a project's .skb/ folder.

Extracts a .tar.gz source archive (created by export_skb) into the target project's .skb/ folder and optionally rebuilds the index.

Input:

  • archive_path (str): path to the .tar.gz archive

  • project_dir (str, optional): target project root — defaults to current working directory

  • merge (bool, optional): if True (default), merge with existing files; if False, replace .skb/ entirely

  • run_sync (bool, optional): if True (default), rebuild the index after import

export_indexA

Export vector index as gzipped JSONL (.jsonl.gz).

Exports all ChromaDB chunks and embeddings for a project as a compressed JSONL file. Fast to import (no re-embedding needed), but requires the same embedding model.

Input:

  • project (str, optional): project name — defaults to current project

  • output_path (str, optional): where to write the archive — defaults to /-skb-index.jsonl.gz

import_indexA

Import a gzipped JSONL index archive into ChromaDB.

Imports pre-computed embeddings from a .jsonl.gz archive (created by export_index) directly into ChromaDB, bypassing the embedding step.

Input:

  • archive_path (str): path to the .jsonl.gz archive

  • project (str, optional): target project name — if empty, uses the project name from the archive header

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target distinct resources/actions, but there are a few near-overlaps: sync_skb vs reindex_project (both ingest; reindex does full rebuild), remove_project vs reindex_project (both delete data), and search_docs vs search_code (semantic search differing only by filter). Descriptions do a good job distinguishing them, so misselection is unlikely but possible.

Naming Consistency4/5

Names are consistently snake_case verb_noun (provision_skb, search_docs, list_projects, import_index), which is readable and predictable. Minor deviation: some tools use the '_skb' suffix for the resource while related ones use '_project'/'_index', and 'remove' vs 'reindex' verbs aren't fully parallel.

Tool Count5/5

12 tools is well within the sweet spot and each maps to a clear operation in the SKB lifecycle (setup, sync, search, list, remove, export/import). No tool feels redundant or gratuitous given the dual concern of source files and vector index.

Completeness4/5

Covers a thorough lifecycle: provision, sync, remove, full reindex, list projects/documents, search, and export/import for both source archives and vector indexes. Minor gap: no single-document fetch/inspect or partial update operation, but agents can work around via list_documents and search.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues