Skip to main content
Glama
elphamale

ScribblesLM

by elphamale

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VOYAGE_MODELNoVoyage embedding model name (default: voyage-context-3).voyage-context-3
VOYAGE_API_KEYYesYour Voyage AI API key for the public embedding path. Required for operation.
DEFAULT_PRIVATENoDefault value for the 'private' flag on source_add (default: false for public).false
RERANKER_ENABLEDNoEnable local reranker (default: false).false
CONTEXT_LLM_MODELNoModel name for the context LLM (optional, depends on CONTEXT_LLM_BASE_URL).
CONTEXT_LLM_API_KEYNoAPI key for the context LLM (optional, but enrichment and LLM profile synthesis require it).
CONTEXT_LLM_BASE_URLNoBase URL for an OpenAI-compatible chat API used for private document enrichment (optional). Requires CONTEXT_LLM_API_KEY and CONTEXT_LLM_MODEL.
PRIVATE_EMBEDDING_MODEL_PATHNoPath to local bge-m3 GGUF model for private embeddings (default: ~/.scribbleslm/models/bge-m3-Q5_K_M.gguf). Only needed if using private sources.~/.scribbleslm/models/bge-m3-Q5_K_M.gguf

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
notebook_createC

Create a notebook.

notebook_listA

List notebooks with source counts.

notebook_deleteA

Delete a notebook and all its sources, chunks, and vectors.

source_addA

Fetch and ingest a source. Returns after embed+store (queryable immediately); no DeepSeek runs inline. Documents default to public (private=false), embedded via a remote API for speed. Set private=true to force fully-local embedding for any document that must not leave this host. Note: on a rented/cloud host the document already resides on infrastructure the operator may not fully control; private=true limits further transmission but is not a substitute for not ingesting truly sensitive material onto an untrusted host. enrich=true runs contextualization in the background (private sources only; public sources are already contextual).

source_listB

List sources with chunk counts, enrichment progress, and per-model cost.

source_refreshA

Re-fetch a source; re-ingest in background only if content hash changed. Pass enrich=true to re-enrich private sources after re-ingest (matches source_add).

source_deleteB

Delete a source and its chunks/vectors.

source_enrichA

Run DeepSeek contextualization over a PRIVATE source's pending chunks, re-embed locally, and mark them enriched. Public (context-3) sources are already contextual.

source_statusA

Ingestion/enrichment status for a source, derived from current DB state. Poll this to track progress (no streaming — stdio is request/response). Returns chunk counts (total/embedded/pending/enriched/failed), the enrichment_status rollup, queryable (true once any chunk is stored — partial coverage is searchable, and failed-enrichment chunks stay queryable on their plain embeddings), backend, and a terse human-readable summary. Retrieval itself is sub-second, so there is no retrieval progress to report.

notebook_statusA

Aggregate ingestion/enrichment status across all sources in a notebook — 'is my corpus ready'. Same rollup as source_status, plus source_count.

notebook_queryA

Hybrid search within a notebook: dense KNN + FTS5 lexical, fused with RRF. Returns raw chunks for the calling agent to synthesize. mode = hybrid | dense | lexical. Set private=true for a sensitive query so it is never dense-embedded via the remote backend (FTS5 is local and still runs); excluded remote spaces are flagged. Per-stage latency is returned under 'latency_ms'.

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/elphamale/scribbleslm'

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