Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoAPI key for summarize, hosted ASR, and server-side VLM use when applicable.
MEDIAVAULT_HOMENoDownload and cache root directory.~/MediaVault
OPENAI_BASE_URLNoOpenAI-compatible endpoint base URL; defaults to OpenAI when unset.
MEDIAVAULT_PROXYNoProxy URL for http(s)/socks4/socks5/socks5h; a bare host:port is assumed HTTP.
MEDIAVAULT_F2_BINNoOverride path to the optional f2 CLI.f2
MEDIAVAULT_LLM_MODELNoModel name for the optional server-side summarize fusion.
MEDIAVAULT_VLM_MODELNoModel name for the optional server-side VLM.
MEDIAVAULT_ASR_BACKENDNoSpeech-to-text backend: openai, local, or off.openai
MEDIAVAULT_COOKIES_FILENoPath to a Netscape cookies.txt file, validated before use.
MEDIAVAULT_KEYFRAME_MAXNoMaximum number of keyframes to extract.8
MEDIAVAULT_GALLERYDL_BINNoOverride path to the optional gallery-dl CLI.gallery-dl
MEDIAVAULT_WHISPER_MODELNoLocal faster-whisper model size.base
MEDIAVAULT_KEYFRAME_WIDTHNoDownscale width for extracted keyframes.768
MEDIAVAULT_WHISPER_DEVICENoLocal ASR device: cpu, mps, or cuda.cpu
MEDIAVAULT_COOKIES_BROWSERNoBrowser whose logged-in cookies should be reused, e.g. chrome or firefox.

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
parse_urlA

Extract every URL from pasted share text and return normalized media metadata (platform, author, caption, direct streams, no-watermark status). Does not download any bytes.

downloadB

Download native media for every URL in the pasted text.

quality: "compat" (default, <=1080p H.264 MP4), "quality" (highest source), or "speed" (smallest). Returns local file paths under MEDIAVAULT_HOME.

analyzeA

Collect video evidence WITHOUT any server-side API key, for this agent's own model to summarize. Returns one JSON text block (title, author, caption, timestamped transcript, pipeline status) followed by one image content block per extracted keyframe, so a vision-capable agent can see the frames directly. Local faster-whisper handles speech when configured; nothing is sent to a third-party model. Set with_media=false for caption/metadata only (no download). Results are cached per video: repeat calls return cached evidence (cached=true); set refresh=true to re-download and re-analyze. Use summarize instead only if you want the MCP server itself to produce the fused structured summary.

list_libraryA

List cached analyze/summary artifacts under MEDIAVAULT_HOME, newest discovery order, with canonical id, title and whether a fused summary is available. Re-run analyze with refresh=true to update an entry.

summarizeA

Submit an async multimodal summary job. Returns a job id; poll with get_job. With with_media=true (default) the video is downloaded at speed profile and analyzed through ASR transcript + keyframe VLM when those backends are configured; failures degrade honestly to caption-only. Set with_media=false for a metadata-only caption summary.

get_jobA

Return status and result of a summarize job (queued/running/succeeded/failed).

list_jobsB

List recent background jobs, newest first.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

Most tools are clearly separated by resource and action: parse_url only extracts metadata, download only fetches bytes, and get_job/list_jobs/list_library are distinct. The only fuzzy pair is analyze vs summarize, which both process a video but differ in who produces the summary; the descriptions call this out explicitly, so an agent can distinguish them.

Naming Consistency4/5

The set mostly uses a verb_noun pattern (parse_url, list_library, get_job, list_jobs) but mixes in bare verbs (download, analyze, summarize). It is still readable and intuitive, just not a single uniform convention.

Tool Count5/5

Seven tools is well-scoped for a media ingest/analyze/summarize server: metadata parsing, downloading, local evidence collection, server-side summarization, job polling/listing, and library listing. Each tool has a clear role without filler.

Completeness4/5

The core lifecycle is covered: parse, download, analyze, summarize, track jobs, and list cached artifacts. Minor gaps remain, such as no job cancellation, no deletion/cleanup of library entries, and no single-item library lookup, but these are workable omissions.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues