Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANYTHINGLLM_API_KEYYesDeveloper API key sent via `Authorization: Bearer <key>`. Required.
ANYTHINGLLM_BASE_URLNoBase URL of AnythingLLM (`http://` or `https://`, credentials in URL rejected).http://localhost:3001
ANYTHINGLLM_TIMEOUT_MSNoOutbound HTTP request timeout in ms (`1000`–`300000`).30000
ANYTHINGLLM_ALLOWED_WORKSPACESNoComma-separated allowlist of workspace slugs. Enforced before any outbound HTTP call and filters `list_workspaces`. Setting it to "" fails closed (blocks all workspaces).

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_workspacesA

List workspaces available on the AnythingLLM instance (GET /api/v1/workspaces). When ANYTHINGLLM_ALLOWED_WORKSPACES is set, results are filtered strictly to the configured allowlist.

get_workspaceA

Fetch metadata, embedded documents, and threads for a workspace by slug (GET /api/v1/workspace/:slug).

chat_workspaceB

Execute a workspace RAG chat or strict vector-grounded query (POST /api/v1/workspace/:slug/chat). Supports chat, query, and automatic modes plus optional sessionId partitioning.

vector_search_workspaceA

Run raw vector similarity search against embedded chunks in a workspace without LLM generation (POST /api/v1/workspace/:slug/vector-search).

list_documentsA

List locally-stored documents in the AnythingLLM instance (GET /api/v1/documents). Pass optional folder (+ offset/limit) to fetch a single folder with server-side pagination.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation4/5

list_workspaces/get_workspace/list_documents are clearly distinct by resource and verb. chat_workspace and vector_search_workspace both target workspace content and could be momentarily confused, but the descriptions explicitly separate LLM-generated RAG chat from raw vector retrieval without generation.

Naming Consistency4/5

All names are snake_case with a verb-first pattern (list_workspaces, get_workspace, chat_workspace, list_documents). vector_search_workspace deviates slightly by embedding a noun phrase (vector_search) rather than a single verb, but it remains readable and predictable.

Tool Count4/5

Five tools is a tight, focused set covering the core workspace/chat/document interactions without redundancy. It sits at the thin end of the range but each tool earns its place for a RAG querying server.

Completeness3/5

The surface is read/query-heavy: agents can list, inspect, chat, and vector-search, but there is no way to create/update/delete workspaces, upload or remove documents, or manage threads despite get_workspace exposing thread data. These are notable gaps for a full lifecycle, though the core querying workflow is covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues