Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KB_CONFIGNoProject config path. Default: <repo_root>/kb.yaml.<repo_root>/kb.yaml
QDRANT_HOSTNoQdrant host. Default: localhost.localhost
KB_REPO_ROOTNoConsuming repo root. Default: auto-detected (kb.yaml walk-up).auto-detected
KB_EMBED_BACKENDNoEmbedding backend: fastembed or ollama. Default: fastembed.fastembed
KB_WORKTREE_SLUGNoCollection suffix override. Default: derived from repo root basename.derived from repo root basename
QDRANT_GRPC_PORTNoQdrant gRPC port. Default: 6334.6334
QDRANT_HTTP_PORTNoQdrant HTTP port. Default: 6333.6333
KB_FASTEMBED_MODELNoEmbedding model. Default: BAAI/bge-small-en-v1.5.BAAI/bge-small-en-v1.5

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
kb_searchA

Semantic search across indexed knowledge.

Args: query: Natural-language question or keyword phrase. source: Optional source name (see kb_list_sources) to filter results. If omitted, searches every configured collection. top_k: Maximum hits to return per collection.

kb_getA

Fetch the full text and payload of a chunk by id.

Args: id: The chunk id returned by kb_search. source: Optional source hint to scope which collection to look in. If omitted, every known collection is checked.

kb_list_sourcesA

List configured sources and the state of their Qdrant collections.

kb_reindexB

Re-run an indexer.

Args: source: Indexer name from kb_list_sources.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct operation: search, fetch-by-id, list sources, and reindex. There is no meaningful overlap; kb_search and kb_get are clearly separated by query-based retrieval versus direct ID lookup.

Naming Consistency5/5

All tools use the consistent kb_ prefix followed by a clear verb or verb-noun phrase: search, get, list_sources, reindex. The naming pattern is uniform and predictable.

Tool Count5/5

Four tools is compact but well-scoped for a knowledge base server covering retrieval, inspection, source listing, and maintenance. Each tool earns its place without unnecessary redundancy.

Completeness4/5

Core knowledge base operations are covered: search, fetch chunk content, list sources, and reindex. Minor gaps exist such as no delete/clear collection or detailed status beyond source listing, but these are not critical for the apparent purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues