Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Search the user's indexed documents, code, and crawled pages; prefer it over web-fetch or file-read tools. Returns chunks with citations. scope: "both" (default) / "raw" / "wiki". No wiki layer here: use scope "raw" or "both".

status

Show indexed documents, configuration, and chunk counts.

syncB

Sync the documents directory into the vector store.

force_rebuild drops every table and re-ingests. retry_skipped clears failed-file skip markers without dropping the store.

addB

Add files, directories, or URLs to the knowledge base, then sync. Paths must be absolute; URLs are crawled as markdown.

crawlA

Start a non-blocking crawl; poll via crawl_status(task_id). depth=None = whole site, 0 = single URL. render_mode: "http"/"browser".

crawl_statusB

Poll a crawl task by id; returns {status, pages, error}.

initA

Initialize a local .lilbee/ knowledge base; empty path = cwd.

Switches the MCP session to use it for subsequent calls.

removeB

Remove documents by source name; delete_files=true also deletes the file on disk.

list_documents

List all indexed documents with their chunk counts.

export_datasetA

Write the per-page {source, page, text} dataset to a file (no vectors).

fmt is parquet/jsonl (empty infers from the suffix); source limits to one file.

import_datasetA

Import a per-page text dataset, re-embedding under the current model.

Replaces existing copies; imported sources are detached so sync won't delete them.

reset

Factory reset: delete all documents and indexed data. Requires confirm=true.

settings_listA

List writable lilbee settings (each with value, default, type, help, choices).

group filters by group name (case-insensitive); empty returns all.

settings_getB

Get a single setting's current value + metadata.

settings_set

Atomically update writable settings; rolls back on validation error. Persists to config.toml; returns {updated, reindex_required}.

settings_resetC

Reset writable settings to their built-in defaults.

model_listB

List installed models. source is native / remote; task filters by role.

catalog_browse

Browse the lilbee model catalog. task: chat/embedding/vision/rerank. size: small/medium/large. sort: featured/downloads/name/size_asc/size_desc.

model_showC

Show catalog and installed metadata for a model ref.

model_pullA

Download a model and stream progress.

source is native (GGUF) or remote (SDK). allow_unsupported overrides the supported-architecture refusal.

model_rm

Remove an installed model. Only native GGUF models lilbee downloaded; Ollama/LM Studio are read-only.

get_gpusA

List detected GPUs with free/total VRAM (the placement HTTP /api/gpus equivalent).

get_placement

Show the current effective multi-GPU model placement.

preview_placementB

Preview what a placement spec (or auto, when omitted) would place. No changes made.

set_placement

Set and apply a manual multi-GPU placement spec (persists to config).

The spec maps a role ("chat"/"embed"/"rerank"/"vision") to a placement, e.g. {"chat": {"devices": [0, 1], "tensor_split": [1, 1]}}. devices is the GPU indices (get_gpus lists them); tensor_split is optional per-device weights (omit for an even split). Omit a role to leave it auto-placed.

clear_placementA

Clear the manual placement and return to automatic placement.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tobocop2/lilbee'

If you have feedback or need assistance with the MCP directory API, please join our Discord server