Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_MODELNoA verified model name for the selected cloud or OpenAI-compatible provider.
GGUF_N_CTXNoContext size for the GGUF runtime (example: 8192).
LLM_BASE_URLNoBase URL for an openai_compatible local or remote server, e.g. http://127.0.0.1:1234/v1.
LLM_PROVIDERYesProvider selection: one of openai, openai_compatible, anthropic, gemini, ollama, or gguf (auto selects one valid provider at initialization).
OLLAMA_MODELNoThe loaded Ollama model to use.
STT_PROVIDERNoSpeech-to-text provider used when subtitles are unavailable (subtitle retrieval is preferred).
LLM_JSON_MODENoSet to true to enable structured JSON-mode requests (requires LLM_SUPPORTS_JSON_MODE=true).
STT_LANGUAGESNoComma-separated subtitle/STT language priority, e.g. vi,en.
GEMINI_API_KEYNoAPI key for the gemini provider.
LLM_MAX_TOKENSNoConfigures the output token reserve (default 1024).
OPENAI_API_KEYNoAPI key for the openai provider.
STT_MODEL_PATHNoPath to an existing local STT model; Vidsight does not download STT models automatically.
GGUF_MODEL_PATHNoPath to a local GGUF model file (GGUF does not download models).
LLM_ALLOW_CLOUDNoSet to true to allow remote AI endpoints; false blocks remote AI endpoints.
LLM_MAX_RETRIESNoMaximum number of retries after the first attempt within the timeout budget (default 3).
OLLAMA_BASE_URLNoBase URL for the Ollama native API, e.g. http://127.0.0.1:11434.
ANTHROPIC_API_KEYNoAPI key for the anthropic provider.
GGUF_N_GPU_LAYERSNoNumber of GPU layers for the GGUF runtime (example: 0).
MCP_MAX_CONCURRENTNoLimits simultaneous analysis in the MCP server (default 1).
VIDSIGHT_CACHE_DIRNoOverrides the cache directory (default ~/.cache/vidsight/).
LLM_SUPPORTS_IMAGESNoEnable only after verifying that the selected model supports images.
VIDSIGHT_CACHE_MAX_MBNoCache size limit in MB; 0 disables persistence (default 2048).
LLM_SUPPORTS_JSON_MODENoSet to true for a model with verified JSON support to request and validate structured output.
VIDSIGHT_CACHE_TTL_DAYSNoCache entry expiry in days (default 7).
VIDSIGHT_SCENE_THRESHOLDNoHistogram change threshold (0–1) for scene-change frame prioritization (default 0.3).
VIDSIGHT_ANALYZE_TIMEOUT_SECNoBounds analysis execution after the queue slot is acquired, including media, STT and AI (default 900).
VIDSIGHT_FRAME_DEDUP_THRESHOLDNoMean pixel difference threshold (0–1) for near-duplicate frame removal (default 0.01).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use source/warnings/timestamps to qualify conclusions. Raw timeline is not AI analysis.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
watch_video_overviewA

Summarize a YouTube video with original timestamps. Uses sampled frames/transcript when available; returns raw-timeline without AI if no valid provider is selected.

analyze_video_segmentA

Answer a question about a specified video time range. Set require_vision=true for visual claims. Reports missing or reduced evidence; never switches AI providers after errors.

ask_video_questionA

Answer a question using evidence across a YouTube video. Set require_vision=true when visual confirmation is required. Sampled evidence does not mean continuous viewing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation4/5

Each tool has a reasonably distinct scope: whole-video summary, time-range Q&A, and whole-video Q&A. The main overlap is between analyze_video_segment and ask_video_question, which both answer questions and differ only in evidence scope; the descriptions clarify this, but an agent could still pick ask_video_question for a segment query.

Naming Consistency5/5

All three names follow the same snake_case verb_noun pattern (watch/analyze/ask + video object) and consistently embed the video resource. Highly predictable and readable.

Tool Count3/5

Three tools is thin for a video analysis server, even a focused one. The set covers the main interaction modes but leaves little room for supporting operations such as transcript or metadata retrieval.

Completeness3/5

The core Q&A/summarization lifecycle is covered, but there are notable gaps: no way to fetch a raw transcript, get video metadata or chapters, or list available videos. Agents needing the underlying evidence or video discovery will hit a dead end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues