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.

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
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".

statusA

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}.

crawl_cancelA

Stop a running crawl started by crawl. Pages already saved are kept.

initA

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

Switches the MCP session to use it for subsequent calls.

removeA

Remove documents from the index by source name, folder, or glob pattern.

Source files are never deleted. A folder name removes every document indexed beneath it; a glob (*/?/[]) removes every matching source.

list_documentsA

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.

resetA

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

wiki_statusA

Show wiki layer status: page counts, recent lint issues.

Registered even when the wiki is disabled, like the HTTP status route, so a caller can read the disabled state instead of finding no tool at all.

wiki_wipeA

Delete every generated wiki page and its indexed rows. Pass confirm=true.

Registered even with the wiki disabled, because turning the setting off leaves the pages generated earlier in place.

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_setA

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_browseC

Browse the lilbee model catalog. task: chat/embedding/vision/rerank. size: small/medium/large/huge, by parameter count. 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_rmA

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_placementA

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_placementA

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